@mavogel/cdk-vscode-server 0.0.123 → 0.0.124

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 (88) hide show
  1. package/.jsii +3 -3
  2. package/lib/idle-monitor/idle-monitor.js +1 -1
  3. package/lib/vscode-server.js +1 -1
  4. package/node_modules/node-html-parser/CHANGELOG.md +79 -0
  5. package/node_modules/node-html-parser/README.md +39 -39
  6. package/node_modules/node-html-parser/dist/index.cjs +5079 -0
  7. package/node_modules/node-html-parser/dist/index.d.ts +10 -10
  8. package/node_modules/node-html-parser/dist/index.mjs +5068 -0
  9. package/node_modules/node-html-parser/dist/index.umd.js +5083 -0
  10. package/node_modules/node-html-parser/dist/matcher.d.ts +22 -6
  11. package/node_modules/node-html-parser/dist/nodes/comment.d.ts +1 -1
  12. package/node_modules/node-html-parser/dist/nodes/html.d.ts +2 -2
  13. package/node_modules/node-html-parser/dist/nodes/node.d.ts +2 -2
  14. package/node_modules/node-html-parser/dist/nodes/text.d.ts +1 -1
  15. package/node_modules/node-html-parser/dist/valid.d.ts +1 -1
  16. package/node_modules/node-html-parser/node_modules/entities/LICENSE +11 -0
  17. package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.d.ts +28 -0
  18. package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  19. package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.js +61 -0
  20. package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  21. package/node_modules/node-html-parser/node_modules/entities/dist/decode.d.ts +227 -0
  22. package/node_modules/node-html-parser/node_modules/entities/dist/decode.d.ts.map +1 -0
  23. package/node_modules/node-html-parser/node_modules/entities/dist/decode.js +1132 -0
  24. package/node_modules/node-html-parser/node_modules/entities/dist/decode.js.map +1 -0
  25. package/node_modules/node-html-parser/node_modules/entities/dist/encode.d.ts +26 -0
  26. package/node_modules/node-html-parser/node_modules/entities/dist/encode.d.ts.map +1 -0
  27. package/node_modules/node-html-parser/node_modules/entities/dist/encode.js +295 -0
  28. package/node_modules/node-html-parser/node_modules/entities/dist/encode.js.map +1 -0
  29. package/node_modules/node-html-parser/node_modules/entities/dist/escape.d.ts +60 -0
  30. package/node_modules/node-html-parser/node_modules/entities/dist/escape.d.ts.map +1 -0
  31. package/node_modules/node-html-parser/node_modules/entities/dist/escape.js +172 -0
  32. package/node_modules/node-html-parser/node_modules/entities/dist/escape.js.map +1 -0
  33. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  34. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  35. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  36. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  37. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  38. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  39. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.js +7 -0
  40. package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  41. package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.d.ts +3 -0
  42. package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  43. package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.js +3 -0
  44. package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  45. package/node_modules/node-html-parser/node_modules/entities/dist/index.d.ts +89 -0
  46. package/node_modules/node-html-parser/node_modules/entities/dist/index.d.ts.map +1 -0
  47. package/node_modules/node-html-parser/node_modules/entities/dist/index.js +87 -0
  48. package/node_modules/node-html-parser/node_modules/entities/dist/index.js.map +1 -0
  49. package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.d.ts +48 -0
  50. package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  51. package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.js +49 -0
  52. package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  53. package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.d.ts +38 -0
  54. package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  55. package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.js +195 -0
  56. package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  57. package/node_modules/node-html-parser/node_modules/entities/package.json +83 -0
  58. package/node_modules/node-html-parser/node_modules/entities/readme.md +131 -0
  59. package/node_modules/node-html-parser/node_modules/entities/src/decode-codepoint.ts +69 -0
  60. package/node_modules/node-html-parser/node_modules/entities/src/decode.ts +1368 -0
  61. package/node_modules/node-html-parser/node_modules/entities/src/encode.ts +337 -0
  62. package/node_modules/node-html-parser/node_modules/entities/src/escape.ts +187 -0
  63. package/node_modules/node-html-parser/node_modules/entities/src/generated/decode-data-html.ts +12 -0
  64. package/node_modules/node-html-parser/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
  65. package/node_modules/node-html-parser/node_modules/entities/src/generated/encode-html.ts +3 -0
  66. package/node_modules/node-html-parser/node_modules/entities/src/index.ts +160 -0
  67. package/node_modules/node-html-parser/node_modules/entities/src/internal/bin-trie-flags.ts +47 -0
  68. package/node_modules/node-html-parser/node_modules/entities/src/internal/decode-shared.ts +209 -0
  69. package/node_modules/node-html-parser/package.json +35 -30
  70. package/package.json +3 -3
  71. package/node_modules/he/LICENSE-MIT.txt +0 -20
  72. package/node_modules/he/README.md +0 -379
  73. package/node_modules/he/bin/he +0 -148
  74. package/node_modules/he/he.js +0 -345
  75. package/node_modules/he/man/he.1 +0 -78
  76. package/node_modules/he/package.json +0 -58
  77. package/node_modules/node-html-parser/dist/back.js +0 -6
  78. package/node_modules/node-html-parser/dist/index.js +0 -31
  79. package/node_modules/node-html-parser/dist/main.js +0 -1804
  80. package/node_modules/node-html-parser/dist/matcher.js +0 -106
  81. package/node_modules/node-html-parser/dist/nodes/comment.js +0 -33
  82. package/node_modules/node-html-parser/dist/nodes/html.js +0 -1186
  83. package/node_modules/node-html-parser/dist/nodes/node.js +0 -41
  84. package/node_modules/node-html-parser/dist/nodes/text.js +0 -105
  85. package/node_modules/node-html-parser/dist/nodes/type.js +0 -9
  86. package/node_modules/node-html-parser/dist/parse.js +0 -5
  87. package/node_modules/node-html-parser/dist/valid.js +0 -12
  88. package/node_modules/node-html-parser/dist/void-tag.js +0 -27
