You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, peer dependencies can simply be a numeric string ("1", "2", etc.). However, the following code converts such values to numbers (1, 2, etc.).
hummm... this appears to only affect CLI input, which is coerced into their type from strings. So this culprit doesn't appear to be the JSON stringification.
Maybe there should be some notation to prevent this coercion. For example, possibly quotes around the value.
For example, peer dependencies can simply be a numeric string (
"1"
,"2"
, etc.). However, the following code converts such values to numbers (1
,2
, etc.).clean-package/src/clean.ts
Line 41 in a03da14
At the very least the values should probably maintain the same type in which they are provided. Possible using a replacer like this:
The text was updated successfully, but these errors were encountered: