@putout/plugin-putout 29.16.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.
@@ -13,6 +13,8 @@ const {
13
13
  extract,
14
14
  compute,
15
15
  __json,
16
+ __yaml,
17
+ __toml,
16
18
  } = operator;
17
19
 
18
20
  const name = '__putout_plugin_check_replace_code';
@@ -156,6 +158,12 @@ function parseKey(propertyPath) {
156
158
  if (keyPath.isIdentifier({name: '__json'}))
157
159
  return [null, __json];
158
160
 
161
+ if (keyPath.isIdentifier({name: '__yaml'}))
162
+ return [null, __yaml];
163
+
164
+ if (keyPath.isIdentifier({name: '__toml'}))
165
+ return [null, __toml];
166
+
159
167
  const [isComputed, key] = compute(keyPath);
160
168
 
161
169
  if (!isComputed)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-putout",
3
- "version": "29.16.0",
3
+ "version": "29.18.0",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin helps with plugins development",