
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
codecept3-upgrade
Advanced tools
Upgrade script for CodeceptJS v3 to automatically migrate tests to the new syntax:
Upgrade script for CodeceptJS v3 to automatically migrate tests to the new syntax:
// CodeceptJS v2 - before
Scenario('title', (I, loginPage) => {});
// CodeceptJS v3 - after
Scenario('title', ({ I, loginPage }) => {});
⚠ This script will change your code. Before using this script - commit all your changes and switch to a new git branch.
Migration is done via "codecept3-upgrade" npx script which can be executed without an installation.
npx codecept3-upgrade
npx codecept3-upgrade tests/
--all
option so all JS files will be parsed:npx codecept3-upgrade tests/ --all
After migration was performed review all the updates, install CodeceptJS v3 and run all tests. If updated tests work correctly - commit your changes.
License MIT
FAQs
Upgrade script for CodeceptJS v3 to automatically migrate tests to the new syntax:
We found that codecept3-upgrade demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.