Skip to content

Commit

Permalink
fix(deps): update dependency inquirer to v12 (#430)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: eps1lon <[email protected]>
  • Loading branch information
renovate[bot] and eps1lon authored Dec 2, 2024
1 parent c1d5400 commit 2d18d36
Show file tree
Hide file tree
Showing 38 changed files with 208 additions and 188 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/bl-npm-4.1.0-7f94cdcf3f-9e8521fa7e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/ora-npm-5.4.1-4f0343adb7-28d476ee6c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 8 additions & 2 deletions bin/types-react-codemod.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ const yargs = require("yargs/yargs");
const { hideBin } = require("yargs/helpers");
const path = require("path");

/** @type {import('inquirer').CheckboxChoiceOptions[]} */
/**
* @typedef {object} CheckboxChoice
* @property {boolean} checked
* @property {string} value
*/

/** @type {CheckboxChoice[]} */
const preset18Choices = [
{ checked: false, value: "context-any" },
{ checked: true, value: "deprecated-react-type" },
Expand All @@ -19,7 +25,7 @@ const preset18Choices = [
{ checked: false, value: "useCallback-implicit-any" },
];

/** @type {import('inquirer').CheckboxChoiceOptions[]} */
/** @type {CheckboxChoice[]} */
const preset19Choices = [
{ checked: true, value: "deprecated-legacy-ref" },
{ checked: true, value: "deprecated-prop-types-types" },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@babel/parser": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@babel/types": "^7.17.8",
"inquirer": "^9.0.0",
"inquirer": "^12.0.0",
"jscodeshift": "^17.0.0",
"yargs": "^17.4.0"
},
Expand Down
Loading

0 comments on commit 2d18d36

Please sign in to comment.