Socket
Socket
Sign inDemoInstall

riot-compiler

Package Overview
Dependencies
8
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.5.2 to 3.5.3

3

CHANGELOG.md
# Compiler Changes
### v3.5.3
- Fix avoid prefixing the `:host` selector https://github.com/riot/custom-elements/issues/1
### v3.5.2

@@ -4,0 +7,0 @@ - Fix es6 dynamic imports https://github.com/riot/riot/issues/2641

7

dist/es6.compiler.js
/**
* Compiler for riot custom tags
* @version v3.5.2
* @version v3.5.3
*/

@@ -555,2 +555,3 @@

var scope = ':scope'
var selectorsBlacklist = ['from', 'to', ':host']

@@ -568,3 +569,3 @@ return css.replace(CSS_SELECTOR, function (m, p1, p2) {

if (!s || s === 'from' || s === 'to' || s.slice(-1) === '%') {
if (!s || selectorsBlacklist.indexOf(s) > -1 || s.slice(-1) === '%') {
return sel

@@ -852,3 +853,3 @@ }

var version = 'v3.5.2'
var version = 'v3.5.3'

@@ -855,0 +856,0 @@ export default {

@@ -275,3 +275,3 @@

* Compiler for riot custom tags
* @version v3.5.2
* @version v3.5.3
*/

@@ -554,2 +554,3 @@ var compile = (function () {

var scope = ':scope'
var selectorsBlacklist = ['from', 'to', ':host']

@@ -567,3 +568,3 @@ return css.replace(CSS_SELECTOR, function (m, p1, p2) {

if (!s || s === 'from' || s === 'to' || s.slice(-1) === '%') {
if (!s || selectorsBlacklist.indexOf(s) > -1 || s.slice(-1) === '%') {
return sel

@@ -856,3 +857,3 @@ }

js: compileJS,
version: 'v3.5.2'
version: 'v3.5.3'
}

@@ -859,0 +860,0 @@ return compile

/**
* The riot-compiler v3.5.2
* The riot-compiler v3.5.3
*
* @module compiler
* @version v3.5.2
* @version v3.5.3
* @license MIT

@@ -481,2 +481,3 @@ * @copyright Muut Inc. + contributors

var scope = ':scope'
var selectorsBlacklist = ['from', 'to', ':host']

@@ -494,3 +495,3 @@ return css.replace(CSS_SELECTOR, function (m, p1, p2) {

if (!s || s === 'from' || s === 'to' || s.slice(-1) === '%') {
if (!s || selectorsBlacklist.indexOf(s) > -1 || s.slice(-1) === '%') {
return sel

@@ -1016,3 +1017,3 @@ }

parsers: parsers,
version: 'v3.5.2'
version: 'v3.5.3'
}
{
"name": "riot-compiler",
"version": "3.5.2",
"version": "3.5.3",
"description": "Compiler for riot .tag files",

@@ -5,0 +5,0 @@ "main": "lib/compiler.js",

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