jimp 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Jimp v0.5.4
2
+ Jimp v0.5.5
3
3
  https://github.com/oliver-moran/jimp
4
4
  Ported for the Web by Phil Seaton
5
5
  MIT License
@@ -1,5 +1,5 @@
1
1
  /*
2
- Jimp v0.5.4
2
+ Jimp v0.5.5
3
3
  https://github.com/oliver-moran/jimp
4
4
  Ported for the Web by Phil Seaton
5
5
  MIT License
package/jimp.d.ts CHANGED
@@ -279,13 +279,13 @@ declare namespace Jimp {
279
279
  x: number,
280
280
  y: number,
281
281
  cb?: GenericCallback<number, any, this>
282
- ): this;
282
+ ): number;
283
283
  getPixelIndex(
284
284
  x: number,
285
285
  y: number,
286
286
  edgeHandling: string,
287
287
  cb?: GenericCallback<number, any, this>
288
- ): this;
288
+ ): number;
289
289
  getPixelColor(
290
290
  x: number,
291
291
  y: number,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jimp",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "An image processing library written entirely in JavaScript (i.e. zero external or native dependencies).",
5
5
  "main": "dist/index.js",
6
6
  "module": "es/index.js",
@@ -76,5 +76,5 @@
76
76
  "test/*.js"
77
77
  ]
78
78
  },
79
- "gitHead": "72634d1c6c614a925bf1bc5e861e3640f5c0bf98"
79
+ "gitHead": "14055cf60e66701987bb148a2d389844dd0e9cb4"
80
80
  }