@mavogel/cdk-vscode-server 0.0.123 → 0.0.125
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/.jsii +3 -3
- package/lib/idle-monitor/idle-monitor.js +1 -1
- package/lib/vscode-server.js +1 -1
- package/mavogelcdkvscodeserver/go.mod +1 -1
- package/node_modules/node-html-parser/CHANGELOG.md +79 -0
- package/node_modules/node-html-parser/README.md +39 -39
- package/node_modules/node-html-parser/dist/index.cjs +5079 -0
- package/node_modules/node-html-parser/dist/index.d.ts +10 -10
- package/node_modules/node-html-parser/dist/index.mjs +5068 -0
- package/node_modules/node-html-parser/dist/index.umd.js +5083 -0
- package/node_modules/node-html-parser/dist/matcher.d.ts +22 -6
- package/node_modules/node-html-parser/dist/nodes/comment.d.ts +1 -1
- package/node_modules/node-html-parser/dist/nodes/html.d.ts +2 -2
- package/node_modules/node-html-parser/dist/nodes/node.d.ts +2 -2
- package/node_modules/node-html-parser/dist/nodes/text.d.ts +1 -1
- package/node_modules/node-html-parser/dist/valid.d.ts +1 -1
- package/node_modules/node-html-parser/node_modules/entities/LICENSE +11 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.d.ts +28 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.js +61 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode-codepoint.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode.d.ts +227 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode.js +1132 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/decode.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/encode.d.ts +26 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/encode.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/encode.js +295 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/encode.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/escape.d.ts +60 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/escape.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/escape.js +172 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/escape.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.js +5 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.js +7 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.d.ts +3 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.js +3 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/generated/encode-html.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/index.d.ts +89 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/index.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/index.js +87 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/index.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.d.ts +48 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.js +49 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.d.ts +38 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.js +195 -0
- package/node_modules/node-html-parser/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
- package/node_modules/node-html-parser/node_modules/entities/package.json +83 -0
- package/node_modules/node-html-parser/node_modules/entities/readme.md +131 -0
- package/node_modules/node-html-parser/node_modules/entities/src/decode-codepoint.ts +69 -0
- package/node_modules/node-html-parser/node_modules/entities/src/decode.ts +1368 -0
- package/node_modules/node-html-parser/node_modules/entities/src/encode.ts +337 -0
- package/node_modules/node-html-parser/node_modules/entities/src/escape.ts +187 -0
- package/node_modules/node-html-parser/node_modules/entities/src/generated/decode-data-html.ts +12 -0
- package/node_modules/node-html-parser/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
- package/node_modules/node-html-parser/node_modules/entities/src/generated/encode-html.ts +3 -0
- package/node_modules/node-html-parser/node_modules/entities/src/index.ts +160 -0
- package/node_modules/node-html-parser/node_modules/entities/src/internal/bin-trie-flags.ts +47 -0
- package/node_modules/node-html-parser/node_modules/entities/src/internal/decode-shared.ts +209 -0
- package/node_modules/node-html-parser/package.json +35 -30
- package/package.json +3 -3
- package/renovate.json5 +1 -0
- package/scripts/sync-agent-assets.mjs +5 -1
- package/node_modules/he/LICENSE-MIT.txt +0 -20
- package/node_modules/he/README.md +0 -379
- package/node_modules/he/bin/he +0 -148
- package/node_modules/he/he.js +0 -345
- package/node_modules/he/man/he.1 +0 -78
- package/node_modules/he/package.json +0 -58
- package/node_modules/node-html-parser/dist/back.js +0 -6
- package/node_modules/node-html-parser/dist/index.js +0 -31
- package/node_modules/node-html-parser/dist/main.js +0 -1804
- package/node_modules/node-html-parser/dist/matcher.js +0 -106
- package/node_modules/node-html-parser/dist/nodes/comment.js +0 -33
- package/node_modules/node-html-parser/dist/nodes/html.js +0 -1186
- package/node_modules/node-html-parser/dist/nodes/node.js +0 -41
- package/node_modules/node-html-parser/dist/nodes/text.js +0 -105
- package/node_modules/node-html-parser/dist/nodes/type.js +0 -9
- package/node_modules/node-html-parser/dist/parse.js +0 -5
- package/node_modules/node-html-parser/dist/valid.js +0 -12
- package/node_modules/node-html-parser/dist/void-tag.js +0 -27
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"bundled": {
|
|
11
|
-
"node-html-parser": "^
|
|
11
|
+
"node-html-parser": "^9.0.0"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@mavogel/mvc-projen": "^0.0.50",
|
|
@@ -10699,6 +10699,6 @@
|
|
|
10699
10699
|
"symbolId": "src/vscode-server:VSCodeServerProps"
|
|
10700
10700
|
}
|
|
10701
10701
|
},
|
|
10702
|
-
"version": "0.0.
|
|
10703
|
-
"fingerprint": "
|
|
10702
|
+
"version": "0.0.125",
|
|
10703
|
+
"fingerprint": "tXAN+fScymx3nlU5xlKA42vuEsxdRm3VyuQRgUp5wto="
|
|
10704
10704
|
}
|
|
@@ -46,7 +46,7 @@ const constructs_1 = require("constructs");
|
|
|
46
46
|
* Construct that monitors CloudFront request metrics and stops the EC2 instance when idle
|
|
47
47
|
*/
|
|
48
48
|
class IdleMonitor extends constructs_1.Construct {
|
|
49
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.IdleMonitor", version: "0.0.
|
|
49
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.IdleMonitor", version: "0.0.125" };
|
|
50
50
|
/**
|
|
51
51
|
* The Lambda function that performs idle monitoring
|
|
52
52
|
*/
|
package/lib/vscode-server.js
CHANGED
|
@@ -92,7 +92,7 @@ var LinuxArchitectureType;
|
|
|
92
92
|
* VSCodeServer - spin it up in under 10 minutes
|
|
93
93
|
*/
|
|
94
94
|
class VSCodeServer extends constructs_1.Construct {
|
|
95
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.VSCodeServer", version: "0.0.
|
|
95
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/cdk-vscode-server.VSCodeServer", version: "0.0.125" };
|
|
96
96
|
/**
|
|
97
97
|
* The name of the domain the server is reachable
|
|
98
98
|
*/
|
|
@@ -4,7 +4,7 @@ go 1.23
|
|
|
4
4
|
|
|
5
5
|
require (
|
|
6
6
|
github.com/aws/jsii-runtime-go v1.134.0
|
|
7
|
-
github.com/MV-Consulting/mvc-projen/mavogelmvcprojen v0.0.
|
|
7
|
+
github.com/MV-Consulting/mvc-projen/mavogelmvcprojen v0.0.51
|
|
8
8
|
github.com/aws/aws-cdk-go/awscdk/v2 v2.258.1
|
|
9
9
|
github.com/cdklabs/cdk-nag-go/cdknag/v2 v2.38.2
|
|
10
10
|
github.com/aws/constructs-go/constructs/v10 v10.6.0
|
|
@@ -2,6 +2,85 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [9.0.4](https://github.com/taoqf/node-fast-html-parser/compare/v9.0.3...v9.0.4) (2026-09-07)
|
|
6
|
+
|
|
7
|
+
### [9.0.3](https://github.com/taoqf/node-fast-html-parser/compare/v9.0.2...v9.0.3) (2026-09-03)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* encode special characters in HTMLElement textContent setter ([48eb649](https://github.com/taoqf/node-fast-html-parser/commit/48eb649d10816ad85f45723ea452f888a87a3649))
|
|
13
|
+
* keep attributes whose name starts with an underscore ([3aff8be](https://github.com/taoqf/node-fast-html-parser/commit/3aff8bec8c54ec202e632ac8def875338b051983)), closes [#129](https://github.com/taoqf/node-fast-html-parser/issues/129) [#129](https://github.com/taoqf/node-fast-html-parser/issues/129) [#206](https://github.com/taoqf/node-fast-html-parser/issues/206)
|
|
14
|
+
* stop appending a stray '<' to unterminated block-text elements ([48300fe](https://github.com/taoqf/node-fast-html-parser/commit/48300fe237a210096641af6de96aae02bc18d8be))
|
|
15
|
+
|
|
16
|
+
### [9.0.2](https://github.com/taoqf/node-fast-html-parser/compare/v9.0.1...v9.0.2) (2026-08-28)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* avoid O(n^2) text node append during parse ([6aba40e](https://github.com/taoqf/node-fast-html-parser/commit/6aba40e10c911743651e4cb32b809d0a5425f74a)), closes [#317](https://github.com/taoqf/node-fast-html-parser/issues/317)
|
|
22
|
+
* update test scripts for improved execution flow ([c36ab5a](https://github.com/taoqf/node-fast-html-parser/commit/c36ab5a242ac0f9d5b2b280ffc81163ebf264d58))
|
|
23
|
+
|
|
24
|
+
### [9.0.1](https://github.com/taoqf/node-fast-html-parser/compare/v9.0.0...v9.0.1) (2026-07-29)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* use tsc generate dts rather than rolldown ([081186d](https://github.com/taoqf/node-fast-html-parser/commit/081186dab912385da18b1c6be540028f68322d17))
|
|
30
|
+
|
|
31
|
+
## [9.0.0](https://github.com/taoqf/node-fast-html-parser/compare/v8.0.4...v9.0.0) (2026-07-06)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### ⚠ BREAKING CHANGES
|
|
35
|
+
|
|
36
|
+
* #311 pack usingtsdown
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* [#311](https://github.com/taoqf/node-fast-html-parser/issues/311) pack usingtsdown ([48dfd69](https://github.com/taoqf/node-fast-html-parser/commit/48dfd6980ac58cd7d578df84798f0863acfbb080))
|
|
41
|
+
|
|
42
|
+
### [8.0.4](https://github.com/taoqf/node-fast-html-parser/compare/v8.0.3...v8.0.4) (2026-06-29)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
* serialize attributes through quoteAttribute in removeWhitespace ([a260798](https://github.com/taoqf/node-fast-html-parser/commit/a26079849fef4dd683133a24e13df14590d4f250))
|
|
48
|
+
|
|
49
|
+
### [8.0.3](https://github.com/taoqf/node-fast-html-parser/compare/v8.0.2...v8.0.3) (2026-06-22)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
* preserve consecutive backslashes in attribute values ([712ee25](https://github.com/taoqf/node-fast-html-parser/commit/712ee25a3e0974909b674873786a87b3030eb069)), closes [#306](https://github.com/taoqf/node-fast-html-parser/issues/306) [#62](https://github.com/taoqf/node-fast-html-parser/issues/62)
|
|
55
|
+
|
|
56
|
+
### [8.0.2](https://github.com/taoqf/node-fast-html-parser/compare/v8.0.1...v8.0.2) (2026-06-21)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
### Bug Fixes
|
|
60
|
+
|
|
61
|
+
* preserve backslashes in attribute values during serialization and round-trip parsing [#306](https://github.com/taoqf/node-fast-html-parser/issues/306) ([a9882b2](https://github.com/taoqf/node-fast-html-parser/commit/a9882b245d2a1e1adfe6b3a61d6f3fa3bfbb3e32))
|
|
62
|
+
* update casing of HTML tag names in usage example [#289](https://github.com/taoqf/node-fast-html-parser/issues/289) ([801d278](https://github.com/taoqf/node-fast-html-parser/commit/801d278d6b23c99b196461590dbbf3f60339a22d))
|
|
63
|
+
|
|
64
|
+
### [8.0.1](https://github.com/taoqf/node-fast-html-parser/compare/v8.0.0...v8.0.1) (2026-06-20)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* refactor: update import statements to use type keyword for Options and decodeHTML function [#308](https://github.com/taoqf/node-fast-html-parser/issues/308) ([000ec5d](https://github.com/taoqf/node-fast-html-parser/commit/000ec5daa4667f306c6efa8aa4d42c3191c8a193))
|
|
70
|
+
|
|
71
|
+
## [8.0.0](https://github.com/taoqf/node-fast-html-parser/compare/v7.1.1...v8.0.0) (2026-06-20)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### ⚠ BREAKING CHANGES
|
|
75
|
+
|
|
76
|
+
* replace dependences he to entities
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* replace dependences he to entities ([97fe577](https://github.com/taoqf/node-fast-html-parser/commit/97fe5775b1202e35c6bb3b092740bb129c9a414a))
|
|
81
|
+
|
|
82
|
+
### [7.1.1](https://github.com/taoqf/node-fast-html-parser/compare/v8.0.0...v7.1.1) (2026-06-20)
|
|
83
|
+
|
|
5
84
|
## [7.1.0](https://github.com/taoqf/node-fast-html-parser/compare/v7.0.2...v7.1.0) (2026-03-03)
|
|
6
85
|
|
|
7
86
|
|
|
@@ -18,20 +18,20 @@ npm install --save node-html-parser
|
|
|
18
18
|
|
|
19
19
|
## Performance
|
|
20
20
|
|
|
21
|
-
--
|
|
21
|
+
-- 2026-06-20
|
|
22
22
|
|
|
23
23
|
```shell
|
|
24
|
-
html-parser :
|
|
25
|
-
htmljs-parser :
|
|
26
|
-
html-dom-parser :
|
|
27
|
-
html5parser :
|
|
28
|
-
cheerio :
|
|
29
|
-
parse5 :
|
|
30
|
-
htmlparser2 :
|
|
31
|
-
htmlparser :
|
|
32
|
-
high5 :
|
|
33
|
-
node-html-parser:
|
|
34
|
-
node-html-parser (last release):
|
|
24
|
+
html-parser :12.5662 ms/file ± 10.0834
|
|
25
|
+
htmljs-parser :0.233045 ms/file ± 0.525111
|
|
26
|
+
html-dom-parser :1.07375 ms/file ± 0.811077
|
|
27
|
+
html5parser :0.824501 ms/file ± 0.540651
|
|
28
|
+
cheerio :3.27444 ms/file ± 2.06027
|
|
29
|
+
parse5 :2.43857 ms/file ± 1.56153
|
|
30
|
+
htmlparser2 :0.712490 ms/file ± 0.364630
|
|
31
|
+
htmlparser :10.5275 ms/file ± 82.6013
|
|
32
|
+
high5 :1.64003 ms/file ± 0.993116
|
|
33
|
+
node-html-parser:0.972389 ms/file ± 0.570578
|
|
34
|
+
node-html-parser (last release):0.961381 ms/file ± 0.553054
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Tested with [htmlparser-benchmark](https://github.com/AndreasMadsen/htmlparser-benchmark).
|
|
@@ -50,10 +50,10 @@ console.log(root.firstChild.structure);
|
|
|
50
50
|
// #text
|
|
51
51
|
|
|
52
52
|
console.log(root.querySelector('#list'));
|
|
53
|
-
// { tagName: '
|
|
53
|
+
// { tagName: 'UL',
|
|
54
54
|
// rawAttrs: 'id="list"',
|
|
55
55
|
// childNodes:
|
|
56
|
-
// [ { tagName: '
|
|
56
|
+
// [ { tagName: 'LI',
|
|
57
57
|
// rawAttrs: '',
|
|
58
58
|
// childNodes: [Object],
|
|
59
59
|
// classNames: [] } ],
|
|
@@ -97,7 +97,7 @@ Parse the data provided, wrap the result in a new node, and return the root of t
|
|
|
97
97
|
style: true, // keep text content when parsing
|
|
98
98
|
pre: true // keep text content when parsing
|
|
99
99
|
},
|
|
100
|
-
|
|
100
|
+
closeAllByClosing: false // Close all non-closed tags when containing element closes
|
|
101
101
|
}
|
|
102
102
|
```
|
|
103
103
|
|
|
@@ -153,36 +153,36 @@ class HTMLElement{
|
|
|
153
153
|
[number, number] range
|
|
154
154
|
}
|
|
155
155
|
class Node{
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
156
|
+
<<abstract>>
|
|
157
|
+
string toString()
|
|
158
|
+
Node clone()
|
|
159
|
+
this remove()
|
|
160
|
+
number nodeType
|
|
161
|
+
string innerText
|
|
162
|
+
string textContent
|
|
163
163
|
}
|
|
164
164
|
class ClassList{
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
165
|
+
add(string c)
|
|
166
|
+
replace(string c1, string c2)
|
|
167
|
+
remove(string c)
|
|
168
|
+
toggle(string c)
|
|
169
|
+
boolean contains(string c)
|
|
170
|
+
number length
|
|
171
|
+
string[] value
|
|
172
|
+
string toString()
|
|
173
173
|
}
|
|
174
174
|
class CommentNode{
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
CommentNode clone()
|
|
176
|
+
string toString()
|
|
177
177
|
}
|
|
178
178
|
class TextNode{
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
179
|
+
TextNode clone()
|
|
180
|
+
string toString()
|
|
181
|
+
string rawText
|
|
182
|
+
string trimmedRawText
|
|
183
|
+
string trimmedText
|
|
184
|
+
string text
|
|
185
|
+
boolean isWhitespace
|
|
186
186
|
}
|
|
187
187
|
Node --|> HTMLElement
|
|
188
188
|
Node --|> CommentNode
|