putout 34.8.1 → 34.9.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.
package/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ 2024.01.09, v34.9.0
2
+
3
+ feature:
4
+ - f690349f2 putout: ESM: add ability to use methods
5
+ - bb24a0751 @putout/engine-parser: @putout/printer v8.0.0
6
+
1
7
  2024.01.09, v34.8.1
2
8
 
3
9
  feature:
package/lib/putout.mjs CHANGED
@@ -1,6 +1,14 @@
1
1
  import putout from './putout.js';
2
+ import all from './putout.js';
2
3
 
3
4
  export * from './putout.js';
4
- export default function(...a) {
5
+
6
+ const {assign} = Object;
7
+
8
+ function esmPutout(...a) {
5
9
  return putout(...a);
6
10
  }
11
+
12
+ assign(esmPutout, all);
13
+
14
+ export default esmPutout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "putout",
3
- "version": "34.8.1",
3
+ "version": "34.9.0",
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",