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 1.15.2 to 1.15.3

13

lib/tokenize/expressions/array-expression.js

@@ -118,6 +118,9 @@ 'use strict';

function isNewlineBetweenElements(path, {elements}) {
if (isIncreaseIndent(path))
return false;
if (isInsideCallLoop(path))
return false;
if (isIncreaseIndent(path))
if (isInsideLoop(path))
return false;

@@ -156,1 +159,9 @@

}
function isInsideLoop(path) {
if (!path.parentPath.isForOfStatement())
return false;
return true;
}

9

lib/tokenize/statements/import-declarations.js

@@ -25,5 +25,8 @@ 'use strict';

print(' ');
print('from');
print(' ');
if (specifiers.length) {
print.space();
print('from');
print.space();
}
print('__source');

@@ -30,0 +33,0 @@ print(';');

{
"name": "@putout/printer",
"version": "1.15.2",
"version": "1.15.3",
"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