Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@putout/printer

Package Overview
Dependencies
Maintainers
1
Versions
600
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/printer - npm Package Compare versions

Comparing version 11.5.0 to 11.6.0

2

lib/tokenize/expressions/member-expression/member-expressions.js

@@ -26,3 +26,3 @@ 'use strict';

const property = path.get('property');
const isParens = object.isAwaitExpression() || object.isAssignmentExpression();
const isParens = object.isAssignmentExpression();
const {computed} = path.node;

@@ -29,0 +29,0 @@

@@ -23,7 +23,7 @@ 'use strict';

module.exports.AwaitExpression = (path, {print}) => {
module.exports.AwaitExpression = maybeParens((path, {print}) => {
printUnary(path, 'await', {
print,
});
};
});

@@ -55,1 +55,2 @@ module.exports.YieldExpression = maybeParens((path, {print, maybe}) => {

}

@@ -27,3 +27,4 @@ 'use strict';

...maybeParensPrint(print),
condition: (path) => condition(path) || isParens(path),
condition: (path) => condition?.(path) || isParens(path),
});
{
"name": "@putout/printer",
"version": "11.5.0",
"version": "11.6.0",
"type": "commonjs",

@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc