ag-psd 28.3.0 → 28.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-psd",
3
- "version": "28.3.0",
3
+ "version": "28.3.1",
4
4
  "description": "Library for reading and writing PSD files",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist-es/index.js",
@@ -331,11 +331,9 @@ addHandler(
331
331
  writeZeros(writer, 4);
332
332
  }
333
333
 
334
- if (vectorMask.fillStartsWithAllPixels !== undefined) {
335
- writeUint16(writer, 8);
336
- writeUint16(writer, vectorMask.fillStartsWithAllPixels ? 1 : 0);
337
- writeZeros(writer, 22);
338
- }
334
+ writeUint16(writer, 8);
335
+ writeUint16(writer, vectorMask.fillStartsWithAllPixels ? 1 : 0);
336
+ writeZeros(writer, 22);
339
337
 
340
338
  for (const path of vectorMask.paths) {
341
339
  writeUint16(writer, path.open ? 3 : 0);