Skip to content

Commit

Permalink
Bump semver and zapier-platform-core (#2)
Browse files Browse the repository at this point in the history
* Bump semver and zapier-platform-core

Bumps [semver](https://github.com/npm/node-semver) to 7.5.2 and updates ancestor dependency [zapier-platform-core](https://github.com/zapier/zapier-platform). These dependencies need to be updated together.


Updates `semver` from 7.3.5 to 7.5.2
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](npm/node-semver@v7.3.5...v7.5.2)

Updates `zapier-platform-core` from 12.0.3 to 15.4.1
- [Changelog](https://github.com/zapier/zapier-platform/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zapier/zapier-platform/compare/[email protected]@15.4.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
- dependency-name: zapier-platform-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* code fixes after zapier-platform-core upgrade

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrii Bodnar <[email protected]>
  • Loading branch information
dependabot[bot] and andrii-bodnar authored Oct 9, 2023
1 parent ec503b3 commit 65f3dc7
Show file tree
Hide file tree
Showing 32 changed files with 111 additions and 115 deletions.
2 changes: 1 addition & 1 deletion _shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const getCrowdinConnection = async (z, bundle) => {

// Test connection. Get one language to verify we're good to go.
try {
(await languagesApi.listSupportedLanguages(1)).data
(await languagesApi.listSupportedLanguages({limit: 1})).data
} catch (e) {
//TODO: well, we should better test what went wrong, but most common problem would be expired token
throw new z.errors.RefreshAuthError();
Expand Down
1 change: 0 additions & 1 deletion actions/download_file.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const uploadFile = {
noun: "Download Translated File",
display: {
hidden: false,
important: true,
description: "Downloads the translated file.",
label: "Download Translated File"
},
Expand Down
1 change: 0 additions & 1 deletion actions/translate_mt.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ module.exports = {
noun: "Translation",
display: {
hidden: false,
important: false,
description: "Auto detect source language and translate with selected MT engine.",
label: "Translate via Machine Translation"
},
Expand Down
1 change: 0 additions & 1 deletion actions/upload_file.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const uploadFile = {
noun: "File",
display: {
hidden: false,
important: false,
description: "Uploads a file into Crowdin project.",
label: "Create or Update a File"
},
Expand Down
1 change: 0 additions & 1 deletion actions/upload_screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const uploadFile = {
noun: "Upload Screenshot",
display: {
hidden: false,
important: false,
description: "Adds a screenshot to Crowdin project and tags it automatically (optional).",
label: "Upload Screenshot"
},
Expand Down
1 change: 0 additions & 1 deletion fields/list_files_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ module.exports = {
label: 'List Files',
description: 'Returns a list of project files.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_labels_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ module.exports = {
label: 'List Labels',
description: 'Returns a list of project labels.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_languages_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ module.exports = {
label: 'List Languages',
description: 'Returns a list of Crowdin languages.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_mts_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ module.exports = {
label: 'List Machine Translation Engines',
description: 'Returns a list of machine translation engines.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_project_directories_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ module.exports = {
label: 'List Directories',
description: 'Returns a list of project directories.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_project_members_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ module.exports = {
label: 'List Project Members',
description: 'Returns a list of project members.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_project_workflow_steps_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ module.exports = {
label: 'List Project Workflow Steps',
description: 'Returns a list of project workflow steps.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_projects_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ module.exports = {
label: 'List Projects',
description: 'Returns a list of user projects.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_vendors_dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ module.exports = {
label: 'List Vendors',
description: 'Returns a list of organization vendors.',
hidden: true,
important: false,
}
}
1 change: 0 additions & 1 deletion fields/list_workflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ module.exports = {
label: 'List Workflows',
description: 'Returns a list of user workflows.',
hidden: true,
important: false,
}
}
Loading

0 comments on commit 65f3dc7

Please sign in to comment.