wikiplus-highlight 3.0.1 → 3.0.2

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/README.md CHANGED
@@ -12,13 +12,13 @@
12
12
  在*个人 JS 页*添加以下代码:
13
13
 
14
14
  ```javascript
15
- mw.loader.load('//cdn.jsdelivr.net/npm/wikiplus-highlight@3.0.1');
15
+ mw.loader.load('//cdn.jsdelivr.net/npm/wikiplus-highlight@3.0.2');
16
16
  ```
17
17
 
18
18
 
19
19
 
20
20
  ```javascript
21
- mw.loader.load('//unpkg.com/wikiplus-highlight@3.0.1/dist/main.js');
21
+ mw.loader.load('//unpkg.com/wikiplus-highlight@3.0.2/dist/main.js');
22
22
  ```
23
23
 
24
24
  ### 稳定版本
package/dist/main.js CHANGED
@@ -8,10 +8,10 @@
8
8
  if ('wphl' in mw.libs) {
9
9
  return;
10
10
  }
11
- const version = '3.0.1';
11
+ const version = '3.0.2';
12
12
  mw.libs['wphl'] = { version }; // 开始加载
13
13
  // 路径
14
- const CDN = '//testingcf.jsdelivr.net', MW_CDN = 'npm/@bhsd/codemirror-mediawiki@2.4.4/dist/mw.min.js', REPO_CDN = 'npm/wikiplus-highlight';
14
+ const CDN = '//testingcf.jsdelivr.net', MW_CDN = 'npm/@bhsd/codemirror-mediawiki@2.4.5/dist/mw.min.js', REPO_CDN = 'npm/wikiplus-highlight';
15
15
  const { wgPageName: page, wgNamespaceNumber: ns, wgPageContentModel: contentmodel, } = mw.config.get();
16
16
  const CONTENTMODEL = {
17
17
  'sanitized-css': 'css',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wikiplus-highlight",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "A plugin for the MediaWiki front-end add-on \"Wikiplus\"",
5
5
  "keywords": [
6
6
  "mediawiki",