Repository navigation
chore(deps): Clear the yarn.lock security alerts of the Zapier app - #51
Merged
Merged
Conversation
- Refresh the lockfile entries of @babel/traverse, brace-expansion, braces, cross-spawn, decode-uri-component, js-yaml, lodash, micromatch, minimatch, moment and picomatch inside their ranges. - zapier-platform-core and zapier-platform-schema 17.4.0 to 19.3.0. Version 19.3.0 pins form-data 4.0.6 and lodash 4.18.1. - jest 26 to 29. Jest 29 drops jsdom, node-notifier and micromatch 3 from the tree. - @typescript-eslint 6 to 8. Version 8 uses minimatch 11. The new no-require-imports rule replaces no-var-requires, so the config turns it off too. The built app definition is the same except platformVersion. yarn audit finds 0 vulnerabilities.
There was a problem hiding this comment.
🟡 Changes recommended
The upgrade leaves contributor and tutorial instructions on CLI 17 and the obsolete executable, so the documented validation and invocation commands no longer match the app’s required CLI 19 dependency.
1 open issue
What changed in this PR
Updates the Zapier app’s dependency stack to address security alerts while retaining the Yarn 1 workflow and existing app behavior.
Changes:
- Upgrades Zapier Platform Core and Schema to 19.3.0.
- Upgrades Jest and TypeScript ESLint packages.
- Disables the newly introduced
@typescript-eslint/no-require-importsrule.
| File | Description |
|---|---|
| package.json | Updates Zapier platform, Jest, and TypeScript ESLint dependency versions. |
| .eslintrc.json | Disables the new @typescript-eslint/no-require-imports rule for existing CommonJS imports. |
Review effort: Lite
| "moment": "^2.29.1", | ||
| "moment-timezone": "^0.5.37", | ||
| "zapier-platform-core": "17.4.0" | ||
| "zapier-platform-core": "19.3.0" |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Clears the Dependabot alerts on
yarn.lock, the lockfile of the Zapier app. The package manager stays Yarn 1.What changes
@babel/traverse,brace-expansion,braces3,cross-spawn,decode-uri-component,js-yaml,lodash,micromatch,minimatch3,momentandpicomatch@babel/traverse,brace-expansion,braces,js-yaml,minimatch3,moment,picomatch, onedecode-uri-componentzapier-platform-coreandzapier-platform-schema17.4.0 to 19.3.0form-data4 andlodash, which version 17 pins to 4.0.1 and 4.17.21jest26 to 29 (dev)@tootallnate/once,braces2,decode-uri-component,form-data3,tough-cookie,uuid,ws(jsdom, node-notifier and micromatch 3 leave the tree)@typescript-eslint/eslint-pluginand@typescript-eslint/parser6 to 8 (dev)minimatch9 (version 8 uses minimatch 11).eslintrc.json: turn off@typescript-eslint/no-require-importsno-var-requires, which the config already turns offThe alerts for
@babel/core,browserslist,flatted,json5,sha.jsand the rest oftough-cookieandwspoint at versions that #42 already replaced. They close when Dependabot scansmasteragain.Why the major bumps are safe
index.jswith every function as source text differs only inplatformVersion(17.4.0 to 19.3.0). The trigger, action and search keys, the input fields and the samples do not change.yarn lint,yarn buildandyarn testpass locally on Node 22. The tests are the same 3 suites and 42 tests as onmaster.yarn auditfinds 0 vulnerabilities, against 2 after the refresh alone.afterResponsethat reads a 429 and does not useskipCleanArrayInputData. Version 19 removes thezapierbinary from the CLI only.Before the next Zapier release
pushuses platform 19.3.0, and Zapier runs platform 18 and up on Node.js 22.zapier-platform-cli19 for that push. Version 19 names the commandzapier-platforminstead ofzapier.Not changed
src/.packages/n8n-nodes-taskadeandpackages/make-app-taskade.