Skip to content

Releases: riot/compiler

More Performant

24 Jan 07:37
Compare
Choose a tag to compare
  • Fix riot#1511 : Escape Quotes - They may be some issues to fix.
  • Regression of logic to parse style and script tags, due to loss of performance and other issues.
  • Removed the "compress" option of the less parser, which is deprecated and generates warnings in the console.
  • Removed the unuseful CSS parser stylus from the browser version.
  • Refactorization of all the code, with more comments in preparation for the automatic documentation of the API.
  • Various tweaks to increase performance and reduce (~55%) memory consumption.
  • Files to preprocess are moved from "lib" to the "src" directory, now "lib" has the required node.js files only.

v2.3.21 (Unpublished due to errors)

15 Jan 08:46
Compare
Choose a tag to compare
  • Code refactorization of the parsers module, removed unuseful CSS parser stylus for browsers.
  • Fix riot#1511 : Escape Quotes - They may be some issues to fix.
  • New logic for parsing <script>/<style> blocks. See doc/guide.md for details.

Riot-compiler v2.3.20

09 Jan 00:32
Compare
Choose a tag to compare
  • Fix riot#1495 : Warning of input tag value - Avoids warnings for date/datetime/time/month/email/color types with expression in its value.
  • Fix riot#1488 : Cannot read property 'replace' of undefined when compiling in Node a tag with an import in its less stylesheet -- Thanks to @jrx-jsj
  • Fix riot#1448 : Riot compiler parses and removes content from string declaration. This is partial fix, you need to write <\/script> for closing script tags within quoted strings.
  • Revised regex that matches <pre> tags.
  • @import directives of stylus, sass, scss, and less can be relative to the file being processed.
  • Fixed lint issues with new .eslintrc.yml, almost compatible with JavaScript Standard Style