ep_headings2 0.2.64 → 0.2.66

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "Adds heading support to Etherpad Lite. Includes improved suppot for export, i18n etc.",
3
3
  "name": "ep_headings2",
4
- "version": "0.2.64",
4
+ "version": "0.2.66",
5
5
  "author": {
6
6
  "name": "John McLear",
7
7
  "email": "john@mclear.co.uk"
@@ -27,20 +27,20 @@
27
27
  "plugin"
28
28
  ],
29
29
  "engines": {
30
- "node": ">=18.0.0"
30
+ "node": ">=20.0.0"
31
31
  },
32
- "homepage": "https://github.com/ether/ep_headings2#readme",
32
+ "homepage": "https://github.com/ether/ether-plugins/tree/main/ep_headings2#readme",
33
33
  "bugs": {
34
- "url": "https://github.com/ether/ep_headings2/issues"
34
+ "url": "https://github.com/ether/ether-plugins/issues"
35
35
  },
36
36
  "devDependencies": {
37
- "eslint": "^8.57.0",
37
+ "eslint": "^9.24.0",
38
38
  "eslint-config-etherpad": "^4.0.4",
39
- "typescript": "^5.4.2"
39
+ "typescript": "^5.4.3"
40
40
  },
41
41
  "repository": {
42
42
  "type": "git",
43
- "url": "https://github.com/ether/ep_headings2.git"
43
+ "url": "https://github.com/ether/ether-plugins.git"
44
44
  },
45
45
  "funding": {
46
46
  "type": "individual",
@@ -1,8 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const common = require('ep_etherpad-lite/tests/backend/common');
4
- const randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
5
- import {generateJWTToken, generateJWTTokenUser} from "ep_etherpad-lite/tests/backend/common";
3
+ import {init} from "ep_etherpad-lite/tests/backend/common";
4
+
5
+ import {randomString} from 'ep_etherpad-lite/static/js/pad_utils'
6
+ import {generateJWTToken} from "ep_etherpad-lite/tests/backend/common";
6
7
 
7
8
  let agent;
8
9
  const apiVersion = 1;
@@ -35,7 +36,7 @@ describe('ep_headings2 - export headings to HTML', function () {
35
36
  let padID;
36
37
  let html;
37
38
 
38
- before(async function () { agent = await common.init(); });
39
+ before(async function () { agent = await init(); });
39
40
 
40
41
  // create a new pad before each test run
41
42
  beforeEach(function (done) {