putout 34.0.2 → 34.0.3

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.
package/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2023.12.11, v34.0.3
2
+
3
+ fix:
4
+ - 6538c3840 putout: loader: convert Buffer to string before transfrom
5
+
1
6
  2023.12.11, v34.0.2
2
7
 
3
8
  feature:
@@ -34,7 +34,7 @@ export const transformSource = async (source, context) => {
34
34
  source,
35
35
  };
36
36
 
37
- const {code} = await putoutAsync(source, {
37
+ const {code} = await putoutAsync(String(source), {
38
38
  printer: 'putout',
39
39
  ...options,
40
40
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "34.0.2",
3
+ "version": "34.0.3",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",