Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
ava-codemods
Advanced tools
Codemods for AVA
Codemods to simplify upgrading AVA versions.
Codemods are small programs that help you automate changes to your codebase. Think of them as search and replace on steroids.
This module contains a set of codemods that enable you to upgrade your code between various AVA releases. It is maintained by the AVA team, and will be updated anytime we introduce breaking API changes. We plan to eventually introduce codemods that allow you to switch from other popular Runners like mocha
and tap
.
$ npm install --global ava-codemods
$ ava-codemods --help
Codemods to simplify upgrading AVA versions
Usage
$ ava-codemods [<file|glob> ...]
Options
--force, -f Bypass safety checks and forcibly run codemods
Available upgrades
- 0.13.x → 0.14.x
Simply run ava-codemods
in your terminal and answer a few questions. You can pass a filename directly to the CLI. If you do not, you will be prompted for one.
Ensure you have a backup of your tests or commit the latest changes before running this.
t.ok()
to t.truthy()
t.notOk()
to t.falsy()
t.same()
to t.deepEqual()
t.notSame()
to t.notDeepEqual()
MIT © James Talmage
FAQs
Codemods to simplify upgrading AVA versions
The npm package ava-codemods receives a total of 10 weekly downloads. As such, ava-codemods popularity was classified as not popular.
We found that ava-codemods demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.