Skip to content

Commit

Permalink
fix(loader): decode entities in <style> tags
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #157
  • Loading branch information
kisenka committed Aug 5, 2017
1 parent a9e7c37 commit 36e6ba6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"domready": "1.0.8",
"escape-string-regexp": "1.0.5",
"loader-utils": "^1.1.0",
"svg-baker": "^1.2.7",
"svg-baker": "^1.2.10",
"svg-baker-runtime": "^1.2.98",
"url-slug": "2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion test/loader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ describe('loader and plugin', () => {
plugins: [new SpritePlugin()]
});

assets.should.have.property('sprite-f016181b.svg');
assets.should.have.property('sprite-55f2b4ab.svg');
});

// Fails when webpack buildin runtime will change
Expand Down
21 changes: 19 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2748,7 +2748,7 @@ hawk@~3.1.3:
hoek "2.x.x"
sntp "1.x.x"

[email protected]:
[email protected], he@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"

Expand Down Expand Up @@ -5469,7 +5469,7 @@ svg-baker-runtime@^1.2.98:
mitt "1.1.2"
svg-baker "^1.2.0"

svg-baker@^1.2.0, svg-baker@^1.2.7:
svg-baker@^1.2.0:
version "1.2.7"
resolved "https://registry.yarnpkg.com/svg-baker/-/svg-baker-1.2.7.tgz#4147c13b55bc400972af5535c9c50a1508277bf3"
dependencies:
Expand All @@ -5485,6 +5485,23 @@ svg-baker@^1.2.0, svg-baker@^1.2.7:
query-string "^4.3.2"
traverse "^0.6.6"

svg-baker@^1.2.10:
version "1.2.10"
resolved "https://registry.yarnpkg.com/svg-baker/-/svg-baker-1.2.10.tgz#486a44434539142cedc583222c8f2788fd84a0af"
dependencies:
bluebird "^3.5.0"
clone "^2.1.1"
he "^1.1.1"
image-size "^0.5.1"
loader-utils "^1.1.0"
merge-options "0.0.64"
postcss "^5.2.17"
postcss-prefix-selector "^1.6.0"
posthtml-rename-id "^1.0"
posthtml-svg-mode "^1.0"
query-string "^4.3.2"
traverse "^0.6.6"

svgo-loader@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/svgo-loader/-/svgo-loader-1.2.1.tgz#e255cdebf56753ff83bd28d1d7a20762c0df5130"
Expand Down

0 comments on commit 36e6ba6

Please sign in to comment.