Skip to content

Commit 1a9ac86

Browse files
committedAug 21, 2024
deps: debug@4.3.6
1 parent a303ddd commit 1a9ac86

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
 

‎node_modules/debug/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "debug",
3-
"version": "4.3.5",
3+
"version": "4.3.6",
44
"repository": {
55
"type": "git",
66
"url": "git://github.com/debug-js/debug.git"

‎node_modules/debug/src/browser.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,16 @@ function useColors() {
125125
return false;
126126
}
127127

128+
let m;
129+
128130
// Is webkit? http://stackoverflow.com/a/16459606/376773
129131
// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
130132
return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
131133
// Is firebug? http://stackoverflow.com/a/398120/376773
132134
(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
133135
// Is firefox >= v31?
134136
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
135-
(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
137+
(typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) ||
136138
// Double check webkit in userAgent just in case we are in a worker
137139
(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
138140
}

‎package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4008,9 +4008,9 @@
40084008
}
40094009
},
40104010
"node_modules/debug": {
4011-
"version": "4.3.5",
4012-
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz",
4013-
"integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==",
4011+
"version": "4.3.6",
4012+
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz",
4013+
"integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==",
40144014
"inBundle": true,
40154015
"license": "MIT",
40164016
"dependencies": {

0 commit comments

Comments
 (0)
Please sign in to comment.