@rjsf/utils 6.0.0-beta.14 → 6.0.0-beta.15

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/utils.esm.js CHANGED
@@ -2843,8 +2843,8 @@ function getTemplate(name, registry, uiOptions = {}) {
2843
2843
  }
2844
2844
 
2845
2845
  // src/getTestIds.ts
2846
- import { nanoid } from "nanoid";
2847
2846
  import get18 from "lodash/get";
2847
+ import uniqueId from "lodash/uniqueId";
2848
2848
  function getTestIds() {
2849
2849
  if (typeof process === "undefined" || get18(process, "env.NODE_ENV") !== "test") {
2850
2850
  return {};
@@ -2855,7 +2855,7 @@ function getTestIds() {
2855
2855
  {
2856
2856
  get(_obj, prop) {
2857
2857
  if (!ids.has(prop)) {
2858
- ids.set(prop, nanoid());
2858
+ ids.set(prop, uniqueId("test-id-"));
2859
2859
  }
2860
2860
  return ids.get(prop);
2861
2861
  }