From c931e6978b7f2226828c7eb5adbd4675257ddcba Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Wed, 21 Jan 2026 16:15:43 +0100 Subject: [PATCH] Update @penpot/plugin-types to v1.4.1, removing corresponding TODO #25 Update @penpot/plugin-styles to v1.4.1 --- penpot-plugin/package-lock.json | 16 ++++++++-------- penpot-plugin/package.json | 4 ++-- penpot-plugin/src/PenpotUtils.ts | 2 -- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/penpot-plugin/package-lock.json b/penpot-plugin/package-lock.json index bc2a745..247c02f 100644 --- a/penpot-plugin/package-lock.json +++ b/penpot-plugin/package-lock.json @@ -9,8 +9,8 @@ "version": "1.0.0", "dependencies": { "@penpot-mcp/common": "file:../common", - "@penpot/plugin-styles": "1.3.2", - "@penpot/plugin-types": "1.3.2", + "@penpot/plugin-styles": "1.4.1", + "@penpot/plugin-types": "1.4.1", "penpot-mcp": "file:.." }, "devDependencies": { @@ -496,14 +496,14 @@ "link": true }, "node_modules/@penpot/plugin-styles": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@penpot/plugin-styles/-/plugin-styles-1.3.2.tgz", - "integrity": "sha512-/xeJpAujCoeN2oMxNsr31EcCpZ2ztmy8LIvG19GEXgwdaRXLWjh6P5FNptk7jBybOMxeI6o18Woy8oB0j+LqYQ==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@penpot/plugin-styles/-/plugin-styles-1.4.1.tgz", + "integrity": "sha512-6TuJqKQsq1Xmhn2A02R+kCOzIzIdqgFg5z6ncLH2PlAflKIX6aYsGiOF7yFx4RYgCegRVMFPnVis6/hwO+YGQg==" }, "node_modules/@penpot/plugin-types": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@penpot/plugin-types/-/plugin-types-1.3.2.tgz", - "integrity": "sha512-f0kmmZaFNs9sGtSmqmSJQYCs5Qt+KYgTD8RneUjL+Dv+zfNQnd5e4L+iHSYFJ4HWvcDvTiK7F/gya7PwMTu7WA==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@penpot/plugin-types/-/plugin-types-1.4.1.tgz", + "integrity": "sha512-pHE2B3GI8M5JR03S/NdBoN+z6e1R1IEh3vpFbLG9LN0EZpQE6nEbmCo5jWAWI73Jqlg6CHG/RWVJNmWECnkDTA==" }, "node_modules/@rollup/rollup-android-arm-eabi": { "version": "4.45.1", diff --git a/penpot-plugin/package.json b/penpot-plugin/package.json index 08db87c..64518e9 100644 --- a/penpot-plugin/package.json +++ b/penpot-plugin/package.json @@ -11,8 +11,8 @@ }, "dependencies": { "@penpot-mcp/common": "file:../common", - "@penpot/plugin-styles": "1.3.2", - "@penpot/plugin-types": "1.3.2", + "@penpot/plugin-styles": "1.4.1", + "@penpot/plugin-types": "1.4.1", "penpot-mcp": "file:.." }, "devDependencies": { diff --git a/penpot-plugin/src/PenpotUtils.ts b/penpot-plugin/src/PenpotUtils.ts index 83e89c6..88bcc9c 100644 --- a/penpot-plugin/src/PenpotUtils.ts +++ b/penpot-plugin/src/PenpotUtils.ts @@ -383,8 +383,6 @@ export class PenpotUtils { for (const fill of fills) { if (fill.fillImage) { const imageData = fill.fillImage; - // TODO: fix ts-ignore once Penpot types are updated to include data() method - // @ts-ignore return imageData.data(); } }