websequencediagrams 5.0.0 → 6.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.
Files changed (2) hide show
  1. package/lib/wsd.js +0 -2
  2. package/package.json +2 -12
package/lib/wsd.js CHANGED
@@ -66,7 +66,6 @@ class WSD {
66
66
  });
67
67
 
68
68
  const u = new URL('index.php', root);
69
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
70
69
  const res = await fetch(u, {
71
70
  method: 'POST',
72
71
  body: query,
@@ -105,7 +104,6 @@ class WSD {
105
104
  // eslint-disable-next-line max-params
106
105
  static async diagram(description, style, format, apikey, root) {
107
106
  const u = await WSD.diagramURL(description, style, format, apikey, root);
108
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
109
107
  const res = await fetch(u);
110
108
  const ct = res.headers.get('content-type') ?? 'text/plain';
111
109
  const buf = await res.arrayBuffer();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "websequencediagrams",
3
3
  "description": "Interface to websequencediagrams.com",
4
- "version": "5.0.0",
4
+ "version": "6.0.0",
5
5
  "author": "Joe Hildebrand <joe-github@cursive.net>",
6
6
  "contributors": [
7
7
  "Ed Crump <ed.crump@gmail.com> (https://github.com/icedawn)",
@@ -29,17 +29,7 @@
29
29
  "dependencies": {
30
30
  "yargs": "^17.7.2"
31
31
  },
32
- "pnpm": {
33
- "overrides": {
34
- "micromatch": "^4.0.8",
35
- "cross-spawn": "^7.0.6"
36
- }
37
- },
38
- "overrides": {
39
- "micromatch": "^4.0.8",
40
- "cross-spawn": "^7.0.6"
41
- },
42
32
  "engines": {
43
- "node": ">=18.8"
33
+ "node": ">=20"
44
34
  }
45
35
  }