From b749185347ab39c2f2b022f10bc9f25925ced8c6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:06:57 +0000 Subject: [PATCH] chore(deps): update dependency @types/jscodeshift to ^0.12.0 (#429) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- ...eshift-npm-0.11.11-eb202d6b48-6224b781cb.zip | Bin 12221 -> 0 bytes ...deshift-npm-0.12.0-59642c1e63-66c2025ee5.zip | Bin 0 -> 12240 bytes package.json | 2 +- transforms/context-any.js | 3 ++- transforms/deprecated-legacy-ref.js | 3 ++- transforms/deprecated-prop-types-types.js | 3 ++- transforms/deprecated-react-child.js | 3 ++- transforms/deprecated-react-fragment.js | 3 ++- transforms/deprecated-react-node-array.js | 3 ++- transforms/deprecated-react-text.js | 3 ++- transforms/deprecated-react-type.js | 3 ++- transforms/deprecated-sfc-element.js | 3 ++- transforms/deprecated-sfc.js | 3 ++- transforms/deprecated-stateless-component.js | 3 ++- .../deprecated-void-function-component.js | 3 ++- transforms/implicit-children.js | 3 ++- transforms/no-implicit-ref-callback-return.js | 3 ++- transforms/preset-18.js | 6 ++++-- transforms/preset-19.js | 6 ++++-- transforms/react-element-default-any-props.js | 3 ++- transforms/refobject-defaults.js | 2 +- transforms/scoped-jsx.js | 3 ++- transforms/useCallback-implicit-any.js | 3 ++- transforms/useRef-required-initial.js | 2 +- yarn.lock | 10 +++++----- 25 files changed, 50 insertions(+), 29 deletions(-) delete mode 100644 .yarn/cache/@types-jscodeshift-npm-0.11.11-eb202d6b48-6224b781cb.zip create mode 100644 .yarn/cache/@types-jscodeshift-npm-0.12.0-59642c1e63-66c2025ee5.zip diff --git a/.yarn/cache/@types-jscodeshift-npm-0.11.11-eb202d6b48-6224b781cb.zip b/.yarn/cache/@types-jscodeshift-npm-0.11.11-eb202d6b48-6224b781cb.zip deleted file mode 100644 index 189205c4a33351a788fa207f3d2ce15fb933cf71..0000000000000000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1Jdl}{ISCdEfD=QBJlwXkFudV&eBl2tSn29gnI&Y3Cv@Sp)k_Zt|LKE zKY(5oHmfQBG10sAk>Q=7+#;pVEst!w_b!l;=+L9A0j3w(P`XtT9*atggu=O2%h^r! zQX|7y$JWpx{3NRN6jx2%{uv+y!sJs*~2p{NwmTSH`*q_(2z#m`#DB%6S zn*Iy;tLcZgP5(>G`Jasw{;TnypT`0^|AFxL>fx{c{HmJ0m3RIE=KH1p2JPQs&$rOG zio3s{I@O_QtBmIVhy6-|F{^y@knsC|vR|9?IHmt^Q)v;S+p-in5P5%c}7ev|k{LiDT4zYM%BNB?Eu z@wK@6J6--;arzhh56Ii`_@mpB*=hW|bI-?NZk^j}?nTLJz>&-W8X_+9$H>%ni) zZx0OqLfhf}9{L~02XFCj6Y0P3jrhNd|9e{fmj5>2`-^W!_8qmyT$)yMuGf)ZstF1`0`TV5PyJ?USIdG4}*$71jIo92SUwaP5=M^ diff --git a/.yarn/cache/@types-jscodeshift-npm-0.12.0-59642c1e63-66c2025ee5.zip b/.yarn/cache/@types-jscodeshift-npm-0.12.0-59642c1e63-66c2025ee5.zip new file mode 100644 index 0000000000000000000000000000000000000000..113fd201d8b4c6613038c308337f9db30980fa31 GIT binary patch literal 12240 zcmbW7bzEG_vhN`TcL`3Apo6=+ySsaEcL?qp+})jE!QI_mf&_Q>$KL1U?!9^M+?)H> zd}hu3G5xKc?&?)tT|XIdkoPD+e_TA}vk-rN`S%U>_0!VIz);)5%D}KmPO& zz(0Pp$6+ec*(HK~b94D1%#^@wrUGVUapY+py$z|b>b;9~@J_JzIol=g**5H@UZB7&~$R0oo zcmtTy(U1B4J4l72m#?f|nJZQ!?jgA(LtWl*Nk=r&T(N~jE(VS}e zc?*_W(S#ofX87bGu|s0y6!a3Mm*DOsnCZas*;(7AaTGh1HF^RA0)F!$V-hvb74?3f z6s)kGd7;Qhp|;E*9)li$IG(`&wPJpGurTf!tOqaE5l57t8SF#3I(OR-Zs7iCvNGGS@0$c{lufKts6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2PsCF#g9`7BiYels+?*@WW`2j(jX-N# zP0*t@#(}KYImx<}2lMV!gIYzGk1YYT6v{S#b`F0}jFizS_&{n#+9@kV^7G0rg>h$T z2fS(Dl8)DV1{|Z&(0A2Obm(6)J{f+@y7VFc}rRz{Fpv@GVYTKcL(?1VE_9RKTeg(0owz&hj7z>||{12eg9} z7>cJbV}w6FJBaNaJzCj&-SEUq#iWPkK4sB3Uz(Ni#K52TY{>V{7#& zrar6_o;oO}A@F2q#FpTRv#28VM<1P;M&UNM)J z{fL?NkBZ#I)Kqm=1@_!CLKd2D2O-l!mFtv6NAedatc>l1CUb&-l_Vh|7*)++y~h|&)eP6AL9PddGwx^d@O*NNP?N}3_F zQZgT3ju-(Qc`$kjp>RRKXMFh;P?B%s!6YMKc!bAeV%9ZyZGUCARxIzB2 zg7ekE{=ANO|M>VvQSZNN`Y+(GrsQv%{+GVA&!UAAcAB_q6&g|82ha7vC4} z_xOJw_cz(!TVro`#eW$a{Pe#!CiQEN{MO9d5dW7M1Csx}ng0;*WyC?j{s1GszV2Ti L2JL@nih=$Qw-|RO literal 0 HcmV?d00001 diff --git a/package.json b/package.json index ef2b802b..88243435 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@changesets/cli": "^2.22.0", "@jest/globals": "^29.0.0", "@types/inquirer": "^9.0.0", - "@types/jscodeshift": "^0.11.3", + "@types/jscodeshift": "^0.12.0", "@types/node": "^20.0.0", "@types/yargs": "^17.0.10", "dedent": "^1.0.0", diff --git a/transforms/context-any.js b/transforms/context-any.js index 3ff8edac..c9f75626 100644 --- a/transforms/context-any.js +++ b/transforms/context-any.js @@ -1,7 +1,8 @@ const parseSync = require("./utils/parseSync"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api * * Summary for Klarna's klapp@19fc4dafed84670398644298bf19c8c2a781dcf8/clients * 28172 Files unmodified diff --git a/transforms/deprecated-legacy-ref.js b/transforms/deprecated-legacy-ref.js index 5b1987b6..bf1d6822 100644 --- a/transforms/deprecated-legacy-ref.js +++ b/transforms/deprecated-legacy-ref.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { renameType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedLegacyRefTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-prop-types-types.js b/transforms/deprecated-prop-types-types.js index 9599eb25..9b1972fd 100644 --- a/transforms/deprecated-prop-types-types.js +++ b/transforms/deprecated-prop-types-types.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { replaceReactType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedPropTypesTypes = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-react-child.js b/transforms/deprecated-react-child.js index 14a14dda..3fd26e6b 100644 --- a/transforms/deprecated-react-child.js +++ b/transforms/deprecated-react-child.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { replaceReactType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedReactChildTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-react-fragment.js b/transforms/deprecated-react-fragment.js index f383f46d..26373d1d 100644 --- a/transforms/deprecated-react-fragment.js +++ b/transforms/deprecated-react-fragment.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { replaceReactType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedReactFragmentTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-react-node-array.js b/transforms/deprecated-react-node-array.js index 3f5724d2..9d071746 100644 --- a/transforms/deprecated-react-node-array.js +++ b/transforms/deprecated-react-node-array.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { replaceReactType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedReactNodeArrayTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-react-text.js b/transforms/deprecated-react-text.js index 31878c27..8cd0e7bb 100644 --- a/transforms/deprecated-react-text.js +++ b/transforms/deprecated-react-text.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { replaceReactType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedReactTextTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-react-type.js b/transforms/deprecated-react-type.js index 45a058fe..95fd8259 100644 --- a/transforms/deprecated-react-type.js +++ b/transforms/deprecated-react-type.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { renameType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedReactTypeTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-sfc-element.js b/transforms/deprecated-sfc-element.js index 2592154f..0b831aa1 100644 --- a/transforms/deprecated-sfc-element.js +++ b/transforms/deprecated-sfc-element.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { renameType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedSFCElementTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-sfc.js b/transforms/deprecated-sfc.js index aa6e97e8..7ac18e9a 100644 --- a/transforms/deprecated-sfc.js +++ b/transforms/deprecated-sfc.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { renameType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedSFCTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-stateless-component.js b/transforms/deprecated-stateless-component.js index 3cf219c4..8f83cf16 100644 --- a/transforms/deprecated-stateless-component.js +++ b/transforms/deprecated-stateless-component.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { renameType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedStatelessComponentTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/deprecated-void-function-component.js b/transforms/deprecated-void-function-component.js index 03f1459a..184ecaf9 100644 --- a/transforms/deprecated-void-function-component.js +++ b/transforms/deprecated-void-function-component.js @@ -2,7 +2,8 @@ const parseSync = require("./utils/parseSync"); const { renameType } = require("./utils/replaceType"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedVoidFunctionComponentTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/implicit-children.js b/transforms/implicit-children.js index 6031c815..969e5bfb 100644 --- a/transforms/implicit-children.js +++ b/transforms/implicit-children.js @@ -1,7 +1,8 @@ const parseSync = require("./utils/parseSync"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api * * Summary for Klarna's klapp@19fc4dafed84670398644298bf19c8c2a781dcf8/clients * 25718 Files unmodified diff --git a/transforms/no-implicit-ref-callback-return.js b/transforms/no-implicit-ref-callback-return.js index 47b621de..2836b0e9 100644 --- a/transforms/no-implicit-ref-callback-return.js +++ b/transforms/no-implicit-ref-callback-return.js @@ -1,7 +1,8 @@ const parseSync = require("./utils/parseSync"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const noImplicitRefCallbackReturnTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/preset-18.js b/transforms/preset-18.js index 7fb45e3b..42abf0e0 100644 --- a/transforms/preset-18.js +++ b/transforms/preset-18.js @@ -7,7 +7,9 @@ const implicitChildrenTransform = require("./implicit-children"); const implicitAnyTransform = require("./useCallback-implicit-any"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api + * @param {import('jscodeshift').Options} options * * Summary for Klarna's klapp@19fc4dafed84670398644298bf19c8c2a781dcf8/clients * 28172 Files unmodified @@ -22,7 +24,7 @@ const transform = (file, api, options) => { const transformNames = new Set(preset18Transforms.split(",")); /** - * @type {import('jscodeshift').Transform[]} + * @type {Array<(file: import('jscodeshift').FileInfo, api: import('jscodeshift').API, options: import('jscodeshift').Options) => string>} */ const transforms = []; if (transformNames.has("context-any")) { diff --git a/transforms/preset-19.js b/transforms/preset-19.js index 748ab3fa..68b699a9 100644 --- a/transforms/preset-19.js +++ b/transforms/preset-19.js @@ -12,14 +12,16 @@ const scopedJsxTransform = require("./scoped-jsx"); const useRefRequiredInitialTransform = require("./useRef-required-initial"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api + * @param {import('jscodeshift').Options} options */ const transform = (file, api, options) => { const { preset19Transforms } = options; const transformNames = new Set(preset19Transforms.split(",")); /** - * @type {import('jscodeshift').Transform[]} + * @type {Array<(file: import('jscodeshift').FileInfo, api: import('jscodeshift').API, options: import('jscodeshift').Options) => string>} */ const transforms = []; if (transformNames.has("deprecated-prop-types-types")) { diff --git a/transforms/react-element-default-any-props.js b/transforms/react-element-default-any-props.js index 1cb27a15..f056003d 100644 --- a/transforms/react-element-default-any-props.js +++ b/transforms/react-element-default-any-props.js @@ -4,7 +4,8 @@ const { } = require("./utils/jscodeshift-bugfixes"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const reactElementDefaultAnyPropsTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/refobject-defaults.js b/transforms/refobject-defaults.js index 56d0070d..6697cb13 100644 --- a/transforms/refobject-defaults.js +++ b/transforms/refobject-defaults.js @@ -3,7 +3,7 @@ const t = require("@babel/types"); const traverse = require("@babel/traverse").default; /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file * * Summary for Klarna's klapp@b560a65cd2 * 1 errors diff --git a/transforms/scoped-jsx.js b/transforms/scoped-jsx.js index b2482932..7923ea06 100644 --- a/transforms/scoped-jsx.js +++ b/transforms/scoped-jsx.js @@ -6,7 +6,8 @@ const { const traverse = require("@babel/traverse").default; /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api */ const deprecatedReactChildTransform = (file, api) => { const j = api.jscodeshift; diff --git a/transforms/useCallback-implicit-any.js b/transforms/useCallback-implicit-any.js index b75a02da..5e2a07d6 100644 --- a/transforms/useCallback-implicit-any.js +++ b/transforms/useCallback-implicit-any.js @@ -1,7 +1,8 @@ const parseSync = require("./utils/parseSync"); /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file + * @param {import('jscodeshift').API} api * * Summary for Klarna's klapp@19fc4dafed84670398644298bf19c8c2a781dcf8/clients * 23154 Files unmodified diff --git a/transforms/useRef-required-initial.js b/transforms/useRef-required-initial.js index 8fb8876f..b2db7f23 100644 --- a/transforms/useRef-required-initial.js +++ b/transforms/useRef-required-initial.js @@ -3,7 +3,7 @@ const t = require("@babel/types"); const traverse = require("@babel/traverse").default; /** - * @type {import('jscodeshift').Transform} + * @param {import('jscodeshift').FileInfo} file * * Summary for Klarna's klapp@? * TODO diff --git a/yarn.lock b/yarn.lock index 9e2bfb69..738f5d64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2213,13 +2213,13 @@ __metadata: languageName: node linkType: hard -"@types/jscodeshift@npm:^0.11.3": - version: 0.11.11 - resolution: "@types/jscodeshift@npm:0.11.11" +"@types/jscodeshift@npm:^0.12.0": + version: 0.12.0 + resolution: "@types/jscodeshift@npm:0.12.0" dependencies: ast-types: ^0.14.1 recast: ^0.20.3 - checksum: 6224b781cbbc8e095cae3cb8f9dd1ca102d6c42d9c882b76ea84dfd0cd43870ce317369480ed6b593352efe9fe7199bd6c40ec2cb37646c474ba15f5b43d2109 + checksum: 66c2025ee500b30c29af4674033711bd5d7c5fcdc37d62c2d5633d39fc5dbdc571abd497aed96bd2313080a3d131ef4d8da5c593f220ec2ff1302e5ce27ebf46 languageName: node linkType: hard @@ -6043,7 +6043,7 @@ __metadata: "@changesets/cli": ^2.22.0 "@jest/globals": ^29.0.0 "@types/inquirer": ^9.0.0 - "@types/jscodeshift": ^0.11.3 + "@types/jscodeshift": ^0.12.0 "@types/node": ^20.0.0 "@types/yargs": ^17.0.10 dedent: ^1.0.0