changelogs.md


riot/parser

Repository  -  API  -  Source

0.5.0

  • Remove the the useless prefix option
  • Improve the coverage
  • Improve the quality of the source code

0.4.0

  • Add the dom-nodes dependecy to improve the output
  • Add the isCustom, isBoolean, isVoid, isSelfClosing and isRaw boolean node attributes

0.3.0

  • Fix treeBuilder issues
  • Improve coverage
  • Improve code maintainability

0.2.0

  • Add voidTags to the exports

0.1.0

  • Enhance the javascript parsing: the javascript node will contain nested nodes containing the private and the public javascript methods
  • Add the PUBLIC_JAVASCRIPT and PRIVATE_JAVASCRIPT nodes
  • Change the attr to attributes and expr to expressions keys

0.0.6

  • Tree-builder support for 'if/else/elseif' tags (avoid unexpected closing tag errors).
  • Fix to text nodes only escaping the fist block of whitespace.

0.0.5

  • Now, attribute names are lowercased in the builder, only for empty namespaces (i.e. not svg).

0.0.4

  • Included TEXTAREA as special tag that can contain only raw text and expressions.
  • For SVG tags, now the ns property is the full URI http://www.w3.org/2000/svg.
  • The children property of TAGs is renamed to nodes.

0.0.3

  • The default builder is integrated in this module and injected in the parser.
  • Only two versions, node CommonJS (transpiled to ES5) and ES6 modules (untranspiled).
  • The nodeTypes property of TagParser is removed, now is in a separated submodule.
  • Exposing skipES6TL to skip ES6 Template Literals.
  • Reduction of code size, skipRegex is imported from npm.
  • Source files (ES6) are moved to the "lib/" directory.
  • Remove dependency on Object.assign.
  • Updated devDependencies.

0.0.2

  • Added suport for SVG en the tests.
  • Added test/builder/tree-builder2.js as sample.
  • Support for self-closing script/style tags.
  • The replace property of attributes and text is discarded and there's a new property unescape is an array containing the positions of the escape characters (relative to the whole buffer).
  • Matching literal regexes is a bit faster now.
  • Fixes incorrect regex that matches literal regexes.

0.0.1

  • First public release

TODO

  • Support for case sensitive properties in SVG elements.