Socket
Socket
Sign inDemoInstall

@vue/component-compiler-utils

Package Overview
Dependencies
23
Maintainers
9
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="2.1.1"></a>
## [2.1.1](https://github.com/vuejs/component-compiler-utils/compare/v2.1.0...v2.1.1) (2018-08-07)
### Bug Fixes
* remove space after selector when inserting scoped attribute ([5b299ed](https://github.com/vuejs/component-compiler-utils/commit/5b299ed)), closes [vue-loader/#1370](https://github.com/vuejs/component-compiler-utils/issues/1370)
<a name="2.1.0"></a>

@@ -2,0 +12,0 @@ # [2.1.0](https://github.com/vuejs/component-compiler-utils/compare/v2.0.0...v2.1.0) (2018-07-03)

9

dist/stylePlugins/scoped.js

@@ -46,5 +46,8 @@ "use strict";

});
selector.insertAfter(node, selectorParser.attribute({
attribute: id
}));
if (node) {
node.spaces.after = '';
selector.insertAfter(node, selectorParser.attribute({
attribute: id
}));
}
});

@@ -51,0 +54,0 @@ }).processSync(node.selector);

@@ -25,3 +25,3 @@ import { Root } from 'postcss'

selectors.each((selector: any) => {
let node = null
let node: any = null
selector.each((n: any) => {

@@ -47,8 +47,11 @@ // ">>>" combinator

})
selector.insertAfter(
node,
selectorParser.attribute({
attribute: id
})
)
if (node) {
node.spaces.after = ''
selector.insertAfter(
node,
selectorParser.attribute({
attribute: id
})
)
}
})

@@ -55,0 +58,0 @@ }).processSync(node.selector)

{
"name": "@vue/component-compiler-utils",
"version": "2.1.0",
"version": "2.1.1",
"description": "Lower level utilities for compiling Vue single file components",

@@ -5,0 +5,0 @@ "main": "dist/index.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