Comparing version 6.0.0 to 7.0.0
{ | ||
"name": "pngjs", | ||
"version": "6.0.0", | ||
"version": "7.0.0", | ||
"description": "PNG encoder/decoder in pure JS, supporting any bit size & interlace, async & sync with full test suite.", | ||
@@ -33,3 +33,3 @@ "contributors": [ | ||
"engines": { | ||
"node": ">=12.13.0" | ||
"node": ">=14.19.0" | ||
}, | ||
@@ -50,3 +50,3 @@ "main": "./lib/png.js", | ||
"browserify": "browserify lib/png.js --standalone png > browser.js", | ||
"coverage": "nyc --reporter=lcov --reporter=text-summary tape test/*-spec.js nolarge", | ||
"coverage": "nyc --reporter=lcov --reporter=text-summary tape test/*-spec.js", | ||
"test": "yarn lint && yarn prettier:check && tape test/*-spec.js | tap-dot && node test/run-compare", | ||
@@ -59,22 +59,21 @@ "lint": "eslint .", | ||
"type": "git", | ||
"url": "git://github.com/lukeapage/pngjs.git" | ||
"url": "git://github.com/pngjs/pngjs.git" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/lukeapage/pngjs/issues" | ||
"url": "https://github.com/pngjs/pngjs/issues" | ||
}, | ||
"devDependencies": { | ||
"browserify": "17.0.0", | ||
"buffer-equal": "1.0.0", | ||
"codecov": "3.7.1", | ||
"buffer-equal": "1.0.1", | ||
"connect": "3.7.0", | ||
"eslint": "7.8.1", | ||
"eslint-config-prettier": "6.14.0", | ||
"eslint": "8.34.0", | ||
"eslint-config-prettier": "8.6.0", | ||
"nyc": "15.1.0", | ||
"prettier": "2.1.1", | ||
"puppeteer": "5.4.0", | ||
"serve-static": "1.14.1", | ||
"prettier": "2.8.4", | ||
"puppeteer": "19.7.1", | ||
"serve-static": "1.15.0", | ||
"tap-dot": "2.0.0", | ||
"tape": "5.0.1" | ||
"tape": "5.6.3" | ||
} | ||
} |
148
README.md
@@ -1,2 +0,2 @@ | ||
[![Build Status](https://travis-ci.com/lukeapage/pngjs.svg?branch=master)](https://travis-ci.com/lukeapage/pngjs) [![Build status](https://ci.appveyor.com/api/projects/status/qo5x8ayutr028108/branch/master?svg=true)](https://ci.appveyor.com/project/lukeapage/pngjs/branch/master) [![codecov](https://codecov.io/gh/lukeapage/pngjs/branch/master/graph/badge.svg)](https://codecov.io/gh/lukeapage/pngjs) [![npm version](https://badge.fury.io/js/pngjs.svg)](http://badge.fury.io/js/pngjs) | ||
![build](https://github.com/pngjs/pngjs/actions/workflows/ci.yml/badge.svg?branch=main) [![codecov](https://codecov.io/gh/pngjs/pngjs/branch/master/graph/badge.svg)](https://codecov.io/gh/pngjs/pngjs) [![npm version](https://badge.fury.io/js/pngjs.svg)](http://badge.fury.io/js/pngjs) | ||
@@ -288,147 +288,1 @@ # pngjs | ||
``` | ||
# Changelog | ||
### 6.0.0 - 24/10/2020 | ||
- BREAKING - Sync version now throws if there is unexpected content at the end of the stream. | ||
- BREAKING - Drop support for node 10 (Though nothing incompatible in this release yet) | ||
- Reduce the number of files included in the package | ||
### 5.1.0 - 13/09/2020 | ||
- Add option to skip rescaling | ||
### 5.0.0 - 15/04/2020 | ||
- Drop support for Node 8 | ||
- Browserified bundle may now contain ES20(15-20) code if the supported node version supports it. Please run the browserified version through babel if you need to support older browsers. | ||
### 4.0.1 - 15/04/2020 | ||
- Fix to possible null reference in nextTick of async method | ||
### 4.0.0 - 09/04/2020 | ||
- Fix issue in newer nodes with using Buffer | ||
- Fix async issue with some png files | ||
- Drop support for Node 4 & 6 | ||
### 3.4.0 - 09/03/2019 | ||
- Include whether the png has alpha in the meta data | ||
- emit an error if the image is truncated instead of hanging | ||
- Add a browserified version | ||
- speed up some mapping functions | ||
### 3.3.3 - 19/04/2018 | ||
- Real fix for node 9 | ||
### 3.3.2 - 16/02/2018 | ||
- Fix for node 9 | ||
### 3.3.1 - 15/11/2017 | ||
- Bugfixes and removal of es6 | ||
### 3.3.0 | ||
- Add writing 16 bit channels and support for grayscale input | ||
### 3.2.0 - 30/04/2017 | ||
- Support for encoding 8-bit grayscale images | ||
### 3.1.0 - 30/04/2017 | ||
- Support for pngs with zlib chunks that are malformed after valid data | ||
### 3.0.1 - 16/02/2017 | ||
- Fix single pixel pngs | ||
### 3.0.0 - 03/08/2016 | ||
- Drop support for node below v4 and iojs. Pin to 2.3.0 to use with old, unsupported or patched node versions. | ||
### 2.3.0 - 22/04/2016 | ||
- Support for sync in node 0.10 | ||
### 2.2.0 - 04/12/2015 | ||
- Add sync write api | ||
- Fix newfile example | ||
- Correct comparison table | ||
### 2.1.0 - 28/10/2015 | ||
- rename package to pngjs | ||
- added 'bgColor' option | ||
### 2.0.0 - 08/10/2015 | ||
- fixes to readme | ||
- _breaking change_ - bitblt on the png prototype now doesn't take a unused, unnecessary src first argument | ||
### 1.2.0 - 13/09/2015 | ||
- support passing colorType to write PNG's and writing bitmaps without alpha information | ||
### 1.1.0 - 07/09/2015 | ||
- support passing a deflate factory for controlled compression | ||
### 1.0.2 - 22/08/2015 | ||
- Expose all PNG creation info | ||
### 1.0.1 - 21/08/2015 | ||
- Fix non square interlaced files | ||
### 1.0.0 - 08/08/2015 | ||
- More tests | ||
- source linted | ||
- maintainability refactorings | ||
- async API - exceptions in reading now emit warnings | ||
- documentation improvement - sync api now documented, adjustGamma documented | ||
- breaking change - gamma chunk is now written. previously a read then write would destroy gamma information, now it is persisted. | ||
### 0.0.3 - 03/08/2015 | ||
- Error handling fixes | ||
- ignore files for smaller npm footprint | ||
### 0.0.2 - 02/08/2015 | ||
- Bugfixes to interlacing, support for transparent colours | ||
### 0.0.1 - 02/08/2015 | ||
- Initial release, see pngjs for older changelog. | ||
# License | ||
(The MIT License) | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
650101
11
27
18268
288