-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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.).
Line 41 in a03da14
| writeFileSync(config.sourcePath, `${JSON.stringify(source, null, config.indent)}\n`); |
At the very least the values should probably maintain the same type in which they are provided. Possible using a replacer like this:
JSON.stringify(source, (key, value) => value);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels