@bhsd/codemirror-mediawiki 2.31.0 → 3.0.0

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.
@@ -3,5 +3,5 @@ import type { Config, MatchResult } from '@codemirror/language';
3
3
  import type { SyntaxNode } from '@lezer/common';
4
4
  export declare const findEnclosingBrackets: (node: SyntaxNode, pos: number, brackets: string) => MatchResult | undefined;
5
5
  export declare const findEnclosingPlainBrackets: (state: EditorState, pos: number, config: Required<Config>) => MatchResult | null;
6
- declare const _default: (configs: Config) => Extension;
6
+ declare const _default: (configs?: Config) => Extension;
7
7
  export default _default;
package/dist/matchTag.js CHANGED
@@ -109,8 +109,8 @@ export const matchTag = (state, pos) => {
109
109
  const end = searchTag(state, start);
110
110
  return end ? { matched: true, start, end } : { matched: false, start };
111
111
  };
112
- const matchingMark = Decoration.mark({ class: 'cm-matchingTag' }), nonmatchingMark = Decoration.mark({ class: 'cm-nonmatchingTag' });
113
- export default StateField.define({
112
+ const matchingMark = /* @__PURE__ */ Decoration.mark({ class: 'cm-matchingTag' }), nonmatchingMark = /* @__PURE__ */ Decoration.mark({ class: 'cm-nonmatchingTag' });
113
+ export default /* @__PURE__ */ StateField.define({
114
114
  create() {
115
115
  return Decoration.none;
116
116
  },