@jimp/png
Advanced tools
Comparing version 0.18.0--canary.1135.911ed04.0 to 0.18.0
@@ -0,1 +1,25 @@ | ||
# v0.18.0 (Sun Feb 05 2023) | ||
### Release Notes | ||
#### switch from browserify to webpack ([#1140](https://github.com/jimp-dev/jimp/pull/1140)) | ||
This PR can be considered a breaking change as it remove the `jimp.min.js` file. | ||
Instead there is now only the `jimp.js` file and we ship source maps for it. | ||
We also configured the `browser` field so jimp will be automatically bundled better | ||
--- | ||
#### 💥 Breaking Change | ||
- switch from browserify to webpack [#1140](https://github.com/jimp-dev/jimp/pull/1140) ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
#### Authors: 1 | ||
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
--- | ||
# v0.16.3 (Sat Feb 04 2023) | ||
@@ -2,0 +26,0 @@ |
@@ -46,4 +46,2 @@ "use strict"; | ||
return _pngjs.PNG.sync.write(png, { | ||
width: data.bitmap.width, | ||
height: data.bitmap.height, | ||
deflateLevel: data._deflateLevel, | ||
@@ -50,0 +48,0 @@ deflateStrategy: data._deflateStrategy, |
{ | ||
"name": "@jimp/png", | ||
"version": "0.18.0--canary.1135.911ed04.0", | ||
"version": "0.18.0", | ||
"description": "Default Jimp png encoder/decoder.", | ||
"main": "dist/index.js", | ||
"module": "es/index.js", | ||
"repository": "jimp-dev/jimp", | ||
"types": "index.d.ts", | ||
@@ -24,4 +25,4 @@ "scripts": { | ||
"@babel/runtime": "^7.7.2", | ||
"@jimp/utils": "0.18.0--canary.1135.911ed04.0", | ||
"pngjs": "^3.3.3" | ||
"@jimp/utils": "^0.18.0", | ||
"pngjs": "^6.0.0" | ||
}, | ||
@@ -32,4 +33,5 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@jimp/custom": "0.18.0--canary.1135.911ed04.0", | ||
"@jimp/test-utils": "0.18.0--canary.1135.911ed04.0" | ||
"@jimp/custom": "^0.18.0", | ||
"@jimp/test-utils": "^0.18.0", | ||
"@types/pngjs": "^6.0.1" | ||
}, | ||
@@ -39,3 +41,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "911ed043b27a0eda4407a6f51d6511f12f5ef140" | ||
"gitHead": "ad95e29bc4780fa93d9d8dba76337acf4cd450b0" | ||
} |
@@ -39,4 +39,2 @@ import { PNG } from "pngjs"; | ||
return PNG.sync.write(png, { | ||
width: data.bitmap.width, | ||
height: data.bitmap.height, | ||
deflateLevel: data._deflateLevel, | ||
@@ -43,0 +41,0 @@ deflateStrategy: data._deflateStrategy, |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
257058
13
471
3
+ Added@jimp/utils@0.18.0(transitive)
+ Addedpngjs@6.0.0(transitive)
- Removed@jimp/utils@0.18.0--canary.1135.911ed04.0(transitive)
Updated@jimp/utils@^0.18.0
Updatedpngjs@^6.0.0