Skip to content

Commit

Permalink
Updated pg & npm audit
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrobsahm committed Oct 22, 2022
1 parent 4fc1c69 commit 0079ff8
Show file tree
Hide file tree
Showing 5 changed files with 2,054 additions and 1,148 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: node_js
node_js:
- "node"
- "8"
- "10.4"
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ const error = debug("postache:error");

const dollarFollowedByAscii = /\$([a-zA-Z0-9_.]+)/g;

/* Remove the password from a given url string
*/
/* Remove the password from a given url string */
const obscurePassword = (conStr, password) => {
if (password === "") return conStr;
return conStr.replace(password, "\x1B[31m{password omitted}\x1B[39m");
Expand Down
Loading

0 comments on commit 0079ff8

Please sign in to comment.