@riotjs/compiler
Advanced tools
Comparing version 4.9.1 to 4.9.2
# Compiler Changes | ||
### v4,9.1 | ||
- Fix https://github.com/riot/riot/issues/2866 | ||
### v4,9.0 | ||
@@ -4,0 +7,0 @@ - Add better interoperability with native custom elements https://github.com/riot/riot/issues/2864 `slot` attributes will be no longer removed |
{ | ||
"name": "@riotjs/compiler", | ||
"version": "4.9.1", | ||
"version": "4.9.2", | ||
"description": "Compiler for riot .tag files", | ||
@@ -38,14 +38,14 @@ "main": "dist/index.js", | ||
"@riotjs/dom-bindings": "^4.8.1", | ||
"@rollup/plugin-json": "^4.0.3", | ||
"@rollup/plugin-node-resolve": "^8.0.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^8.0.1", | ||
"chai": "^4.2.0", | ||
"coveralls": "^3.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint": "^7.2.0", | ||
"eslint-config-riot": "^3.0.0", | ||
"esm": "^3.2.25", | ||
"mocha": "^7.2.0", | ||
"mocha": "^8.0.1", | ||
"node-sass": "^4.14.1", | ||
"nyc": "^15.1.0", | ||
"pug": "^3.0.0", | ||
"rollup": "^2.13.1", | ||
"rollup": "^2.16.1", | ||
"rollup-plugin-alias": "^2.2.0", | ||
@@ -65,3 +65,3 @@ "rollup-plugin-commonjs": "^10.1.0", | ||
"@riotjs/util": "1.3.1", | ||
"acorn": "^7.2.0", | ||
"acorn": "^7.3.1", | ||
"cssesc": "^3.0.0", | ||
@@ -71,3 +71,3 @@ "cumpa": "^1.0.1", | ||
"dom-nodes": "^1.1.3", | ||
"globals": "^13.0.0", | ||
"globals": "^13.1.0", | ||
"recast": "^0.19.1", | ||
@@ -74,0 +74,0 @@ "source-map": "^0.7.3" |
@@ -19,3 +19,3 @@ import { | ||
import { hasExpressions, isGlobal, isTagNode, isTextNode, isVoidNode } from './checks' | ||
import { isArrayExpression, isBinaryExpression, isIdentifier, isLiteral, isMemberExpression, isThisExpression } from '../../utils/ast-nodes-checks' | ||
import { isArrayExpression, isBinaryExpression, isIdentifier, isLiteral, isMemberExpression, isThisExpression, isUnaryExpression } from '../../utils/ast-nodes-checks' | ||
import { nullNode, simplePropertyNode } from '../../utils/custom-ast-nodes' | ||
@@ -80,2 +80,3 @@ import addLinesOffset from '../../utils/add-lines-offset' | ||
case isArrayExpression(path.node.object): | ||
case isUnaryExpression(path.node.object): | ||
case isBinaryExpression(path.node.object): | ||
@@ -82,0 +83,0 @@ case path.node.object.computed: |
@@ -15,2 +15,3 @@ import globalScope from 'globals' | ||
export const isBinaryExpression = n => namedTypes.BinaryExpression.check(n) | ||
export const isUnaryExpression = n => namedTypes.UnaryExpression.check(n) | ||
export const isExportDefaultStatement = n => namedTypes.ExportDefaultDeclaration.check(n) | ||
@@ -17,0 +18,0 @@ export const isMemberExpression = n => namedTypes.MemberExpression.check(n) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2023718
53453
Updatedacorn@^7.3.1
Updatedglobals@^13.1.0