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

@riotjs/compiler

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@riotjs/compiler - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

4

CHANGELOG.md
# Compiler Changes
### v4.3.1
- Fix https://github.com/riot/riot/issues/2719
- Fix https://github.com/riot/riot/issues/2723
### v4.3.0

@@ -4,0 +8,0 @@ - Add support for dynamic import

12

package.json
{
"name": "@riotjs/compiler",
"version": "4.3.0",
"version": "4.3.1",
"description": "Compiler for riot .tag files",

@@ -38,3 +38,3 @@ "main": "dist/index.js",

"coveralls": "^3.0.4",
"eslint": "^6.0.0",
"eslint": "^6.0.1",
"eslint-config-riot": "^2.0.0",

@@ -44,8 +44,8 @@ "esm": "^3.2.25",

"nyc": "^14.1.1",
"rollup": "^1.16.2",
"rollup": "^1.16.3",
"rollup-plugin-alias": "^1.5.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-resolve": "^5.0.4",
"rollup-plugin-node-resolve": "^5.2.0",
"shelljs": "^0.8.3"

@@ -61,3 +61,3 @@ },

"@riotjs/dom-bindings": "^4.2.2",
"@riotjs/parser": "^4.0.1",
"@riotjs/parser": "^4.0.2",
"acorn": "^6.1.1",

@@ -64,0 +64,0 @@ "acorn-dynamic-import": "^4.0.0",

@@ -22,2 +22,3 @@ import {

import {
isBinaryExpression,
isBrowserAPI,

@@ -110,3 +111,5 @@ isBuiltinAPI,

if (!isGlobal({ node: path.node.object, scope: path.scope })) {
if (path.value.computed) {
if (isBinaryExpression(path.node.object)) {
this.traverse(path.get('object'))
} else if (path.value.computed) {
this.traverse(path)

@@ -142,3 +145,3 @@ } else {

* @param { types.NodePath } path - containing the current node visited
* @returns { boolean } return false if we want to stop the tree traversal
* @returns { boolean|undefined } return false if we want to stop the tree traversal
*/

@@ -150,2 +153,3 @@ function visitThisExpression(path) {

/**

@@ -152,0 +156,0 @@ * Update the scope of the global nodes

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

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