weml-monaco 0.4.0 → 0.4.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/CHANGELOG.md +26 -0
- package/dist/index.cjs +354 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.global.js +62 -61
- package/dist/index.mjs +354 -51
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,32 @@ This package mirrors the language logic of the VS Code extension; entries below
|
|
|
8
8
|
track the port catching up with the VS Code provider changes (see the root
|
|
9
9
|
`CHANGELOG.md` for the extension).
|
|
10
10
|
|
|
11
|
+
## [0.4.2] — 2026-08-30
|
|
12
|
+
|
|
13
|
+
Synced with VS Code extension `0.7.9`.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Added `w-color` completion, hover, snippets and validation, including the
|
|
17
|
+
requirement for at least one valid foreground/background color.
|
|
18
|
+
- Added color attributes to headings and paragraphs, text-block alignment, and
|
|
19
|
+
the `purchase-link`/`version-id` metadata fields.
|
|
20
|
+
- Metadata-name completion now reflects the fields generated from the docs.
|
|
21
|
+
|
|
22
|
+
## [0.4.1] — 2026-08-30
|
|
23
|
+
|
|
24
|
+
Synced with VS Code extension `0.7.8`.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
- Updated the shared V2 normalizer with deterministic attribute and token-list
|
|
28
|
+
sorting, full Unicode whitespace handling, additional HTML void elements and
|
|
29
|
+
inline custom-element normalization.
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
- Added structured validation for missing, duplicate, nested and out-of-order
|
|
33
|
+
root document elements, plus BOM and additional entity-form handling.
|
|
34
|
+
- Preserved browser compatibility by keeping Node's `crypto` dependency lazy and
|
|
35
|
+
retained `node-html-parser`-compatible sibling insertion for inline whitespace.
|
|
36
|
+
|
|
11
37
|
## [0.4.0] — 2026-08-17
|
|
12
38
|
|
|
13
39
|
Packaging only — the language logic is unchanged.
|