New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@putout/printer

Package Overview
Dependencies
Maintainers
0
Versions
641
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 12.30.0 to 12.31.0

5

lib/tokenize/jsx/jsx-element.js

@@ -11,7 +11,8 @@ 'use strict';

const {leadingComments} = path.node;
const leadingCommentsCount = leadingComments?.length;
maybe.write.space(!leadingComments && isInsideArrow(path));
maybe.write.space(!leadingCommentsCount && isInsideArrow(path));
indent.inc();
if (!leadingComments?.length) {
if (!leadingCommentsCount) {
write('(');

@@ -18,0 +19,0 @@ write.newline();

4

package.json
{
"name": "@putout/printer",
"version": "12.30.0",
"version": "12.31.0",
"type": "commonjs",

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

"@putout/plugin-promises": "^16.0.0",
"@putout/plugin-react-hook-form": "^4.0.0",
"@putout/plugin-react-hook-form": "^5.0.0",
"@putout/plugin-react-hooks": "^6.0.0",

@@ -75,0 +75,0 @@ "acorn": "^8.8.2",

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