@bhsd/codemirror-mediawiki 2.25.1 → 2.25.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/linter.mjs CHANGED
@@ -51,7 +51,7 @@ ${sanitizeInlineStyle(childNodes[1].childNodes[0].data).replace(/\n/gu, " ")}
51
51
  };
52
52
  const getJsLinter = async () => {
53
53
  var _a;
54
- await loadScript("npm/eslint-linter-browserify@8.57.0/linter.min.js", "eslint", true);
54
+ await loadScript("npm/@bhsd/eslint-browserify", "eslint");
55
55
  const esLinter = new eslint.Linter(), conf = {
56
56
  env: { browser: true, es2024: true },
57
57
  parserOptions: { ecmaVersion: 15, sourceType: "module" }
@@ -103,7 +103,7 @@ const getCssLinter = async () => {
103
103
  return linter;
104
104
  };
105
105
  const getLuaLinter = async () => {
106
- await loadScript("npm/luacheck-browserify/dist/index.min.js", "luacheck");
106
+ await loadScript("npm/luacheck-browserify", "luacheck");
107
107
  const luachecker = await luacheck(void 0);
108
108
  return async (text) => (await luachecker.queue(text)).filter(({ severity }) => severity);
109
109
  };