UNPKG

pngcrush

Version:

The pngcrush utility as a readable/writable stream

127 lines (92 loc) 13.1 kB
### v2.1.1 (2020-09-23) - [#38](https://github.com/papandreou/node-pngcrush/pull/38) Clone pngCrushArgs passed in ([Gustav Nikolaj Olsen](mailto:gno@one.com)) - [#36](https://github.com/papandreou/node-pngcrush/pull/36) Upgrade prettier to version 2.1.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#35](https://github.com/papandreou/node-pngcrush/pull/35) Upgrade eslint-plugin-mocha to version 8.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) ### v2.1.0 (2020-07-22) #### Pull requests - [#33](https://github.com/papandreou/node-pngcrush/pull/33) Upgrade pngcrush-bin to version 5.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#32](https://github.com/papandreou/node-pngcrush/pull/32) Upgrade eslint-plugin-mocha to version 7.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#31](https://github.com/papandreou/node-pngcrush/pull/31) Upgrade eslint to version 7.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#28](https://github.com/papandreou/node-pngcrush/pull/28) Upgrade sinon to version 9.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#27](https://github.com/papandreou/node-pngcrush/pull/27) Upgrade mocha to version 7.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#26](https://github.com/papandreou/node-pngcrush/pull/26) Upgrade eslint-plugin-node to version 11.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#24](https://github.com/papandreou/node-pngcrush/pull/24) Upgrade nyc to version 15.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#25](https://github.com/papandreou/node-pngcrush/pull/25) Upgrade sinon to version 8.0.1 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#23](https://github.com/papandreou/node-pngcrush/pull/23) Upgrade which to version 2.0.1 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#22](https://github.com/papandreou/node-pngcrush/pull/22) Upgrade eslint-plugin-node to version 10.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#21](https://github.com/papandreou/node-pngcrush/pull/21) Upgrade eslint-config-standard to version 14.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#20](https://github.com/papandreou/node-pngcrush/pull/20) Upgrade eslint-plugin-mocha to version 6.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#19](https://github.com/papandreou/node-pngcrush/pull/19) Upgrade eslint-config-standard to version 13.0.1 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#18](https://github.com/papandreou/node-pngcrush/pull/18) Upgrade eslint-config-prettier to version 6.0.0 ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [#16](https://github.com/papandreou/node-pngcrush/pull/16) Upgrade eslint-config-prettier to version 5.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) - [#15](https://github.com/papandreou/node-pngcrush/pull/15) Upgrade unexpected-stream to version 4.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) - [#13](https://github.com/papandreou/node-pngcrush/pull/13) Upgrade nyc to version 14.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) #### Commits to master - [Pass windowsHide:true to childProcess.spawn](https://github.com/papandreou/node-pngcrush/commit/25e48c62556d78886d072de63181c50299e5a665) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) - [Only run lint on node.js 12 on CI, enable for latest node.js as well](https://github.com/papandreou/node-pngcrush/commit/99894f3d440f3aaa8e922f1fcec42b9ca95d4778) ([Andreas Lind](mailto:andreas.lind@peakon.com)) - [Also enable prettier for markdown files](https://github.com/papandreou/node-pngcrush/commit/9bd4c8db2c4f7e96aef07f4a0ccf0ff2448ea3cc) ([Andreas Lind](mailto:andreas.lind@peakon.com)) - [prettier --write '\*\*\/\*.{js,md}'](https://github.com/papandreou/node-pngcrush/commit/475c17abb74018036edb7d1c2639daeda2e96cc4) ([Andreas Lind](mailto:andreas.lind@peakon.com)) - [Update prettier to version 2.0.2](https://github.com/papandreou/node-pngcrush/commit/03efe4b61b8292b9ef8ed495e7d4a7aefa58523c) ([depfu[bot]](mailto:23717796+depfu[bot]@users.noreply.github.com)) - [+11 more](https://github.com/papandreou/node-pngcrush/compare/v2.0.1...v2.1.0) ### v2.0.1 (2019-03-03) #### Pull requests - [#12](https://github.com/papandreou/node-pngcrush/pull/12) Upgrade mocha to version 6.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) - [#11](https://github.com/papandreou/node-pngcrush/pull/11) Upgrade unexpected to version 11.0.0 ([Andreas Lind](mailto:andreas.lind@peakon.com), [depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) - [#10](https://github.com/papandreou/node-pngcrush/pull/10) Upgrade pngcrush-bin to version 4.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) - [#9](https://github.com/papandreou/node-pngcrush/pull/9) Upgrade sinon to version 7.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) - [#8](https://github.com/papandreou/node-pngcrush/pull/8) Upgrade unexpected-stream to version 3.0.0 ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) #### Commits to master - [Move coveralls to the after\_success step on Travis](https://github.com/papandreou/node-pngcrush/commit/1de8a26147c88c99d5203a9542d246c76a9f9899) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) - [npm run {travis => ci}](https://github.com/papandreou/node-pngcrush/commit/47182870277ffc5c24702c01cf6354f70a3c1934) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) - [Replace istanbul with nyc](https://github.com/papandreou/node-pngcrush/commit/fcad4000eb4eb8b72305a4ba2517deb3d600251b) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) - [Update coveralls to version 3.0.2](https://github.com/papandreou/node-pngcrush/commit/68e624d1f780dde475bebd0f6c4cc80194582c93) ([depfu[bot]](mailto:depfu[bot]@users.noreply.github.com)) - [Don't run lint at the end of npm test](https://github.com/papandreou/node-pngcrush/commit/b1c44d0809451f290ee4873a551770b1de3db663) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) - [+11 more](https://github.com/papandreou/node-pngcrush/compare/v2.0.0...v2.0.1) ### v2.0.0 (2018-07-10) - [Travis: Ditch old before\_install, only run on node 4, 6, 8, and 9](https://github.com/papandreou/node-pngcrush/commit/c3270a2627172ab64099599ff4a944340dc9a885) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) - [Update author's email](https://github.com/papandreou/node-pngcrush/commit/96cdb55884591d8454f196589471543988889404) ([Andreas Lind](mailto:andreaslindpetersen@gmail.com)) - [Update gettemporaryfilepath, memoizeasync, pngcrush-bin, and which.](https://github.com/papandreou/node-pngcrush/commit/36bc4ade1a9d30c0307cc7b7ae64e14399ac7164) ([Andreas Lind](mailto:andreas@one.com)) - [Use ^ version ranges for dev deps.](https://github.com/papandreou/node-pngcrush/commit/1b6e428e2d75d3734947782ce42569d0b4f94cab) ([Andreas Lind](mailto:andreas@one.com)) - [Travis: Build with node.js 4, 6, and 7.](https://github.com/papandreou/node-pngcrush/commit/d80c7848f4c740aef47fab166ff843b78583e0ec) ([Andreas Lind](mailto:andreas@one.com)) - [+1 more](https://github.com/papandreou/node-pngcrush/compare/v1.1.1...v2.0.0) ### v1.1.1 (2016-11-11) - [Stand at pngcrush-png 3.0.0 as 3.1.0 seems to be causing problems with optipng: https:\/\/travis-ci.org\/assetgraph\/assetgraph-builder\/jobs\/174813961\#L1769-L1772](https://github.com/papandreou/node-pngcrush/commit/d44c1d88e1e6b1eed39c56afd6b8e7b709ec185c) ([Andreas Lind](mailto:andreas@one.com)) ### v1.1.0 (2016-08-19) #### Pull requests - [#4](https://github.com/papandreou/node-pngcrush/pull/4) Move testing deps to devDependencies ([Thomas Grainger](mailto:tagrain@gmail.com)) #### Commits to master - [Update deps, switch to ^ version ranges.](https://github.com/papandreou/node-pngcrush/commit/894db212af9aea46ea43f56b13c31da49854ecc1) ([Andreas Lind](mailto:andreas@one.com)) - [Update dev deps.](https://github.com/papandreou/node-pngcrush/commit/44dc6c73a41ce54f79973ec4f2b58804d1f2cf42) ([Andreas Lind](mailto:andreas@one.com)) - [package.json: Fix dangling comma, order dependencies asciibetically, remove dupe.](https://github.com/papandreou/node-pngcrush/commit/3c1a048f9455a12d50dbd243dce935f8f1488ce5) ([Andreas Lind](mailto:andreas@one.com)) ### v1.0.0 (2016-03-31) - [Implement destroy method, try harder to avoid resource leaks when things fail.](https://github.com/papandreou/node-pngcrush/commit/1291b1dfd176d1cc839f995f0b42900401d6dcf1) ([Andreas Lind](mailto:andreas@one.com)) - [.jshintrc: Disable es3 mode.](https://github.com/papandreou/node-pngcrush/commit/cf7a81e695fa7101eff2205fd1959596d74c0d93) ([Andreas Lind](mailto:andreas@one.com)) - [Travis: Build on node.js 4.1](https://github.com/papandreou/node-pngcrush/commit/184d54d688090fd746c498e0f0a43ec3f4a39cf2) ([Andreas Lind](mailto:andreas@one.com)) ### v0.2.0 (2015-09-20) - [Fixed retrieval of the pngcrush bin path from the pngcrush-bin module.](https://github.com/papandreou/node-pngcrush/commit/3dc9c4bc90bdad12dcfda37f2e036c7092456d87) ([Andreas Lind](mailto:andreas@one.com)) - [Added editorconfig](https://github.com/papandreou/node-pngcrush/commit/5e7b16d8672911e5a31c583d5da0e063d838a425) ([Peter Müller](mailto:munter@fumle.dk)) - [Use pngcrush-bin as a fallback when binary is not installed at the system level](https://github.com/papandreou/node-pngcrush/commit/29971e6331bca0b934591d0fb3835b492cec1c33) ([Peter Müller](mailto:munter@fumle.dk)) - [Travis: Build on iojs-v2.5.0.](https://github.com/papandreou/node-pngcrush/commit/63f18c9e2db9dbde294dc94bde1fd19fbaa2da26) ([Andreas Lind](mailto:andreas@one.com)) - [Use unexpected-stream.](https://github.com/papandreou/node-pngcrush/commit/f74547c6860a51415b52b8c3e642750cd97b75b7) ([Andreas Lind](mailto:andreas@one.com)) - [+8 more](https://github.com/papandreou/node-pngcrush/compare/v0.1.0...v0.2.0) ### v0.1.0 (2014-09-22) - [Don't fs.createWriteStream until the first .write call.](https://github.com/papandreou/node-pngcrush/commit/53d87eecc868e948f2011ce90062893a26c2342c) ([Andreas Lind](mailto:andreas@one.com)) ### v0.0.5 (2014-05-27) - [Expose the command line as a public property.](https://github.com/papandreou/node-pngcrush/commit/7ff536757d1f433e24f161cea99f995338767f3e) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [Prevent emitting more than one error event.](https://github.com/papandreou/node-pngcrush/commit/fb9ddb54221dd675f2fb156cc5e15e252c9dd077) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [Update unexpected to 3.2.0.](https://github.com/papandreou/node-pngcrush/commit/09ea982f50a288bb3da87fb39d55736fbbfc2f4e) ([Andreas Lind Petersen](mailto:andreas@one.com)) ### v0.0.4 (2014-03-25) - [Forward errors emitted by the child process to the PngCrush instance.](https://github.com/papandreou/node-pngcrush/commit/6024ebf55b00dfc48c2848801dc2c5fe7ea77502) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [package.json: Indent with 2 spaces.](https://github.com/papandreou/node-pngcrush/commit/e888f2752017fd24308b094b87502b679ad817fb) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [Test: Replace expect.js with unexpected.](https://github.com/papandreou/node-pngcrush/commit/2a974f389f0317f3bb8387792b0b49296f998c0a) ([Andreas Lind Petersen](mailto:andreas@one.com)) ### v0.0.3 - [Release 0.0.3.](https://github.com/papandreou/node-pngcrush/commit/0d66e75cf76c45f785ab88d6b6a079267507f726) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [Emit an error if the pngcrush process doesn't write to the designated output file.](https://github.com/papandreou/node-pngcrush/commit/cf60d720d0e0867fc2a0e51d49978f503e8961dd) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [package.json: One more keyword.](https://github.com/papandreou/node-pngcrush/commit/5c28ca1c787f228954a3d8132f7530b487ff8638) ([Andreas Lind Petersen](mailto:andreas@one.com)) ### v0.0.2 - [Release 0.0.2.](https://github.com/papandreou/node-pngcrush/commit/08dd9502032393ec2598ed90a7155cf7b8a7c9a4) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [Stream the incoming chunks to disc using a fs.WriteStream instead of buffering.](https://github.com/papandreou/node-pngcrush/commit/9c55a68ef9663c52d61ca0d7c6bf0a7e770da612) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [Emit an error if pngcrush exits with a non-zero exit code.](https://github.com/papandreou/node-pngcrush/commit/b4ae3466603b544f4026636fdb0977969225ddd2) ([Andreas Lind Petersen](mailto:andreas@one.com)) - [README: Made it clear that the pngcrush binary is required.](https://github.com/papandreou/node-pngcrush/commit/f639b9580cead656d78fa2c6e07ff54f5d715fc9) ([Andreas Lind Petersen](mailto:andreas@one.com)) ### v0.0.1 - [Initial commit, release 0.0.1.](https://github.com/papandreou/node-pngcrush/commit/1f28d886fea354939b695b01334c73fe5b05c557) ([Andreas Lind Petersen](mailto:andreas@one.com))