Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@putout/printer

Package Overview
Dependencies
Maintainers
0
Versions
593
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.12.0 to 9.13.0

7

lib/printer.js

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

module.exports.print = (ast, overrides = {}) => {
check(ast);
const options = maybeJSON(ast, overrides);

@@ -20,1 +22,6 @@ const tokens = tokenize(ast, options);

module.exports.maybeVisitor = maybeVisitor;
function check(ast) {
if (typeof ast !== 'object')
throw Error('☝️Looks like ast not an object');
}

1

lib/tokenize/comment/parse-trailing-comments.js

@@ -124,2 +124,1 @@ 'use strict';

};

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

} = require('../../is');
const {printParams} = require('./params');

@@ -9,0 +10,0 @@ const {maybeDecorators} = require('../../maybe/maybe-decorators');

{
"name": "@putout/printer",
"version": "9.12.0",
"version": "9.13.0",
"type": "commonjs",

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

"eslint": "^9.0.0",
"eslint-plugin-putout": "^22.0.0",
"eslint-plugin-putout": "^23.0.0",
"estree-to-babel": "^9.0.0",

@@ -62,0 +62,0 @@ "goldstein": "^5.14.0",

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