Skip to content

Commit

Permalink
Merge pull request #729 from assetgraph/fix/build
Browse files Browse the repository at this point in the history
Fix the build
  • Loading branch information
papandreou committed May 25, 2020
2 parents 058b4cc + cfe0280 commit 4539fc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@
"esanimate": "^1.1.0",
"estraverse": "^5.0.0",
"extend": "^3.0.0",
"gm-papandreou": "^1.23.0-patch1",
"histogram": "^3.0.1",
"impro": "~0.7.0",
"inkscape": "^2.0.0",
"jpegtran": "^1.0.6",
"lodash": "^4.14.1",
"memoizesync": "^1.1.1",
Expand All @@ -58,6 +60,7 @@
"passerror": "^1.1.1",
"pngcrush": "^2.0.1",
"pngquant": "^3.0.0",
"sharp": "^0.23.4",
"urltools": "^0.4.1"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions test/transforms/processImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ describe('processImages', function () {
[
urlTools.resolveUrl(
assetGraph.root,
'purplealpha24bit.pngquant-speed11.png'
'purplealpha24bit.pngquant-ncolors11.png'
),
urlTools.resolveUrl(assetGraph.root, 'redalpha24bit.png?irrelevant'),
urlTools.resolveUrl(
assetGraph.root,
'redalpha24bit.pngquant-speed5.png'
'redalpha24bit.pngquant-ncolors5.png'
),
]
);
Expand Down Expand Up @@ -343,7 +343,7 @@ it('should handle a test case with a couple of pngs', async function () {
);

const redAlpha24BitPngquanted = assetGraph.findAssets({
fileName: 'redalpha24bit.pngquant-speed5.png',
fileName: 'redalpha24bit.pngquant-ncolors5.png',
})[0];
expect(_.toArray(redAlpha24BitPngquanted.rawSrc.slice(0, 4)), 'to equal', [
0x89,
Expand Down

0 comments on commit 4539fc8

Please sign in to comment.