format: prettify entire project
This commit is contained in:
5
node_modules/util-deprecate/browser.js
generated
vendored
5
node_modules/util-deprecate/browser.js
generated
vendored
@ -1,4 +1,3 @@
|
||||
|
||||
/**
|
||||
* Module exports.
|
||||
*/
|
||||
@ -23,7 +22,7 @@ module.exports = deprecate;
|
||||
* @api public
|
||||
*/
|
||||
|
||||
function deprecate (fn, msg) {
|
||||
function deprecate(fn, msg) {
|
||||
if (config('noDeprecation')) {
|
||||
return fn;
|
||||
}
|
||||
@ -54,7 +53,7 @@ function deprecate (fn, msg) {
|
||||
* @api private
|
||||
*/
|
||||
|
||||
function config (name) {
|
||||
function config(name) {
|
||||
// accessing global.localStorage can trigger a DOMException in sandboxed iframes
|
||||
try {
|
||||
if (!global.localStorage) return false;
|
||||
|
1
node_modules/util-deprecate/node.js
generated
vendored
1
node_modules/util-deprecate/node.js
generated
vendored
@ -1,4 +1,3 @@
|
||||
|
||||
/**
|
||||
* For Node.js, simply re-export the core `util.deprecate` function.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user