All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.0.12 (2024-12-16)
5.0.11 (2024-12-04)
5.0.10 (2024-08-28)
- github: publish package to npm registry with provenance (e023fe8)
5.0.9 (2024-07-18)
- exports field includes package.json (c373a92)
5.0.8 (2024-02-12)
- esm: fix exported types (b6918ae)
5.0.7 (2024-01-13)
5.0.6 (2023-12-19)
5.0.5 (2023-12-16)
- esm: fix ESM types by adding .mts declaration files (96a1cfc)
5.0.4 (2023-10-31)
- esm: support vite bundler (c9e510f)
5.0.3 (2023-10-22)
- export types from index.ts (8ed55e2)
5.0.2 (2023-10-19)
- package: add "/src" to files to fix source map warning (7082c50)
5.0.1 (2023-10-17)
- package: add types to exports in package.json (df08df3)
5.0.0 (2023-10-16)
- CommonJS imports require the
.default
key.
- migrate to TypeScript (5915b08)
4.0.1 (2023-10-15)
4.0.0 (2023-05-31)
- deps: bump htmlparser2 from 8.0.2 to 9.0.0
3.1.7 (2023-03-25)
3.1.6 (2023-03-22)
3.1.5 (2023-03-06)
3.1.4 (2023-03-04)
3.1.3 (2023-01-17)
- package: specify types in package.json and exports field (21fb028)
3.1.2 (2022-08-23)
3.1.1 (2022-08-20)
3.1.0 (2022-08-16)
- add esm for client (0c4c2b6)
3.0.1 (2022-07-10)
3.0.0 (2022-07-05)
- htmlparser2 7.2.0 β 8.0.1
- upgrade domhandler to 5.0.3 and htmlparser2 to 8.0.1 (e80a69c)
2.0.0 (2022-06-18)
- client: remove Internet Explorer (IE11) support
1.2.0 (2022-04-14)
- add compatibility for react-native (4a4a974)
1.1.1 (2022-03-20)
- package: upgrade domhandler from 4.3.0 to 4.3.1 (c2e8a82)
1.1.0 (2022-02-05)
- add ES Module support (b8436b1)
1.0.4 (2021-12-06)
- deps: bump domhandler from 4.2.2 to 4.3.0 (cb49258)
1.0.3 (2021-11-27)
- upgrade dependency htmlparser2 to v7.2.0 (7819211)
1.0.2 (2021-09-06)
- deps: bump domhandler from 4.2.0 to 4.2.2 (ab46792)
1.0.1 (2021-06-13)
1.0.0 (2020-12-25)
- package: upgrade
domhandler
to v4 andhtmlparser2
to v6 (ec5673e)
- client: deprecate Internet Explorer 9 (IE9) (d42ea4e)
- utilities: continue if nodeType is not element, text, comment (793ff0c)
- package: upgrade
domhandler
to v4 andhtmlparser2
to v6
domhandler 3.3.0 β 4.0.0 htmlparser2 4.1.0 β 6.0.0
domhandler:
htmlparser2:
- https://github.com/fb55/htmlparser2/releases/tag/v5.0.0
- https://github.com/fb55/htmlparser2/releases/tag/v5.0.1
- https://github.com/fb55/htmlparser2/releases/tag/v6.0.0
decodeEntities
option now defaults to true. <title>
is
parsed correctly. Remove root parent node to keep parser
backwards compatible.
0.5.0 (2020-12-13)
- upgrade
domhandler
to 3.3.0 andhtmlparser2
to 4.1.0 (2a748b8)
0.4.0 (2020-12-13)
- upgrade
domhandler
to 3.0.0 andhtmlparser
to 4.0.0 (44dba5e)
0.3.1 (2020-12-13)
0.3.0 (2020-06-02)
- lib: throw error if browser does not support parsing methods (de327af)
- lib: return
[]
if empty string is passed to server parser (9850d05)
0.2.3 (2019-11-04)
- package: save commitlint, husky, and lint-staged to devDeps (3b0ce91)
- package: update
eslint
and installprettier
and plugin (b7a6b81) - package: update
webpack
and savewebpack-cli
(908e56d) - package: update dependencies and devDependencies (a9016be)
- server: remove skipped test (a4c1057)
- refactor tests to ES6 (d5255a5)
- cases: add empty string test case to
html.js
(25d7e8a) - cases: add more special test cases to
html.js
(6fdf2ea) - cases: refactor test cases and move html data to its own file (e4fcb09)
- cases: remove unnecessary try/catch wrapper to fix lint error (ca8175e)
- cases: skip html test cases that PhantomJS does not support (d095d29)
- cases: update
complex.html
(1418775) - client: add tests for client parser that will be run by karma (a0c58aa)
- helpers: create
index.js
which exports helpers (a9255d5) - helpers: move helper that tests for errors to separate file (f2e6312)
- helpers: refactor and move
runTests
to its own file (8e30784) - server: add tests that spy and mock htmlparser2 and domhandler (61075a1)
- server: move
html-to-dom-server.js
toserver
directory (3684dac)
0.2.2 (2019-06-07)
- utilities: do not lowercase case-sensitive SVG tags (4083004)
- utilities: optimize case-sensitive tag replace with hash map (6aa06ee)
0.2.1 (2019-04-03)
0.2.0 (2019-04-01)
- types: add TypeScript decelerations (b52d52f)
0.1.3 - 2018-02-20
- Fix regular expression vulnerability (#8)
- Regex has potential for catastrophic backtracking
- Credit goes to @davisjam for discovering it
- Refactored and updated tests (#8)
0.1.2 - 2017-09-30
- Create helper
isIE()
in utilities (#7)
- Fix client parser in IE/IE9 (#6, #7)
- Upgrade
[email protected]
and[email protected]
(#5) - npm script
build
runs bothbuild:min
andbuild:unmin
(#5)
0.1.1 - 2017-06-26
- CHANGELOG with previous releases backfilled
- Fix client parser on IE by specifying required parameter for
createHTMLDocument
(#4)
0.1.0 - 2017-06-17
- Improve, refactor, and optimize client parser
- Use
template
,DOMImplementation
, and/orDOMParser
- Use
0.0.2 - 2016-10-10
- Create npm scripts for prepublish
- Change webpack to build to UMD target
- Update README installation and usage instructions
0.0.1 - 2016-10-10
- Server parser
- Wrapper for
htmlparser2.parseDOM
- Wrapper for
- Client parser
- Uses DOM API to mimic server parser output
- Build client library with webpack
- Add README, tests, and other necessary files