pdfkit 0.19.0 → 0.19.1

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.
@@ -3841,7 +3841,7 @@ class JPEG {
3841
3841
  pos += 2;
3842
3842
  this.width = this.data.readUInt16BE(pos);
3843
3843
  pos += 2;
3844
- const channels = this.data[pos + 1];
3844
+ const channels = this.data[pos];
3845
3845
  this.colorSpace = COLOR_SPACE_MAP[channels];
3846
3846
  this.obj = null;
3847
3847
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "document",
10
10
  "vector"
11
11
  ],
12
- "version": "0.19.0",
12
+ "version": "0.19.1",
13
13
  "homepage": "http://pdfkit.org/",
14
14
  "author": {
15
15
  "name": "Devon Govett",
@@ -80,5 +80,5 @@
80
80
  "engine": [
81
81
  "node >= v20.0.0"
82
82
  ],
83
- "packageManager": "yarn@4.10.3"
83
+ "packageManager": "yarn@4.16.0"
84
84
  }