@khanacademy/simple-markdown 0.13.3 → 0.13.5

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 CHANGED
@@ -2,7 +2,7 @@ import { addLibraryVersionToPerseusDebug } from '@khanacademy/perseus-core';
2
2
 
3
3
  // This file is processed by a Rollup plugin (replace) to inject the production
4
4
  const libName = "@khanacademy/simple-markdown";
5
- const libVersion = "0.13.3";
5
+ const libVersion = "0.13.5";
6
6
  addLibraryVersionToPerseusDebug(libName, libVersion);
7
7
 
8
8
  /* eslint-disable prefer-spread, no-regex-spaces, @typescript-eslint/no-unused-vars, guard-for-in, no-console, no-var */
@@ -1397,12 +1397,14 @@ var SimpleMarkdown = {
1397
1397
  if (typeof console !== "undefined") {
1398
1398
  console.warn("defaultParse is deprecated, please use `defaultImplicitParse`");
1399
1399
  }
1400
+ // @ts-expect-error - Argument of type 'any[]' is not assignable to parameter of type '[node: ASTNode, state?: State | null | undefined]'. Target requires 1 element(s) but source may have fewer.
1400
1401
  return defaultImplicitParse.apply(null, args);
1401
1402
  },
1402
1403
  defaultOutput: function (...args) {
1403
1404
  if (typeof console !== "undefined") {
1404
1405
  console.warn("defaultOutput is deprecated, please use `defaultReactOutput`");
1405
1406
  }
1407
+ // @ts-expect-error - Argument of type 'any[]' is not assignable to parameter of type '[node: ASTNode, state?: State | null | undefined]'. Target requires 1 element(s) but source may have fewer.
1406
1408
  return defaultReactOutput.apply(null, args);
1407
1409
  }
1408
1410
  };