@putout/plugin-putout 29.17.0 → 29.18.0
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.
|
@@ -14,6 +14,7 @@ const {
|
|
|
14
14
|
compute,
|
|
15
15
|
__json,
|
|
16
16
|
__yaml,
|
|
17
|
+
__toml,
|
|
17
18
|
} = operator;
|
|
18
19
|
|
|
19
20
|
const name = '__putout_plugin_check_replace_code';
|
|
@@ -160,6 +161,9 @@ function parseKey(propertyPath) {
|
|
|
160
161
|
if (keyPath.isIdentifier({name: '__yaml'}))
|
|
161
162
|
return [null, __yaml];
|
|
162
163
|
|
|
164
|
+
if (keyPath.isIdentifier({name: '__toml'}))
|
|
165
|
+
return [null, __toml];
|
|
166
|
+
|
|
163
167
|
const [isComputed, key] = compute(keyPath);
|
|
164
168
|
|
|
165
169
|
if (!isComputed)
|
package/package.json
CHANGED