Socket
Socket
Sign inDemoInstall

prettier

Package Overview
Dependencies
31
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.17.0 to 0.17.1

5

bin/prettier.js

@@ -10,2 +10,3 @@ #!/usr/bin/env node

const minimist = require("minimist");
const readline = require("readline");
const prettier = require("../index");

@@ -222,4 +223,4 @@

// Remove previously printed filename to log it with duration.
process.stdout.clearLine();
process.stdout.cursorTo(0);
readline.clearLine(process.stdout, 0);
readline.cursorTo(process.stdout, 0, null);

@@ -226,0 +227,0 @@ // Don't write the file if it won't change in order not to invalidate

2

package.json
{
"name": "prettier",
"version": "0.17.0",
"version": "0.17.1",
"description": "Prettier is an opinionated JavaScript formatter",

@@ -5,0 +5,0 @@ "bin": {

@@ -1,20 +0,14 @@

function f() {
return (
// Comment
<div />
);
}
prevState = prevState || {
catalogs: [],
loadState: LOADED,
opened: false,
searchQuery: '',
selectedCatalog: null,
};
function f() {
return (
// comment
!!x
);
}
function f() {
return (
!!x // comment
);
}
this.steps = steps || [
{
name: 'mock-module',
path: '/nux/mock-module',
},
];
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc