diff --git a/components/hubspot/actions/retrieve-workflows/retrieve-workflows.mjs b/components/hubspot/actions/retrieve-workflows/retrieve-workflows.mjs index 60b3288ae3359..2f47ca4133eef 100644 --- a/components/hubspot/actions/retrieve-workflows/retrieve-workflows.mjs +++ b/components/hubspot/actions/retrieve-workflows/retrieve-workflows.mjs @@ -4,7 +4,7 @@ export default { key: "hubspot-retrieve-workflows", name: "Retrieve Workflows", description: "Retrieve a list of all workflows. [See the documentation](https://developers.hubspot.com/docs/api-reference/legacy/create-manage-workflows-v3/get-automation-v3-workflows)", - version: "0.0.2", + version: "0.0.3", type: "action", props: { hubspot, @@ -13,8 +13,7 @@ export default { const response = await this.hubspot.listWorkflows({ $, }); - - $.export("$summary", `Successfully retrieved ${response.results.length} workflows`); + $.export("$summary", `Successfully retrieved ${response.results?.length || 0} workflows`); return response; }, }; diff --git a/components/hubspot/package.json b/components/hubspot/package.json index 25b26175c573b..14883b284a1dc 100644 --- a/components/hubspot/package.json +++ b/components/hubspot/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/hubspot", - "version": "1.7.8", + "version": "1.7.9", "description": "Pipedream Hubspot Components", "main": "hubspot.app.mjs", "keywords": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 062c1df861b93..cba127e23863d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17039,14 +17039,14 @@ packages: '@apify/consts@2.43.0': resolution: {integrity: sha512-6bhzXeftGa+MrO0XwHLLBJyP9Vc2gZXsbk3d8rcDmiEMJwChA+Qw1WD6BWI9zVazPeXb2OrjzOwfe05f59RD4g==} - '@apify/consts@2.44.1': - resolution: {integrity: sha512-d3/IGuJRLtqDizBA0ZWKrH+U9/gt9k7A9bJE64KKsTi58WfkL7MTsmWf/XBsr1wrju+eAFiZPMwFicoyLlLDug==} + '@apify/consts@2.45.0': + resolution: {integrity: sha512-wcYcd9dVbs/Zu9DchFliXbJrgmhh4gCTUtgzbW7qDUaPQRBxyC3pp+b2RNcQ24t9wR/tRqHBt293cFkJe83ITg==} - '@apify/log@2.5.22': - resolution: {integrity: sha512-2b5bYTgHHnl36LE6JjtEc1QoieiwzKzDVajdTyuQTlgJP06SRGL9lDHqMn/unpdYE0ViZgLfWvLMQ3uBen+dog==} + '@apify/log@2.5.23': + resolution: {integrity: sha512-etaX8CYbHAwssB91GFZ+DP7L5HO11fBj3Av0jz7WNP/OJiij2OlSws9WuJaVq3x2KsO2zVbMVpRSUnRo+DLpNQ==} - '@apify/utilities@2.19.0': - resolution: {integrity: sha512-DKZT4XNt40eeo+FOgvuknX/XiYK+H7IYoZKKUQQFx/iG0Chs+vPgz4Bj4ciak0IS+xTacTC245cixulLzJ7yjA==} + '@apify/utilities@2.19.1': + resolution: {integrity: sha512-FXrP3tSdTMmPyNuvjP/kdwjRdpIMqYhtNVjlJ7QBMS1wCBTSA43ydyT47uMiRFN0U4GYmMnVNYz6hiPFojGILg==} '@apimatic/schema@0.6.0': resolution: {integrity: sha512-JgG32LQRLphHRWsn64vIt7wD2m+JH46swM6ZrY7g1rdiGiKV5m+A+TBrJKoUUQRmS14azMgePNZY30NauWqzLg==} @@ -30980,22 +30980,22 @@ packages: superagent@3.8.1: resolution: {integrity: sha512-VMBFLYgFuRdfeNQSMLbxGSLfmXL/xc+OO+BZp41Za/NRDBet/BNbkRJrYzCUu0u4GU0i/ml2dtT8b9qgkw9z6Q==} engines: {node: '>= 4.0'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net superagent@4.1.0: resolution: {integrity: sha512-FT3QLMasz0YyCd4uIi5HNe+3t/onxMyEho7C3PSqmti3Twgy2rXT4fmkTz6wRL6bTF4uzPcfkUCa8u4JWHw8Ag==} engines: {node: '>= 6.0'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net superagent@5.3.1: resolution: {integrity: sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==} engines: {node: '>= 7.0.0'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net superagent@7.1.6: resolution: {integrity: sha512-gZkVCQR1gy/oUXr+kxJMLDjla434KmSOKbx5iGD30Ql+AkJQ/YlPKECJy2nhqOsHLjGHzoDTXNSjhnvWhzKk7g==} engines: {node: '>=6.4.0 <13 || >=14'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net supports-color@10.0.0: resolution: {integrity: sha512-HRVVSbCCMbj7/kdWF9Q+bbckjBHLtHMEoJWlkmYzzdwhYMkjkOwubLM6t7NbWKjgKamGDrWL1++KrjUO1t9oAQ==} @@ -32644,17 +32644,17 @@ snapshots: '@apify/consts@2.43.0': {} - '@apify/consts@2.44.1': {} + '@apify/consts@2.45.0': {} - '@apify/log@2.5.22': + '@apify/log@2.5.23': dependencies: - '@apify/consts': 2.44.1 + '@apify/consts': 2.45.0 ansi-colors: 4.1.3 - '@apify/utilities@2.19.0': + '@apify/utilities@2.19.1': dependencies: - '@apify/consts': 2.44.1 - '@apify/log': 2.5.22 + '@apify/consts': 2.45.0 + '@apify/log': 2.5.23 '@apimatic/schema@0.6.0': dependencies: @@ -41739,8 +41739,8 @@ snapshots: apify-client@2.17.0: dependencies: '@apify/consts': 2.43.0 - '@apify/log': 2.5.22 - '@apify/utilities': 2.19.0 + '@apify/log': 2.5.23 + '@apify/utilities': 2.19.1 '@crawlee/types': 3.15.0 agentkeepalive: 4.5.0 async-retry: 1.3.3 @@ -42407,7 +42407,7 @@ snapshots: chalk: 5.4.1 cli-boxes: 3.0.0 string-width: 7.2.0 - type-fest: 4.27.0 + type-fest: 4.41.0 widest-line: 5.0.0 wrap-ansi: 9.0.0 @@ -43707,7 +43707,7 @@ snapshots: dot-prop@9.0.0: dependencies: - type-fest: 4.27.0 + type-fest: 4.41.0 dotenv@16.4.7: {} @@ -50867,7 +50867,7 @@ snapshots: dependencies: find-up-simple: 1.0.1 read-pkg: 9.0.1 - type-fest: 4.27.0 + type-fest: 4.41.0 read-pkg@5.2.0: dependencies: