You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
17
15
- }
18
16
- };
19
-
-})();
20
-
+exports.storage = undefined;
21
-
+exports.destroy = () => {};
17
+
+ return () => {};
18
+
})();
22
19
23
20
/**
24
-
* Colors.
25
-
@@ -103,40 +94,8 @@ exports.colors = [
26
-
'#FFCC33'
27
-
];
21
+
@@ -113,28 +106,7 @@ exports.colors = [
28
22
29
-
-/**
30
-
- * Currently only WebKit-based Web Inspectors, Firefox >= v31,
31
-
- * and the Firebug extension (any Firefox version) are known
32
-
- * to support "%c" CSS customizations.
33
-
- *
34
-
- * TODO: add a `localStorage` variable to explicitly enable/disable colors
35
-
- */
36
-
-
37
-
-// eslint-disable-next-line complexity
23
+
// eslint-disable-next-line complexity
38
24
function useColors() {
39
25
- // NB: In an Electron preload script, document will be defined but not fully
40
26
- // initialized. Since we know we're in Chrome, we'll just detect this case
@@ -48,23 +34,21 @@ index 8d808e5..7efe922 100644
48
34
- return false;
49
35
- }
50
36
-
51
-
- let m;
52
-
-
53
37
- // Is webkit? http://stackoverflow.com/a/16459606/376773
54
38
- // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
* XXX DO NOT USE. This is a temporary stub function.
139
-
* XXX It WILL be removed in the next major release.
140
-
*/
141
-
- function destroy() {
142
-
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
0 commit comments