Skip to content

Commit b1da0fa

Browse files
adamwathanjonathantneal
authored andcommitted
Update cssesc to 3.0.0
1 parent b47e255 commit b1da0fa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"testone": "ava"
4242
},
4343
"dependencies": {
44-
"cssesc": "^2.0.0",
44+
"cssesc": "^3.0.0",
4545
"indexes-of": "^1.0.1",
4646
"uniq": "^1.0.1"
4747
},

src/__tests__/attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ test('attribute selector with hex escape', '[ng\\00003acloak]', (t, tree) => {
116116
test('assign attribute name requiring escape', '[ng\\:cloak]', (t, tree) => {
117117
let attr = tree.nodes[0].nodes[0];
118118
attr.attribute = "ng:foo";
119-
t.deepEqual(attr.raws.attribute, 'ng\\3A foo');
119+
t.deepEqual(attr.raws.attribute, 'ng\\:foo');
120120
t.deepEqual(attr.attribute, 'ng:foo');
121-
t.deepEqual(tree.toString(), '[ng\\3A foo]');
121+
t.deepEqual(tree.toString(), '[ng\\:foo]');
122122
});
123123

124124
test('multiple attribute selectors + combinator', '[href][class][name] h1 > h2', (t, tree) => {

0 commit comments

Comments
 (0)