Socket
Socket
Sign inDemoInstall

riot-compiler

Package Overview
Dependencies
0
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    riot-compiler

Compiler for riot .tag files


Version published
Weekly downloads
2.6K
increased by14.84%
Maintainers
4
Install size
184 kB
Created
Weekly downloads
 

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

Readme

Source

Build Status Code Quality Coverage Status NPM version NPM downloads MIT License

Documentation

Installation

Npm

$ npm install riot-compiler --save

Bower

$ bower install riot-compiler --save

Read more in the doc folder and the CHANGELOG

Please note: the documentation is a work in progress. Contributions are welcome.

For babel users

Due to changes in the babel API, from our v2.3.0 we are separating the babel support in the following types:

  • es6 - For babel and babel-core v5.8.x and below
  • babel - For babel-core v6.x - You must npm install babel-preset-es2015-riot too, for this to work.

Keywords

FAQs

Last updated on 09 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc