Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

riot-compiler

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riot-compiler - npm Package Versions

1235

2.5.2

Diff

Changelog

Source

v2.5.2

  • Fix #72: undefined is not a function when evaluating parsers._req.
  • Updated node versions for travis, including v5.x
gianlucaguarini
published 2.5.1 •

gianlucaguarini
published 2.5.0 •

gianlucaguarini
published 2.4.1 •

Changelog

Source

v2.4.1

  • Add the pug parser (it will replace completely jade in the next major release)
  • Add the possibility to pass custom parsers options directly via the compiler.compile method through the parserOptions: {js: {}, template: {}, style: {}} key more info
  • Fix un-escape parser options in html more info
gianlucaguarini
published 3.0.0-alpha.1 •

amarcruz
published 2.3.23 •

Changelog

Source

v2.3.23

  • The parsers are moved to its own directory in the node version. The load is on first use.
  • Fix riot#1325 : Gulp + Browserify + Babelify + type="es6" error.
  • Fix riot#1342, riot#1636 and request from dwyl/learn-riot#8 : Server-Side Rendered Page Fails W3C Check. The new data-is attribute is used for scoped styles in addition to riot-tag (the later will be removed in compiler v3.x)
  • The keyword defer in <script src=file> avoids that the compiler loads the file, preserving the tag - Requested by riot#1492 : Stop script tags from being evaluated with serverside riot.render. It is removed in client-side compilation because browsers will not load scripts through innerHTML.
  • It has changed the character used to hide expressions during the compilation, maybe this fix riot#1588 : Syntax Error: Invalid character \0129 (riot+compiler.min).
  • The option debug inserts newlines between the riot.tag2 parameters and the call is prefixed with the source filename - Requested by riot#1646 : Split portions of generated html with newline instead of space
  • Removed the unused parameter with the compiled-time brackets from the call to riot.tag2.
  • Removed support for raw expressions. It is unlikely this feature will be implemented in v2.3.x
  • Updated the regex that is used to match tag names, more closer to the HTML5 specs.
  • Update devDependencies.
amarcruz
published 2.3.22 •

Changelog

Source

v2.3.22

  • 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.
amarcruz
published 2.3.20 •

Changelog

Source

v2.3.20

  • 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
amarcruz
published 2.3.19 •

Changelog

Source

v2.3.19

  • Fixing issues with double quotes.
  • Removed dependency on riot-tmpl for the node build, now we are using a local version of brackets.
amarcruz
published 2.3.18 •

Changelog

Source

v2.3.18

  • Regression of optimized regexes not working in IE9/10.
  • Fix #36 : removed the excluded strings from the ouput.
  • Fix: avoid changing the global brackets when the compiler is called with other brackets (requires riot-tmpl v2.3.15).
  • A new property version (string) is included in the compiler set.
  • Fixes to travis CI and the bump routine
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc