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
599
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 8.15.0 to 8.16.0

8

lib/tokenize/statements/import-declaration/import-declaration.js

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

maybe.write(!wasSpecifier, '{');
maybe.write.breakline(importsCount > maxSpecifiersInOneLine);
maybe.write.breakline(importsCount >= maxSpecifiersInOneLine);

@@ -70,3 +70,3 @@ wasSpecifier = true;

if (importsCount <= maxSpecifiersInOneLine && notLast) {
if (importsCount < maxSpecifiersInOneLine && notLast) {
maybe.write(n, ',');

@@ -76,3 +76,3 @@ maybe.write.space(n);

if (importsCount > maxSpecifiersInOneLine) {
if (importsCount >= maxSpecifiersInOneLine) {
maybe.write(n, ',');

@@ -121,3 +121,3 @@

if (node.imported.name !== node.local.name)
return 0;
return 1;
}

@@ -124,0 +124,0 @@

{
"name": "@putout/printer",
"version": "8.15.0",
"version": "8.16.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