diff --git a/extensions/base.ts b/extensions/base.ts index 85dae68b..cb6e1d4d 100644 --- a/extensions/base.ts +++ b/extensions/base.ts @@ -4,7 +4,7 @@ declare type WorkerListener = (e: {data: [number, T, string]}) => void; /** web worker */ const workerJS = (): void => { - importScripts('https://testingcf.jsdelivr.net/npm/wikiparser-node@1.11.1-b/bundle/bundle.min.js'); + importScripts('https://testingcf.jsdelivr.net/gh/bhsd-harry/wikiparser-node@1.12.0-b/bundle/bundle.min.js'); const entities = {'&': 'amp', '<': 'lt', '>': 'gt'}; /** @implements */ diff --git a/extensions/dist/base.js b/extensions/dist/base.js index 73227c51..63eb11c8 100644 --- a/extensions/dist/base.js +++ b/extensions/dist/base.js @@ -1,6 +1,6 @@ (() => { const workerJS = () => { - importScripts('https://testingcf.jsdelivr.net/npm/wikiparser-node@1.11.1-b/bundle/bundle.min.js'); + importScripts('https://testingcf.jsdelivr.net/gh/bhsd-harry/wikiparser-node@1.12.0-b/bundle/bundle.min.js'); const entities = { '&': 'amp', '<': 'lt', '>': 'gt' }; self.onmessage = ({ data }) => { const [command, qid, wikitext, include, stage] = data;