Comparing version 0.17.0 to 0.17.1
@@ -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 |
{ | ||
"name": "prettier", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "Prettier is an opinionated JavaScript formatter", | ||
@@ -5,0 +5,0 @@ "bin": { |
32
test.js
@@ -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', | ||
}, | ||
]; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1058898
7366