UNPKG

@vivaxy/wxml

Version:

🌇WXML parser and serializer.

95 lines (42 loc) • 2.89 kB
# Changelog 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. ## [2.1.0](https://github.com/vivaxy/WXML/compare/v2.0.3...v2.1.0) (2020-05-20) ### Features * **index:** :sparkles: exports NODE_TYPES enum ([98b4805](https://github.com/vivaxy/WXML/commit/98b4805f79bc1bb2871951a7ab3939f020da9466)) ### [2.0.3](https://github.com/vivaxy/WXML/compare/v2.0.2...v2.0.3) (2020-05-20) ### Bug Fixes * **serialize:** :bug: fix the wrong result when serializing double quotes in attributes ([cc29f0f](https://github.com/vivaxy/WXML/commit/cc29f0f5da234530ee10ed073fa6036624e603df)) ### [2.0.2](https://github.com/vivaxy/WXML/compare/v2.0.1...v2.0.2) (2020-05-19) ### Bug Fixes * **project:** :bug: fix typings ([8b13436](https://github.com/vivaxy/WXML/commit/8b13436dd1dbffd1153e7eb13c859b4bed576a2f)) ### [2.0.1](https://github.com/vivaxy/WXML/compare/v2.0.0...v2.0.1) (2020-05-05) ### Bug Fixes * **parse:** :bug: Fix `Unexpected node` error ([4bb1217](https://github.com/vivaxy/WXML/commit/4bb1217)) ## [2.0.0](https://github.com/vivaxy/WXML/compare/v1.0.0...v2.0.0) (2020-01-23) ### âš  BREAKING CHANGES * **element-node:** rename `attrs` to `attributes`; rename `text` to `textContent`; rename node type from string to number; enforce `attributes`, `childNodes` and `selfClosing` attributes exists on json object * **element-node:** :recycle: rename `attrs` to `attributes` ([d7e5781](https://github.com/vivaxy/WXML/commit/d7e5781)) ## [1.0.0](https://github.com/vivaxy/WXML/compare/v0.2.3...v1.0.0) (2019-12-15) ### [0.2.3](https://github.com/vivaxy/WXML/compare/v0.2.2...v0.2.3) (2019-08-16) <a name="0.2.2"></a> ## [0.2.2](https://github.com/vivaxy/WXML/compare/v0.2.1...v0.2.2) (2018-09-08) <a name="0.2.1"></a> ## [0.2.1](https://github.com/vivaxy/WXML/compare/v0.2.0...v0.2.1) (2018-09-08) <a name="0.2.0"></a> # [0.2.0](https://github.com/vivaxy/WXML/compare/v0.1.2...v0.2.0) (2018-09-08) ### Features * **parse:** :sparkles:Refactor output data structure ([2390d16](https://github.com/vivaxy/WXML/commit/2390d16)) <a name="0.1.2"></a> ## [0.1.2](https://github.com/vivaxy/WXML/compare/v0.1.1...v0.1.2) (2018-09-08) ### Bug Fixes * :bug:parse ([1ec05ed](https://github.com/vivaxy/WXML/commit/1ec05ed)) <a name="0.1.1"></a> ## [0.1.1](https://github.com/vivaxy/WXML/compare/v0.1.0...v0.1.1) (2018-09-08) ### Bug Fixes * **yarn.lock:** :bug: ([bab2088](https://github.com/vivaxy/WXML/commit/bab2088)) <a name="0.1.0"></a> # 0.1.0 (2018-08-16) ### Features * :sparkles:Initial commit ([c347598](https://github.com/vivaxy/WXML/commit/c347598)) * **parse.js:** :sparkles: ([a80b0f5](https://github.com/vivaxy/WXML/commit/a80b0f5)) * **serialize:** :sparkles: ([698d6eb](https://github.com/vivaxy/WXML/commit/698d6eb))