@zxhy-npm/send-sls-logger 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/trace.js +5 -0
- package/package.json +1 -1
package/lib/trace.js
CHANGED
|
@@ -187,6 +187,11 @@ export const mobileInfo = (() => {
|
|
|
187
187
|
const match = ua.match(/Weibo\/([\d.]+)/);
|
|
188
188
|
browserVersion = match ? match[1] : '';
|
|
189
189
|
}
|
|
190
|
+
else if (ua.indexOf('ZHUBOBAO') > -1) {
|
|
191
|
+
browserName = 'ZHUBOBAO';
|
|
192
|
+
const match = ua.match(/ZHUBOBAO\/([\d.]+)/);
|
|
193
|
+
browserVersion = match ? match[1] : '';
|
|
194
|
+
}
|
|
190
195
|
else if (ua.indexOf('UCBrowser') > -1) {
|
|
191
196
|
browserName = 'UC';
|
|
192
197
|
const match = ua.match(/UCBrowser\/([\d.]+)/);
|