@khanacademy/simple-markdown 0.13.6 → 0.13.7

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.6";
5
+ const libVersion = "0.13.7";
6
6
  addLibraryVersionToPerseusDebug(libName, libVersion);
7
7
 
8
8
  /* eslint-disable prefer-spread, no-regex-spaces, guard-for-in, no-console, no-var */
@@ -291,7 +291,7 @@ var sanitizeUrl = function sanitizeUrl(url) {
291
291
  if (prot.indexOf("javascript:") === 0 || prot.indexOf("vbscript:") === 0 || prot.indexOf("data:") === 0) {
292
292
  return null;
293
293
  }
294
- } catch (e) {
294
+ } catch (_unused) {
295
295
  // invalid URLs should throw a TypeError
296
296
  // see for instance: `new URL("");`
297
297
  return null;