@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
|
@@ -1255,8 +1255,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
1255
1255
|
function setCurrentlyValidatingElement$1(element) {
|
|
1256
1256
|
if (element) {
|
|
1257
1257
|
var owner = element._owner;
|
|
1258
|
-
|
|
1259
|
-
setExtraStackFrame(stack);
|
|
1258
|
+
setExtraStackFrame(describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null));
|
|
1260
1259
|
} else setExtraStackFrame(null);
|
|
1261
1260
|
}
|
|
1262
1261
|
var propTypesMisspellWarningShown = false;
|
|
@@ -1362,8 +1361,7 @@ var require_react_development = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
1362
1361
|
checkPropTypes(propTypes, element.props, "prop", name, element);
|
|
1363
1362
|
} else if (type.PropTypes !== void 0 && !propTypesMisspellWarningShown) {
|
|
1364
1363
|
propTypesMisspellWarningShown = true;
|
|
1365
|
-
|
|
1366
|
-
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _name || "Unknown");
|
|
1364
|
+
error("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", getComponentNameFromType(type) || "Unknown");
|
|
1367
1365
|
}
|
|
1368
1366
|
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.");
|
|
1369
1367
|
}
|
|
@@ -1959,4 +1957,4 @@ Object.defineProperty(exports, '__toESM', {
|
|
|
1959
1957
|
return __toESM;
|
|
1960
1958
|
}
|
|
1961
1959
|
});
|
|
1962
|
-
//# sourceMappingURL=components-
|
|
1960
|
+
//# sourceMappingURL=components-GsgfMVz2.cjs.map
|