[{"data":1,"prerenderedAt":1204,"buildId":1205},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Freference\u002Fdeprecations":3},{"id":4,"title":5,"body":6,"description":1186,"extension":1187,"frontmatter":1188,"heading":1193,"meta":1195,"navigation":1197,"order":1191,"path":1198,"seo":1199,"sitemap":1200,"source":1201,"stem":1202,"__hash__":1203},"docs\u002Fdocs\u002F5.x\u002Freference\u002Fdeprecations.md","Deprecations - APIs removed in Kubb v6",{"type":7,"value":8,"toc":1176},"minimark",[9,13,18,392,396,544,559,563,1079,1083,1145,1149],[10,11,12],"p",{},"Kubb v6 removes every API on this page. Each one still works in v5. Move to the replacement before you upgrade.",[14,15,17],"h2",{"id":16},"kubb-core","@kubb\u002Fcore",[19,20,21,34],"table",{},[22,23,24],"thead",{},[25,26,27,31],"tr",{},[28,29,30],"th",{},"Deprecated",[28,32,33],{},"Use instead",[35,36,37,55,69,83,108,127,147,167,205,232,247,263,275,291,307,331,355],"tbody",{},[25,38,39,46],{},[40,41,42],"td",{},[43,44,45],"code",{},"definePlugin",[40,47,48,51,52],{},[43,49,50],{},"defineExtension"," with ",[43,53,54],{},"kind: 'plugin'",[25,56,57,62],{},[40,58,59],{},[43,60,61],{},"defineParser",[40,63,64,51,66],{},[43,65,50],{},[43,67,68],{},"kind: 'parser'",[25,70,71,76],{},[40,72,73],{},[43,74,75],{},"createAdapter",[40,77,78,51,80],{},[43,79,50],{},[43,81,82],{},"kind: 'adapter'",[25,84,85,90],{},[40,86,87],{},[43,88,89],{},"BuildOutput.driver",[40,91,92,95,96,99,100,103,104,107],{},[43,93,94],{},"files",", ",[43,97,98],{},"input"," and ",[43,101,102],{},"storage"," on the same result, and ",[43,105,106],{},"kubb.config"," for the plugins",[25,109,110,116],{},[40,111,112,115],{},[43,113,114],{},"ctx.driver"," in plugin hooks",[40,117,118,95,121,99,124],{},[43,119,120],{},"schemas",[43,122,123],{},"getPlugin",[43,125,126],{},"memo",[25,128,129,139],{},[40,130,131,134,135,138],{},[43,132,133],{},"Parser.inline"," as an ",[43,136,137],{},"InlineLanguage"," object",[40,140,141,143,144],{},[43,142,133],{}," as a function, ",[43,145,146],{},"(files) => InlineResult",[25,148,149,154],{},[40,150,151],{},[43,152,153],{},"driver.getResolver(pluginName)",[40,155,156,159,160,163,164],{},[43,157,158],{},"ctx.getResolver(pluginName)"," in a template, or ",[43,161,162],{},"getResolver(pluginName)"," from ",[43,165,166],{},"kubb\u002Fkit",[25,168,169,200],{},[40,170,171,95,174,95,177,95,180,95,183,95,186,95,189,95,192,95,195,163,198],{},[43,172,173],{},"addGenerator",[43,175,176],{},"setResolver",[43,178,179],{},"setMacros",[43,181,182],{},"addMacro",[43,184,185],{},"createResolver",[43,187,188],{},"defineResolver",[43,190,191],{},"defineGenerator",[43,193,194],{},"toFilePath",[43,196,197],{},"Resolver",[43,199,17],{},[40,201,202,203],{},"The same names from ",[43,204,166],{},[25,206,207,219],{},[40,208,209,99,212,215,216],{},[43,210,211],{},"adapter.document",[43,213,214],{},"adapter.sources",", which follow the last ",[43,217,218],{},"parse()",[40,220,221,99,224,227,228,231],{},[43,222,223],{},"document",[43,225,226],{},"sources"," on the result of ",[43,229,230],{},"adapter.parse()",", which belong to that one call",[25,233,234,241],{},[40,235,236,163,239],{},[43,237,238],{},"assertPluginOption",[43,240,17],{},[40,242,243,163,245],{},[43,244,238],{},[43,246,166],{},[25,248,249,254],{},[40,250,251],{},[43,252,253],{},"driver.inputNode",[40,255,256,259,260,262],{},[43,257,258],{},"driver.input.node",", next to the ",[43,261,226],{}," that parse read",[25,264,265,270],{},[40,266,267],{},[43,268,269],{},"KubbDriver",[40,271,272],{},[43,273,274],{},"Driver",[25,276,277,286],{},[40,278,279,282,283],{},[43,280,281],{},"CreateKubbOptions"," type, also re-exported from ",[43,284,285],{},"kubb",[40,287,288],{},[43,289,290],{},"KubbOptions",[25,292,293,302],{},[40,294,295,99,298,301],{},[43,296,297],{},"Exclude",[43,299,300],{},"Include"," types",[40,303,304],{},[43,305,306],{},"Filter",[25,308,309,320],{},[40,310,311,95,314,95,317],{},[43,312,313],{},"runHook",[43,315,316],{},"HookResult",[43,318,319],{},"RunHookOptions",[40,321,322,95,325,95,328],{},[43,323,324],{},"runCommand",[43,326,327],{},"CommandResult",[43,329,330],{},"RunCommandOptions",[25,332,333,344],{},[40,334,335,95,338,95,341,301],{},[43,336,337],{},"KubbHookStartContext",[43,339,340],{},"KubbHookLineContext",[43,342,343],{},"KubbHookEndContext",[40,345,346,95,349,95,352],{},[43,347,348],{},"KubbCommandStartContext",[43,350,351],{},"KubbCommandLineContext",[43,353,354],{},"KubbCommandEndContext",[25,356,357,375],{},[40,358,359,95,362,95,365,95,368,95,371,374],{},[43,360,361],{},"kubb:hooks:start",[43,363,364],{},"kubb:hook:start",[43,366,367],{},"kubb:hook:line",[43,369,370],{},"kubb:hook:end",[43,372,373],{},"kubb:hooks:end"," events, which still fire",[40,376,377,95,380,95,383,95,386,95,389],{},[43,378,379],{},"kubb:commands:start",[43,381,382],{},"kubb:command:start",[43,384,385],{},"kubb:command:line",[43,387,388],{},"kubb:command:end",[43,390,391],{},"kubb:commands:end",[14,393,395],{"id":394},"kubb-kit","@kubb\u002Fkit",[19,397,398,406],{},[22,399,400],{},[25,401,402,404],{},[28,403,30],{},[28,405,33],{},[35,407,408,420,431,444,455,472,484,496,508,520,532],{},[25,409,410,414],{},[40,411,412],{},[43,413,45],{},[40,415,416,51,418],{},[43,417,50],{},[43,419,54],{},[25,421,422,426],{},[40,423,424],{},[43,425,191],{},[40,427,428],{},[43,429,430],{},"defineTemplate",[25,432,433,437],{},[40,434,435],{},[43,436,173],{},[40,438,439,99,441],{},[43,440,430],{},[43,442,443],{},"addTemplate",[25,445,446,450],{},[40,447,448],{},[43,449,179],{},[40,451,452],{},[43,453,454],{},"addMacro(...macros)",[25,456,457,463],{},[40,458,459,462],{},[43,460,461],{},"Generator"," type",[40,464,465,51,468,99,470],{},[43,466,467],{},"Template",[43,469,430],{},[43,471,443],{},[25,473,474,479],{},[40,475,476],{},[43,477,478],{},"camelCase",[40,480,481],{},[43,482,483],{},"casing.camel",[25,485,486,491],{},[40,487,488],{},[43,489,490],{},"pascalCase",[40,492,493],{},[43,494,495],{},"casing.pascal",[25,497,498,503],{},[40,499,500],{},[43,501,502],{},"extractRefName",[40,504,505],{},[43,506,507],{},"ast.ref.getName",[25,509,510,515],{},[40,511,512],{},[43,513,514],{},"syncSchemaRef",[40,516,517],{},[43,518,519],{},"ast.ref.mergeSchema",[25,521,522,527],{},[40,523,524],{},[43,525,526],{},"isStringType",[40,528,529],{},[43,530,531],{},"ast.schema.is(node, 'string')",[25,533,534,539],{},[40,535,536],{},[43,537,538],{},"macroSimplifyUnion",[40,540,541],{},[43,542,543],{},"macroDedupeUnion",[10,545,546,547,550,551,554,555,558],{},"In Kubb v6, ",[43,548,549],{},"ctx.printer"," in a template is typed as possibly ",[43,552,553],{},"undefined",", as it is at runtime when the plugin registers no printer. Check it before you use it, for example with ",[43,556,557],{},"if (!ctx.printer) return null",".",[14,560,562],{"id":561},"kubb-ast","@kubb\u002Fast",[19,564,565,573],{},[22,566,567],{},[25,568,569,571],{},[28,570,30],{},[28,572,33],{},[35,574,575,587,598,612,624,636,648,660,672,684,696,708,720,735,747,759,771,783,796,809,821,833,845,857,869,881,899,910,925,941,959,981,993,1006,1023,1037,1058],{},[25,576,577,582],{},[40,578,579],{},[43,580,581],{},"isBareRef",[40,583,584],{},[43,585,586],{},"ast.ref.isAlias",[25,588,589,594],{},[40,590,591],{},[43,592,593],{},"mergeRefWithSchema",[40,595,596],{},[43,597,519],{},[25,599,600,608],{},[40,601,602,95,605],{},[43,603,604],{},"refName",[43,606,607],{},"resolveRefName",[40,609,610],{},[43,611,507],{},[25,613,614,619],{},[40,615,616],{},[43,617,618],{},"resolveRef",[40,620,621],{},[43,622,623],{},"ast.ref.getSchema",[25,625,626,631],{},[40,627,628],{},[43,629,630],{},"collectImportedRefNames",[40,632,633],{},[43,634,635],{},"ast.graph.getImportedNames",[25,637,638,643],{},[40,639,640],{},[43,641,642],{},"collectSchemaRefs",[40,644,645],{},[43,646,647],{},"ast.graph.getRefNames",[25,649,650,655],{},[40,651,652],{},[43,653,654],{},"collectUsedSchemaNames",[40,656,657],{},[43,658,659],{},"ast.graph.getUsedNames",[25,661,662,667],{},[40,663,664],{},[43,665,666],{},"findCircularSchemas",[40,668,669],{},[43,670,671],{},"ast.graph.getCircularNames",[25,673,674,679],{},[40,675,676],{},[43,677,678],{},"getSchemaLiteralValues",[40,680,681],{},[43,682,683],{},"ast.schema.getLiterals",[25,685,686,691],{},[40,687,688],{},[43,689,690],{},"inferDiscriminatorPropertyName",[40,692,693],{},[43,694,695],{},"ast.schema.inferDiscriminator",[25,697,698,703],{},[40,699,700],{},[43,701,702],{},"resolveSchemaProperties",[40,704,705],{},[43,706,707],{},"ast.schema.findProperties",[25,709,710,715],{},[40,711,712],{},[43,713,714],{},"isHttpOperationNode",[40,716,717],{},[43,718,719],{},"ast.http.isOperation",[25,721,722,730],{},[40,723,724,95,727],{},[43,725,726],{},"collect",[43,728,729],{},"collectSync",[40,731,732],{},[43,733,734],{},"ast.node.collect",[25,736,737,742],{},[40,738,739],{},[43,740,741],{},"optionality",[40,743,744],{},[43,745,746],{},"ast.schema.applyOptionality",[25,748,749,754],{},[40,750,751],{},[43,752,753],{},"extractStringsFromNodes",[40,755,756],{},[43,757,758],{},"ast.node.getText",[25,760,761,766],{},[40,762,763],{},[43,764,765],{},"compareEnforce",[40,767,768],{},[43,769,770],{},"ast.macro.compareOrder",[25,772,773,778],{},[40,774,775],{},[43,776,777],{},"applyMacros",[40,779,780],{},[43,781,782],{},"ast.macro.apply",[25,784,785,790],{},[40,786,787],{},[43,788,789],{},"createPrinter",[40,791,792,163,794],{},[43,793,789],{},[43,795,395],{},[25,797,798,803],{},[40,799,800],{},[43,801,802],{},"defineMacro",[40,804,805,163,807],{},[43,806,802],{},[43,808,395],{},[25,810,811,816],{},[40,812,813],{},[43,814,815],{},"nodeKinds",[40,817,818],{},[43,819,820],{},"ast.node.kinds",[25,822,823,828],{},[40,824,825],{},[43,826,827],{},"schemaTypes",[40,829,830],{},[43,831,832],{},"ast.schema.types",[25,834,835,840],{},[40,836,837],{},[43,838,839],{},"findSchema",[40,841,842],{},[43,843,844],{},"ast.schema.find",[25,846,847,852],{},[40,848,849],{},[43,850,851],{},"narrowSchema",[40,853,854],{},[43,855,856],{},"ast.schema.narrow",[25,858,859,864],{},[40,860,861],{},[43,862,863],{},"transform",[40,865,866],{},[43,867,868],{},"ast.node.transform",[25,870,871,876],{},[40,872,873],{},[43,874,875],{},"inlineFiles",[40,877,878],{},[43,879,880],{},"ast.file.inline",[25,882,883,889],{},[40,884,885,95,887],{},[43,886,880],{},[43,888,137],{},[40,890,891,892,895,896],{},"The ",[43,893,894],{},"Parser.inline(files)"," hook, as in ",[43,897,898],{},"parserTs",[25,900,901,906],{},[40,902,903],{},[43,904,905],{},"ast.schema.isString",[40,907,908],{},[43,909,531],{},[25,911,912,920],{},[40,913,914,917,918],{},[43,915,916],{},"followRefs"," option of ",[43,919,839],{},[40,921,922],{},[43,923,924],{},"follow: ['ref']",[25,926,927,936],{},[40,928,929,932,933],{},[43,930,931],{},"ImportNode"," ",[43,934,935],{},"name",[40,937,938],{},[43,939,940],{},"names",[25,942,943,953],{},[40,944,945,99,947,932,950],{},[43,946,931],{},[43,948,949],{},"ExportNode",[43,951,952],{},"isTypeOnly",[40,954,955,958],{},[43,956,957],{},"space: 'type'"," on each name",[25,960,961,973],{},[40,962,963,932,965,95,968,932,970],{},[43,964,931],{},[43,966,967],{},"isNameSpace",[43,969,949],{},[43,971,972],{},"asAlias",[40,974,975,978,979],{},[43,976,977],{},"{ name: '*', alias }"," in ",[43,980,940],{},[25,982,983,989],{},[40,984,985,932,987],{},[43,986,949],{},[43,988,935],{},[40,990,991],{},[43,992,940],{},[25,994,995,1002],{},[40,996,997,932,1000],{},[43,998,999],{},"SourceNode",[43,1001,952],{},[40,1003,1004],{},[43,1005,957],{},[25,1007,1008,1018],{},[40,1009,1010,932,1012,95,1015],{},[43,1011,999],{},[43,1013,1014],{},"isExportable",[43,1016,1017],{},"isIndexable",[40,1019,1020],{},[43,1021,1022],{},"export",[25,1024,1025,1032],{},[40,1026,1027,932,1029],{},[43,1028,999],{},[43,1030,1031],{},"inline",[40,1033,1034,1036],{},[43,1035,1031],{}," on the file",[25,1038,1039,1050],{},[40,1040,1041,932,1044,95,1047],{},[43,1042,1043],{},"ObjectSchemaNode",[43,1045,1046],{},"minProperties",[43,1048,1049],{},"maxProperties",[40,1051,1052,95,1055],{},[43,1053,1054],{},"min",[43,1056,1057],{},"max",[25,1059,1060,1071],{},[40,1061,1062,932,1065,95,1068],{},[43,1063,1064],{},"NumberSchemaNode",[43,1066,1067],{},"exclusiveMinimum",[43,1069,1070],{},"exclusiveMaximum",[40,1072,1073,95,1076],{},[43,1074,1075],{},"exclusive.min",[43,1077,1078],{},"exclusive.max",[14,1080,1082],{"id":1081},"kubb-renderer-jsx","@kubb\u002Frenderer-jsx",[19,1084,1085,1093],{},[22,1086,1087],{},[25,1088,1089,1091],{},[28,1090,30],{},[28,1092,33],{},[35,1094,1095,1125],{},[25,1096,1097,1102],{},[40,1098,1099],{},[43,1100,1101],{},"File.Source",[40,1103,1104,1107,1108,1111,1112,95,1115,1107,1118,1121,1122],{},[43,1105,1106],{},"Code"," or ",[43,1109,1110],{},"Raw",", or ",[43,1113,1114],{},"Const",[43,1116,1117],{},"Type",[43,1119,1120],{},"Function"," directly in ",[43,1123,1124],{},"File",[25,1126,1127,1138],{},[40,1128,1129,1131,1132,95,1134,99,1136],{},[43,1130,1031],{}," prop on ",[43,1133,1114],{},[43,1135,1117],{},[43,1137,1120],{},[40,1139,1140,1142,1143],{},[43,1141,1031],{}," on the ",[43,1144,1124],{},[14,1146,1148],{"id":1147},"kubb-parser-ts","@kubb\u002Fparser-ts",[19,1150,1151,1159],{},[22,1152,1153],{},[25,1154,1155,1157],{},[28,1156,30],{},[28,1158,33],{},[35,1160,1161],{},[25,1162,1163,1173],{},[40,1164,1165,1168,1169,1172],{},[43,1166,1167],{},"TsNode"," (compiler nodes passed to ",[43,1170,1171],{},"print",")",[40,1174,1175],{},"Printed strings",{"title":1177,"searchDepth":1178,"depth":1178,"links":1179},"",5,[1180,1182,1183,1184,1185],{"id":16,"depth":1181,"text":17},2,{"id":394,"depth":1181,"text":395},{"id":561,"depth":1181,"text":562},{"id":1081,"depth":1181,"text":1082},{"id":1147,"depth":1181,"text":1148},"Every deprecated Kubb v5 API, the package it ships in, and what to use instead before Kubb v6 removes it.","md",{"layout":1189,"title":5,"description":1186,"outline":1190,"order":1191,"navigation":1192},"doc",[1181],9,{"title":1193,"icon":1194},"Deprecations","i-iconoir-warning-circle",{"layout":1189,"outline":1196},[1181],{"title":1193,"icon":1194},"\u002Fdocs\u002F5.x\u002Freference\u002Fdeprecations",{"title":5,"description":1186},{"loc":1198},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Freference\u002Fdeprecations.md","docs\u002F5.x\u002Freference\u002Fdeprecations","BWKsiVs6mLivr4OhI9aTWwDxeAcUGtBmtw0Egz1lIQ8",1795989034093,"2e8b4c62-5b8c-4587-97c0-530d08a9bd53"]