Skip to content

Commit

Permalink
Update dependencies (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper De Moor authored and devongovett committed Mar 18, 2018
1 parent 6040193 commit a7b72f2
Show file tree
Hide file tree
Showing 4 changed files with 608 additions and 474 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"get-port": "^3.2.0",
"glob": "^7.1.2",
"grapheme-breaker": "^0.3.2",
"htmlnano": "^0.1.6",
"htmlnano": "^0.1.7",
"is-url": "^1.2.2",
"js-yaml": "^3.10.0",
"json5": "^0.5.1",
Expand Down
4 changes: 2 additions & 2 deletions src/assets/HTMLAsset.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ const ATTRS = {
'iframe',
'embed'
],
href: ['link', 'a', 'use'],
srcset: ['img', 'source'],
href: ['link', 'a'],
poster: ['video'],
'xlink:href': ['use'],
'xlink:href': ['use'], // Deprecated since SVG 2, throws error in svgo
content: ['meta']
};

Expand Down
2 changes: 1 addition & 1 deletion test/integration/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ <h1>Hello world</h1>
<script src="index.js"></script>
<script src="https://unpkg.com/parcel-bundler"></script>
<i>hello</i> <i>world</i>
<svg><use xlink:href="icons.svg#icon-repo-pull"></use></svg>
<svg><use href="icons.svg#icon-repo-pull"></use></svg>
</body>
</html>
Loading

0 comments on commit a7b72f2

Please sign in to comment.