storybookjs / telejson

🛰 JSON parse & stringify with support for cyclic objects, functions, dates, regex, infinity, undefined, null, NaN, Classes, Instances
MIT License
169 stars 29 forks source link

[Bug] name2.replace is not a function #103

Open matej-marcisovsky opened 9 months ago

matej-marcisovsky commented 9 months ago

Describe the bug

As described in closed issue https://github.com/storybookjs/telejson/issues/99

Steps to reproduce the behavior

  1. Go to (https://github.com/storybookjs/telejson/issues/99#issuecomment-1801155785)
  2. Check the test file

Expected behavior

The parsing should work.

I am reporting this issue again because it was not resolved in the original thread and there has been no reaction for two months.