imagescript 3.20.2 → 3.20.3

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.
package/dist/image.d.ts CHANGED
@@ -595,6 +595,8 @@ export declare class Image {
595
595
  /**
596
596
  * Yields an [x, y] array for every pixel in the image (0-based), row by row
597
597
  * @yields The coordinates of the pixel ([x, y])
598
+ * @deprecated Use {@link Image.pixels}, which yields `[x, y, color]`: `coordinates()` will be removed in 4.0
599
+ * @group Deprecated
598
600
  */
599
601
  coordinates(): Generator<[x: number, y: number], void, undefined>;
600
602
  /**
@@ -605,7 +607,7 @@ export declare class Image {
605
607
  /**
606
608
  * Yields an [x, y] array for every pixel in the image (0-based)
607
609
  * @yields The coordinates of the pixel ([x, y])
608
- * @deprecated Use {@link Image.coordinates}, iterating over the image will be removed in 4.0
610
+ * @deprecated Use {@link Image.pixels}, which yields `[x, y, color]`: iterating over the image will be removed in 4.0
609
611
  * @group Deprecated
610
612
  */
611
613
  [Symbol.iterator](): Generator<[x: number, y: number], void, undefined>;
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '3.20.2';
1
+ export const VERSION = '3.20.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imagescript",
3
- "version": "3.20.2",
3
+ "version": "3.20.3",
4
4
  "description": "Pure TypeScript image processing that runs everywhere",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",