Update @penpot/plugin-types to v1.4.1, removing corresponding TODO #25

Update @penpot/plugin-styles to v1.4.1
This commit is contained in:
Dominik Jain 2026-01-21 16:15:43 +01:00
parent 669a931b07
commit c931e6978b
3 changed files with 10 additions and 12 deletions

View File

@ -9,8 +9,8 @@
"version": "1.0.0", "version": "1.0.0",
"dependencies": { "dependencies": {
"@penpot-mcp/common": "file:../common", "@penpot-mcp/common": "file:../common",
"@penpot/plugin-styles": "1.3.2", "@penpot/plugin-styles": "1.4.1",
"@penpot/plugin-types": "1.3.2", "@penpot/plugin-types": "1.4.1",
"penpot-mcp": "file:.." "penpot-mcp": "file:.."
}, },
"devDependencies": { "devDependencies": {
@ -496,14 +496,14 @@
"link": true "link": true
}, },
"node_modules/@penpot/plugin-styles": { "node_modules/@penpot/plugin-styles": {
"version": "1.3.2", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/@penpot/plugin-styles/-/plugin-styles-1.3.2.tgz", "resolved": "https://registry.npmjs.org/@penpot/plugin-styles/-/plugin-styles-1.4.1.tgz",
"integrity": "sha512-/xeJpAujCoeN2oMxNsr31EcCpZ2ztmy8LIvG19GEXgwdaRXLWjh6P5FNptk7jBybOMxeI6o18Woy8oB0j+LqYQ==" "integrity": "sha512-6TuJqKQsq1Xmhn2A02R+kCOzIzIdqgFg5z6ncLH2PlAflKIX6aYsGiOF7yFx4RYgCegRVMFPnVis6/hwO+YGQg=="
}, },
"node_modules/@penpot/plugin-types": { "node_modules/@penpot/plugin-types": {
"version": "1.3.2", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/@penpot/plugin-types/-/plugin-types-1.3.2.tgz", "resolved": "https://registry.npmjs.org/@penpot/plugin-types/-/plugin-types-1.4.1.tgz",
"integrity": "sha512-f0kmmZaFNs9sGtSmqmSJQYCs5Qt+KYgTD8RneUjL+Dv+zfNQnd5e4L+iHSYFJ4HWvcDvTiK7F/gya7PwMTu7WA==" "integrity": "sha512-pHE2B3GI8M5JR03S/NdBoN+z6e1R1IEh3vpFbLG9LN0EZpQE6nEbmCo5jWAWI73Jqlg6CHG/RWVJNmWECnkDTA=="
}, },
"node_modules/@rollup/rollup-android-arm-eabi": { "node_modules/@rollup/rollup-android-arm-eabi": {
"version": "4.45.1", "version": "4.45.1",

View File

@ -11,8 +11,8 @@
}, },
"dependencies": { "dependencies": {
"@penpot-mcp/common": "file:../common", "@penpot-mcp/common": "file:../common",
"@penpot/plugin-styles": "1.3.2", "@penpot/plugin-styles": "1.4.1",
"@penpot/plugin-types": "1.3.2", "@penpot/plugin-types": "1.4.1",
"penpot-mcp": "file:.." "penpot-mcp": "file:.."
}, },
"devDependencies": { "devDependencies": {

View File

@ -383,8 +383,6 @@ export class PenpotUtils {
for (const fill of fills) { for (const fill of fills) {
if (fill.fillImage) { if (fill.fillImage) {
const imageData = fill.fillImage; const imageData = fill.fillImage;
// TODO: fix ts-ignore once Penpot types are updated to include data() method
// @ts-ignore
return imageData.data(); return imageData.data();
} }
} }