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.2 to 2.2.0

10

CHANGELOG.md

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

<a name="2.2.0"></a>
# [2.2.0](https://github.com/vuejs/component-compiler-utils/compare/v2.1.2...v2.2.0) (2018-08-16)
### Features
* **scoped-css:** support leading >>> or /deep/ in selectors ([1a3b5bb](https://github.com/vuejs/component-compiler-utils/commit/1a3b5bb))
<a name="2.1.2"></a>

@@ -2,0 +12,0 @@ ## [2.1.2](https://github.com/vuejs/component-compiler-utils/compare/v2.1.1...v2.1.2) (2018-08-09)

@@ -26,2 +26,3 @@ "use strict";

let node = null;
let hasDeep = false;
selector.each((n) => {

@@ -32,2 +33,3 @@ // ">>>" combinator

n.spaces.before = n.spaces.after = '';
hasDeep = true;
return false;

@@ -42,2 +44,3 @@ }

n.remove();
hasDeep = true;
return false;

@@ -55,2 +58,7 @@ }

}
else if (hasDeep) {
selector.prepend(selectorParser.attribute({
attribute: id
}));
}
});

@@ -57,0 +65,0 @@ }).processSync(node.selector);

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

let node: any = null
let hasDeep: boolean = false
selector.each((n: any) => {

@@ -32,2 +33,3 @@ // ">>>" combinator

n.spaces.before = n.spaces.after = ''
hasDeep = true
return false

@@ -42,2 +44,3 @@ }

n.remove()
hasDeep = true
return false

@@ -57,2 +60,8 @@ }

)
} else if (hasDeep) {
selector.prepend(
selectorParser.attribute({
attribute: id
})
)
}

@@ -59,0 +68,0 @@ })

2

package.json
{
"name": "@vue/component-compiler-utils",
"version": "2.1.2",
"version": "2.2.0",
"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