Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
ecc8c77
feat(`axios-to-whatwg-fetch`): introduce metrics
AugustinMauroy Jul 19, 2026
b102b7e
feat(`buffer-atob-btoa`): introduce metrics
AugustinMauroy Jul 19, 2026
9de3f8a
feat(`create-require-from-path`): introduce metrics
AugustinMauroy Jul 19, 2026
cad4a91
feat(`createCredentials-to-createSecureContext`): introduce metrics
AugustinMauroy Jul 20, 2026
f7c8d70
feat(`crypto-createcipheriv-migration`): introduce metrics
AugustinMauroy Jul 20, 2026
8c09428
feat(`crypto-fips-to-getFips`): introduce metrics
AugustinMauroy Jul 20, 2026
d354af2
feat(`crypto-rsa-pss-update`): introduce metrics
AugustinMauroy Jul 20, 2026
e48b060
feat(`dirent-path-to-parent-path`): introduce metrics
AugustinMauroy Jul 20, 2026
f1c6bd2
feat(`err-invalid-callback`): introduce metrics
AugustinMauroy Jul 20, 2026
14c918a
feat(`fs-access-mode-constants`): introduce metrics
AugustinMauroy Jul 20, 2026
c22b1a7
feat(`fs-truncate-fd-deprecation`): introduce metrics
AugustinMauroy Jul 20, 2026
e2d5503
feat(http-classes-with-new): introduce metrics
AugustinMauroy Jul 20, 2026
61eac1b
feat(`http-outgoingmessage-headers`): introduce metrics
AugustinMauroy Jul 20, 2026
ce809da
feat(`http2-priority-signaling`): introduce metrics
AugustinMauroy Jul 20, 2026
9460534
feat(`import-assertions-to-attributes`): introduce metrics
AugustinMauroy Jul 20, 2026
76e5606
feat(`mocha-to-node-test-runner`): introduce metrics
AugustinMauroy Jul 20, 2026
9eab2de
feat(`mock-module-exports`): introduce
AugustinMauroy Jul 20, 2026
ce3e5ed
feat(`node-url-to-whatwg-url`): introduce metrics
AugustinMauroy Jul 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions recipes/axios-to-whatwg-fetch/src/remove-dependencies.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { Transform } from '@codemod.com/jssg-types/main';
import type Json from '@codemod.com/jssg-types/langs/json';
import type { Codemod } from 'codemod:ast-grep';
import type Json from 'codemod:ast-grep/langs/json';
import removeDependencies from '@nodejs/codemod-utils/remove-dependencies';

/**
* Remove `axios` and `@types/axios` dependencies from package.json
*/
const transform: Transform<Json> = async (root) => {
const transform: Codemod<Json> = async (root) => {
return removeDependencies(['axios', '@types/axios'], {
packageJsonPath: root.filename(),
runInstall: false,
Expand Down
Loading