update to css-tree@1.0.0-alpha22

AttributeSelector.operator has been renamed to AttributeSelector.matcher
pull/829/head
Conduitry 7 years ago
parent 40ae4a42c1
commit 88048188ae

@ -46,7 +46,7 @@
"chalk": "^2.0.1", "chalk": "^2.0.1",
"codecov": "^2.2.0", "codecov": "^2.2.0",
"console-group": "^0.3.2", "console-group": "^0.3.2",
"css-tree": "1.0.0-alpha16", "css-tree": "1.0.0-alpha22",
"eslint": "^4.3.0", "eslint": "^4.3.0",
"eslint-plugin-html": "^3.0.0", "eslint-plugin-html": "^3.0.0",
"eslint-plugin-import": "^2.2.0", "eslint-plugin-import": "^2.2.0",

@ -160,7 +160,7 @@ function applySelector(blocks: Block[], node: Node, stack: Node[], toEncapsulate
} }
else if (selector.type === 'AttributeSelector') { else if (selector.type === 'AttributeSelector') {
if (!attributeMatches(node, selector.name.name, selector.value && unquote(selector.value), selector.operator, selector.flags)) return false; if (!attributeMatches(node, selector.name.name, selector.value && unquote(selector.value), selector.matcher, selector.flags)) return false;
} }
else if (selector.type === 'TypeSelector') { else if (selector.type === 'TypeSelector') {

@ -557,10 +557,11 @@ cryptiles@2.x.x:
dependencies: dependencies:
boom "2.x.x" boom "2.x.x"
css-tree@1.0.0-alpha16: css-tree@1.0.0-alpha22:
version "1.0.0-alpha16" version "1.0.0-alpha22"
resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha16.tgz#6cb2cdff6947259dfdaf790626333a862de948b0" resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha22.tgz#338a006e331c7b4f9dab7b6af539ece56ff78af2"
dependencies: dependencies:
mdn-data "^1.0.0"
source-map "^0.5.3" source-map "^0.5.3"
cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":
@ -1691,6 +1692,10 @@ md5-o-matic@^0.1.1:
version "0.1.1" version "0.1.1"
resolved "https://registry.yarnpkg.com/md5-o-matic/-/md5-o-matic-0.1.1.tgz#822bccd65e117c514fab176b25945d54100a03c3" resolved "https://registry.yarnpkg.com/md5-o-matic/-/md5-o-matic-0.1.1.tgz#822bccd65e117c514fab176b25945d54100a03c3"
mdn-data@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-1.0.0.tgz#a69d9da76847b4d5834c1465ea25c0653a1fbf66"
mem@^1.1.0: mem@^1.1.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76"

Loading…
Cancel
Save