@@ -1,106 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const type_1 = __importDefault(require("./nodes/type"));
7
- function isTag(node) {
8
- return node && node.nodeType === type_1.default.ELEMENT_NODE;
9
- }
10
- function getAttributeValue(elem, name) {
11
- return isTag(elem) ? elem.getAttribute(name) : undefined;
12
- }
13
- function getName(elem) {
14
- return ((elem && elem.rawTagName) || '').toLowerCase();
15
- }
16
- function getChildren(node) {
17
- return node && node.childNodes;
18
- }
19
- function getParent(node) {
20
- return node ? node.parentNode : null;
21
- }
22
- function getText(node) {
23
- return node.text;
24
- }
25
- function removeSubsets(nodes) {
26
- let idx = nodes.length;
27
- let node;
28
- let ancestor;
29
- let replace;
30
- // Check if each node (or one of its ancestors) is already contained in the
31
- // array.
32
- while (--idx > -1) {
33
- node = ancestor = nodes[idx];
34
- // Temporarily remove the node under consideration
35
- nodes[idx] = null;
36
- replace = true;
37
- while (ancestor) {
38
- if (nodes.indexOf(ancestor) > -1) {
39
- replace = false;
40
- nodes.splice(idx, 1);
41
- break;
42
- }
43
- ancestor = getParent(ancestor);
44
- }
45
- // If the node has been found to be unique, re-insert it.
46
- if (replace) {
47
- nodes[idx] = node;
48
- }
49
- }
50
- return nodes;
51
- }
52
- function existsOne(test, elems) {
53
- return elems.some((elem) => {
54
- return isTag(elem) ? test(elem) || existsOne(test, getChildren(elem)) : false;
55
- });
56
- }
57
- function getSiblings(node) {
58
- const parent = getParent(node);
59
- return parent ? getChildren(parent) : [];
60
- }
61
- function hasAttrib(elem, name) {
62
- return getAttributeValue(elem, name) !== undefined;
63
- }
64
- function findOne(test, elems) {
65
- let elem = null;
66
- for (let i = 0, l = elems === null || elems === void 0 ? void 0 : elems.length; i < l && !elem; i++) {
67
- const el = elems[i];
68
- if (test(el)) {
69
- elem = el;
70
- }
71
- else {
72
- const childs = getChildren(el);
73
- if (childs && childs.length > 0) {
74
- elem = findOne(test, childs);
75
- }
76
- }
77
- }
78
- return elem;
79
- }
80
- function findAll(test, nodes) {
81
- let result = [];
82
- for (let i = 0, j = nodes.length; i < j; i++) {
83
- if (!isTag(nodes[i]))
84
- continue;
85
- if (test(nodes[i]))
86
- result.push(nodes[i]);
87
- const childs = getChildren(nodes[i]);
88
- if (childs)
89
- result = result.concat(findAll(test, childs));
90
- }
91
- return result;
92
- }
93
- exports.default = {
94
- isTag,
95
- getAttributeValue,
96
- getName,
97
- getChildren,
98
- getParent,
99
- getText,
100
- removeSubsets,
101
- existsOne,
102
- getSiblings,
103
- hasAttrib,
104
- findOne,
105
- findAll
106
- };
@@ -1,33 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const node_1 = __importDefault(require("./node"));
7
- const type_1 = __importDefault(require("./type"));
8
- class CommentNode extends node_1.default {
9
- clone() {
10
- return new CommentNode(this.rawText, null, undefined, this.rawTagName);
11
- }
12
- constructor(rawText, parentNode = null, range, rawTagName = '!--') {
13
- super(parentNode, range);
14
- this.rawText = rawText;
15
- this.rawTagName = rawTagName;
16
- /**
17
- * Node Type declaration.
18
- * @type {Number}
19
- */
20
- this.nodeType = type_1.default.COMMENT_NODE;
21
- }
22
- /**
23
- * Get unescaped text value of current node and its children.
24
- * @return {string} text content
25
- */
26
- get text() {
27
- return this.rawText;
28
- }
29
- toString() {
30
- return `<!--${this.rawText}-->`;
31
- }
32
- }
33
- exports.default = CommentNode;