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
646
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 9.18.0 to 9.19.0

13

lib/tokenize/typescript/interface/ts-interface-body.js
'use strict';
module.exports.TSInterfaceBody = (path, {traverse, write, indent, maybe}) => {
const {parseComments} = require('../../comment/comment');
module.exports.TSInterfaceBody = (path, printer, semantics) => {
const body = path.get('body');
const {
traverse,
write,
indent,
maybe,
} = printer;
write.space();

@@ -10,2 +19,4 @@ write('{');

parseComments(path, printer, semantics);
for (const item of body) {

@@ -12,0 +23,0 @@ indent();

@@ -26,2 +26,11 @@ 'use strict';

traverse(constraint);
const defaultPath = path.get('default');
if (exists(defaultPath)) {
write.space();
write('=');
write.space();
traverse(defaultPath);
}
};

2

package.json
{
"name": "@putout/printer",
"version": "9.18.0",
"version": "9.19.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