hyntax icon indicating copy to clipboard operation
hyntax copied to clipboard

Straightforward HTML parser for JavaScript

Results 17 hyntax issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

See [this issue](https://github.com/mykolaharmash/hyntax/issues/39#issuecomment-770395572) for more context. Parcel and other bundlers seams to bundle polyfills for Node.js streams even when Hyntax stream modules are not imported to the user's code. e.g....

bug

Tags like , do not allow to create other tags in its content because in the two tags belong to escapable raw text elements (RCDATA element). So when parsing tags...

bug

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.1 to 4.16.6. Changelog Sourced from browserslist's changelog. 4.16.6 Fixed npm-shrinkwrap.json support in --update-db (by Geoff Newman). 4.16.5 Fixed unsafe RegExp (by Yeting Li). 4.16.4 Fixed unsafe...

dependencies

In the source code, this property actually represents [void elements](https://html.spec.whatwg.org/multipage/syntax.html#void-elements). https://github.com/mykolaharmash/hyntax/blob/b09cd799498474ccf38da7f7545530062ee239ab/lib/tree-constructor-context-handlers/tag.js#L34-L50 Therefore, `selfClosing` of HTML tags like `` will always be `false`.

The main issue with parsing SVG is that tags inside, like `path` can be at the same time self-closing and have children. It's not the case with HTML where the...

feature

Add serializer for Hyntax AST. It should support some basic customization options like indentation size.

feature

When a new tag is pushed, pipeline should build a package and publish it to NPM.