Skip to content

Commit

Permalink
prevent extend String object by colors library (#25879)
Browse files Browse the repository at this point in the history
https://github.com/Marak/colors.js#usage
is terrible to extend String because this generate issues in other libraries.
  • Loading branch information
nathanredblur committed Feb 3, 2020
1 parent e0500b7 commit d6c7bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/nodejs/index.js
Expand Up @@ -18,7 +18,7 @@

'use strict';

const colors = require('colors');
const colors = require('colors/safe');
const fs = require('fs');
const http = require('http');
const https = require('https');
Expand Down

0 comments on commit d6c7bae

Please sign in to comment.