@druid-ui/component 2.1.0 → 2.1.1

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/index.js CHANGED
@@ -63,7 +63,7 @@ var createDFunc = (dfunc2) => {
63
63
  const id = dfunc2(
64
64
  tag,
65
65
  ps,
66
- children.filter((c) => typeof c !== "boolean").map((c) => c?.toString())
66
+ children.filter((c) => typeof c !== "boolean").map((c) => String(c))
67
67
  );
68
68
  callbackMap[id] = {
69
69
  ...callbackMap[id],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@druid-ui/component",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/types/index.d.ts",
package/src/utils.ts CHANGED
@@ -88,7 +88,7 @@ export const createDFunc = (dfunc: typeof d) => {
88
88
  const id = dfunc(
89
89
  tag,
90
90
  ps,
91
- children.filter((c) => typeof c !== "boolean").map((c) => c?.toString()),
91
+ children.filter((c) => typeof c !== "boolean").map((c) => String(c)),
92
92
  );
93
93
  callbackMap[id] = {
94
94
  ...callbackMap[id],