rollup-plugin-vue
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -23,3 +23,3 @@ 'use strict'; | ||
var i = node.attrs.length; | ||
while (i--) { | ||
while (i > 0) { | ||
var attr = node.attrs[i]; | ||
@@ -29,2 +29,3 @@ if (attr.name === 'lang') { | ||
} | ||
i -= 1; | ||
} | ||
@@ -166,3 +167,3 @@ } | ||
var nodes = {}; | ||
for (var i = fragment.childNodes.length - 1; i >= 0; i--) { | ||
for (var i = fragment.childNodes.length - 1; i >= 0; i -= 1) { | ||
nodes[fragment.childNodes[i].nodeName] = fragment.childNodes[i]; | ||
@@ -370,2 +371,2 @@ } | ||
module.exports = vue; | ||
module.exports = vue; |
@@ -19,3 +19,3 @@ import { createFilter } from 'rollup-pluginutils'; | ||
var i = node.attrs.length; | ||
while (i--) { | ||
while (i > 0) { | ||
var attr = node.attrs[i]; | ||
@@ -25,2 +25,3 @@ if (attr.name === 'lang') { | ||
} | ||
i -= 1; | ||
} | ||
@@ -162,3 +163,3 @@ } | ||
var nodes = {}; | ||
for (var i = fragment.childNodes.length - 1; i >= 0; i--) { | ||
for (var i = fragment.childNodes.length - 1; i >= 0; i -= 1) { | ||
nodes[fragment.childNodes[i].nodeName] = fragment.childNodes[i]; | ||
@@ -366,2 +367,2 @@ } | ||
export default vue; | ||
export default vue; |
{ | ||
"name": "rollup-plugin-vue", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "Roll .vue files", | ||
@@ -38,26 +38,26 @@ "main": "dist/rollup-plugin-vue.common.js", | ||
"rollup-pluginutils": "latest", | ||
"vue-template-compiler": "^2.0.0-rc.4", | ||
"vue-template-compiler": "^2.0.1", | ||
"vue-template-validator": "latest" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^6.1.2", | ||
"clean-css": "^3.4.19", | ||
"coveralls": "^2.11.6", | ||
"eslint": "^3.3.1", | ||
"eslint-config-airbnb": "^10.0.1", | ||
"eslint-config-airbnb-base": "^5.0.2", | ||
"eslint-plugin-html": "^1.5.2", | ||
"eslint-plugin-import": "^1.13.0", | ||
"eslint-plugin-jsx-a11y": "^2.1.0", | ||
"eslint-plugin-react": "^6.1.2", | ||
"istanbul": "^0.4.2", | ||
"mocha": "^2.3.4", | ||
"mocha-lcov-reporter": "^1.0.0", | ||
"rollup": "^0.35.7", | ||
"rollup-plugin-buble": "^0.13.0", | ||
"babel-eslint": "^7.0.0", | ||
"clean-css": "^3.4.20", | ||
"coveralls": "^2.11.14", | ||
"eslint": "^3.7.0", | ||
"eslint-config-airbnb": "^12.0.0", | ||
"eslint-config-airbnb-base": "^8.0.0", | ||
"eslint-plugin-html": "^1.5.3", | ||
"eslint-plugin-import": "^2.0.0", | ||
"eslint-plugin-jsx-a11y": "^2.2.2", | ||
"eslint-plugin-react": "^6.3.0", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.1.0", | ||
"mocha-lcov-reporter": "^1.2.0", | ||
"rollup": "^0.36.1", | ||
"rollup-plugin-buble": "^0.14.0", | ||
"rollup-plugin-replace": "latest", | ||
"stylus": "^0.54.5", | ||
"uglify-js": "^2.7.3", | ||
"vue-hot-reload-api": "^1.2.2" | ||
"vue-hot-reload-api": "^2.0.6" | ||
} | ||
} |
@@ -74,2 +74,7 @@ # Rollup Plugin for Vue | ||
### Examples | ||
- [Vue 2.0 application](https://gist.github.com/znck/4ae3a705bccba0a3feecfa7b5f3da1ea) | ||
- [Vue component module/package](https://gist.github.com/znck/140d5e9deabfa41f2e935d053a59f23e) | ||
### Options | ||
@@ -76,0 +81,0 @@ |
@@ -17,3 +17,3 @@ import deIndent from 'de-indent'; | ||
let i = node.attrs.length; | ||
while (i--) { | ||
while (i > 0) { | ||
const attr = node.attrs[i]; | ||
@@ -23,2 +23,3 @@ if (attr.name === 'lang') { | ||
} | ||
i -= 1; | ||
} | ||
@@ -159,3 +160,3 @@ } | ||
const nodes = {}; | ||
for (let i = fragment.childNodes.length - 1; i >= 0; i--) { | ||
for (let i = fragment.childNodes.length - 1; i >= 0; i -= 1) { | ||
nodes[fragment.childNodes[i].nodeName] = fragment.childNodes[i]; | ||
@@ -162,0 +163,0 @@ } |
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
39037
959
143
Updatedvue-template-compiler@^2.0.1