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
1
Versions
629
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.71.1 to 1.71.2

5

lib/tokenize/comments.js
'use strict';
const {isNext} = require('./is');
const {markBefore, isMarkedAfter} = require('./mark');
const {
markBefore,
isMarkedAfter,
} = require('./mark');

@@ -6,0 +9,0 @@ module.exports.parseLeadingComments = (path, {print, maybe, indent}) => {

1

lib/tokenize/statements/block-statement.js

@@ -14,2 +14,3 @@ 'use strict';

} = require('@babel/types');
const {markAfter} = require('../mark');

@@ -16,0 +17,0 @@

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

module.exports.ForStatement = {
print(path, {print, maybe}) {
print(path, {print, maybe, indent}) {
const {

@@ -14,2 +14,3 @@ test,

indent();
print('for (');

@@ -36,5 +37,2 @@ print('__init');

},
after(path, {print}) {
print.newline();
},
afterIf(path) {

@@ -46,2 +44,6 @@ if (isLast(path))

},
after(path, {print}) {
print.linebreak();
},
};

@@ -30,2 +30,3 @@ 'use strict';

} = spec.node;
maybe.print(index, ', ');

@@ -32,0 +33,0 @@ maybe.print(!wasSpecifier, '{');

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