@putout/printer 3.5.0 → 3.6.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,8 @@
1
+ 2023.08.11, v3.6.0
2
+
3
+ feature:
4
+ - 8f402bb TSSatisfiesExpression: add
5
+
1
6
  2023.08.10, v3.5.0
2
7
 
3
8
  feature:
@@ -119,6 +119,11 @@ module.exports = {
119
119
  TSBooleanKeyword(path, {write}) {
120
120
  write('boolean');
121
121
  },
122
+ TSSatisfiesExpression(path, {print}) {
123
+ print('__expression');
124
+ print(' satisfies ');
125
+ print('__typeAnnotation');
126
+ },
122
127
  TSUnionType(path, printer) {
123
128
  const {traverse, write} = printer;
124
129
 
@@ -229,3 +234,4 @@ module.exports = {
229
234
  print('this');
230
235
  },
231
236
  };
237
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/printer",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Simplest possible opinionated Babel AST printer for 🐊Putout",