Socket
Socket
Sign inDemoInstall

riot-compiler

Package Overview
Dependencies
1
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.7K
increased by15%
Maintainers
4
Created
Weekly downloads
 

Changelog

Source

v2.3.11

  • New type="babel" supports babel-core v6.x. You must npm install babel-preset-es2015 too, for this works. Use type="es6" for babel and babel-core v5.8.x and bellow - riot#1039
  • Fix riot#1306 : Compiler preserves newlines in class objects, causing "Unterminated String Constant" errors.
  • Fix riot#1314 : settings.brackets no longer works.
  • Fix riot#1309 : Tag renders js instead of content when no attributes present.

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

For babel users

Due to recent changes in the babel API, from v2.3.0-beta.7 we are supporting babel versions previous to 6.0.2 through parsers.css.es6 (<script type="es6">), new versions are not compatible with the node API.

For babel-core, please use the new parsers.css.babel (<script type="babel">). You must npm install babel-preset-es2015 too, for this works.

Keywords

FAQs

Last updated on 15 Nov 2015

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc