ag-psd 20.2.1 → 20.2.2

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": "20.2.1",
3
+ "version": "20.2.2",
4
4
  "description": "Library for reading and writing PSD files",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist-es/index.js",
@@ -1717,7 +1717,7 @@ type SoLdDescriptorFilterItem = {
1717
1717
  'Fl ': string;
1718
1718
  };
1719
1719
  } | {
1720
- filterID: 991;
1720
+ filterID: 991 | 943; // TODO: why 2 different IDs? do we need to handle them separately?
1721
1721
  Fltr: {
1722
1722
  _name: 'Rigid Transform';
1723
1723
  _classID: 'rigidTransform';
@@ -2358,6 +2358,7 @@ function parseFilterFXItem(f: SoLdDescriptorFilterItem): Filter {
2358
2358
  undefinedAreas: FlMd.decode(f.Fltr['Fl ']),
2359
2359
  },
2360
2360
  };
2361
+ case 943:
2361
2362
  case 991: return {
2362
2363
  ...base,
2363
2364
  type: 'puppet',
@@ -2476,6 +2477,7 @@ function parseFilterFXItem(f: SoLdDescriptorFilterItem): Filter {
2476
2477
  };
2477
2478
  }
2478
2479
  default:
2480
+ // console.log('FILTER', require('util').inspect(f, false, 99, true));
2479
2481
  throw new Error(`Unknown filterID: ${(f as any).filterID}`);
2480
2482
  }
2481
2483
  }