@kubb/plugin-ts 4.1.2 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{components-CSEFpzdz.js → components-DLoXwJfh.js} +3 -5
- package/dist/{components-CSEFpzdz.js.map → components-DLoXwJfh.js.map} +1 -1
- package/dist/{components-3SwDb74W.cjs → components-GsgfMVz2.cjs} +3 -5
- package/dist/{components-3SwDb74W.cjs.map → components-GsgfMVz2.cjs.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/generators.cjs +2 -2
- package/dist/generators.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/{plugin--SAE5fJd.cjs → plugin-BOIllle2.cjs} +4 -5
- package/dist/{plugin--SAE5fJd.cjs.map → plugin-BOIllle2.cjs.map} +1 -1
- package/dist/{plugin-C6Jg0eqz.js → plugin-DY3KfvGA.js} +4 -5
- package/dist/{plugin-C6Jg0eqz.js.map → plugin-DY3KfvGA.js.map} +1 -1
- package/package.json +9 -9
|
@@ -1250,8 +1250,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
1250
1250
|
function setCurrentlyValidatingElement$1(element) {
|
|
1251
1251
|
if (element) {
|
|
1252
1252
|
var owner = element._owner;
|
|
1253
|
-
|
|
1254
|
-
setExtraStackFrame(stack);
|
|
1253
|
+
setExtraStackFrame(describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null));
|
|
1255
1254
|
} else setExtraStackFrame(null);
|
|
1256
1255
|
}
|
|
1257
1256
|
var propTypesMisspellWarningShown = false;
|
|
@@ -1357,8 +1356,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
1357
1356
|
checkPropTypes(propTypes, element.props, "prop", name, element);
|
|
1358
1357
|
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
1359
1358
|
propTypesMisspellWarningShown = true;
|
|
1360
|
-
|
|
1361
|
-
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
|
1359
|
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", getComponentNameFromType(type) || "Unknown");
|
|
1362
1360
|
}
|
|
1363
1361
|
if (typeof type.getDefaultProps === "function" && !type.getDefaultProps.isReactClassApproved) error("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1364
1362
|
}
|
|
@@ -1937,4 +1935,4 @@ function Type$1({ name, typedName, tree, keysToOmit, schema, optionalType, synta
|
|
|
1937
1935
|
|
|
1938
1936
|
//#endregion
|
|
1939
1937
|
export { OasType, Type$1 as Type };
|
|
1940
|
-
//# sourceMappingURL=components-
|
|
1938
|
+
//# sourceMappingURL=components-DLoXwJfh.js.map
|