@khanacademy/perseus-linter 0.3.4 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @khanacademy/perseus-linter
2
2
 
3
+ ## 0.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [22a9c408]
8
+ - @khanacademy/perseus-core@1.1.2
9
+ - @khanacademy/perseus-error@0.2.5
10
+
11
+ ## 0.3.5
12
+
13
+ ### Patch Changes
14
+
15
+ - 55d4cd00: Print package name and version when loaded in the page
16
+ - Updated dependencies [55d4cd00]
17
+ - @khanacademy/perseus-core@1.1.1
18
+ - @khanacademy/perseus-error@0.2.4
19
+
3
20
  ## 0.3.4
4
21
 
5
22
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { PerseusError, Errors } from '@khanacademy/perseus-error';
2
+ import { addLibraryVersionToPerseusDebug } from '@khanacademy/perseus-core';
2
3
  import PropTypes from 'prop-types';
3
4
 
4
5
  function _extends() {
@@ -1749,6 +1750,11 @@ class Stack {
1749
1750
  }
1750
1751
  }
1751
1752
 
1753
+ // This file is processed by a Rollup plugin (replace) to inject the production
1754
+ const libName = "@khanacademy/perseus-linter";
1755
+ const libVersion = "0.3.6";
1756
+ addLibraryVersionToPerseusDebug(libName, libVersion);
1757
+
1752
1758
  // Define the shape of the linter context object that is passed through the
1753
1759
  const linterContextProps = PropTypes.shape({
1754
1760
  contentType: PropTypes.string,
@@ -2017,5 +2023,5 @@ function pushContextStack(context, name) {
2017
2023
  });
2018
2024
  }
2019
2025
 
2020
- export { Rule, linterContextDefault, linterContextProps, pushContextStack, allLintRules as rules, runLinter };
2026
+ export { Rule, libVersion, linterContextDefault, linterContextProps, pushContextStack, allLintRules as rules, runLinter };
2021
2027
  //# sourceMappingURL=index.js.map