Compare commits
5 Commits
8487dc4a44
...
50cc399d3b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50cc399d3b | ||
|
|
4fe2874e22 | ||
|
|
63e0da13a1 | ||
|
|
4c960e4c3c | ||
|
|
cea1535a65 |
@@ -1,3 +1,11 @@
|
|||||||
|
## 3.4.3 (15 Jun 2025)
|
||||||
|
|
||||||
|
* fix: redundant code imported
|
||||||
|
|
||||||
|
## 3.4.2 (15 Jun 2025)
|
||||||
|
|
||||||
|
* fix: elements horizontal scrollbar [#504](https://github.com/liriliri/eruda/issues/504)
|
||||||
|
|
||||||
## 3.4.1 (10 Nov 2024)
|
## 3.4.1 (10 Nov 2024)
|
||||||
|
|
||||||
* fix: no copy and delete for shadow root
|
* fix: no copy and delete for shadow root
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "eruda",
|
"name": "eruda",
|
||||||
"version": "3.4.1",
|
"version": "3.4.3",
|
||||||
"description": "Console for Mobile Browsers",
|
"description": "Console for Mobile Browsers",
|
||||||
"main": "eruda.js",
|
"main": "eruda.js",
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
@@ -64,15 +64,15 @@
|
|||||||
"karma-sourcemap-loader": "^0.3.7",
|
"karma-sourcemap-loader": "^0.3.7",
|
||||||
"karma-webpack": "^5.0.0",
|
"karma-webpack": "^5.0.0",
|
||||||
"licia": "^1.44.0",
|
"licia": "^1.44.0",
|
||||||
"luna-box-model": "^1.0.0",
|
"luna-box-model": "^1.0.1",
|
||||||
"luna-console": "^1.3.6",
|
"luna-console": "^1.3.6",
|
||||||
"luna-data-grid": "^1.4.2",
|
"luna-data-grid": "^1.6.4",
|
||||||
"luna-dom-viewer": "^1.8.3",
|
"luna-dom-viewer": "^1.8.3",
|
||||||
"luna-modal": "^1.3.1",
|
"luna-modal": "^1.3.1",
|
||||||
"luna-notification": "^0.3.3",
|
"luna-notification": "^0.3.3",
|
||||||
"luna-object-viewer": "^0.3.2",
|
"luna-object-viewer": "^0.3.2",
|
||||||
"luna-setting": "^2.0.2",
|
"luna-setting": "^2.0.2",
|
||||||
"luna-tab": "^0.3.4",
|
"luna-tab": "^0.4.3",
|
||||||
"luna-text-viewer": "^0.2.1",
|
"luna-text-viewer": "^0.2.1",
|
||||||
"postcss-clean": "^1.2.2",
|
"postcss-clean": "^1.2.2",
|
||||||
"postcss-loader": "^3.0.0",
|
"postcss-loader": "^3.0.0",
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import detectBrowser from 'licia/detectBrowser'
|
import detectBrowser from 'licia/detectBrowser'
|
||||||
import detectOs from 'licia/detectOs'
|
import detectOs from 'licia/detectOs'
|
||||||
import escape from 'licia/escape'
|
import escape from 'licia/escape'
|
||||||
|
import map from 'licia/map'
|
||||||
|
|
||||||
const browser = detectBrowser()
|
const browser = detectBrowser()
|
||||||
|
|
||||||
@@ -36,6 +37,41 @@ export default [
|
|||||||
'</tbody></table>',
|
'</tbody></table>',
|
||||||
].join(''),
|
].join(''),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Sponsor this Project',
|
||||||
|
val() {
|
||||||
|
return (
|
||||||
|
'<table><tbody>' +
|
||||||
|
map(
|
||||||
|
[
|
||||||
|
{
|
||||||
|
name: 'Open Collective',
|
||||||
|
link: 'https://opencollective.com/eruda',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Ko-fi',
|
||||||
|
link: 'https://ko-fi.com/surunzi',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Wechat Pay',
|
||||||
|
link: 'https://surunzi.com/wechatpay.html',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
(item) => {
|
||||||
|
return `<tr><td>${
|
||||||
|
item.name
|
||||||
|
}</td><td><a rel="noreferrer noopener" href="${
|
||||||
|
item.link
|
||||||
|
}" target="_blank">${item.link.replace(
|
||||||
|
'https://',
|
||||||
|
''
|
||||||
|
)}</a></td></tr>`
|
||||||
|
}
|
||||||
|
).join(' ') +
|
||||||
|
'</tbody></table>'
|
||||||
|
)
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'About',
|
name: 'About',
|
||||||
val:
|
val:
|
||||||
@@ -43,15 +79,4 @@ export default [
|
|||||||
VERSION +
|
VERSION +
|
||||||
'</a>',
|
'</a>',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'Backers',
|
|
||||||
val() {
|
|
||||||
return `
|
|
||||||
<a rel="noreferrer noopener" href="https://opencollective.com/eruda" target="_blank">
|
|
||||||
<img data-exclude="true" style="width: 100%;" loading="lazy" src="https://opencollective.com/eruda/backers.svg?width=${
|
|
||||||
window.innerWidth * 1.5
|
|
||||||
}&exclude=true">
|
|
||||||
</a>`
|
|
||||||
},
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -98,11 +98,7 @@ export default class Network extends Tool {
|
|||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
_updateDataGridHeight() {
|
_updateDataGridHeight() {
|
||||||
const height = this._$el.offset().height - this._$control.offset().height
|
this._requestDataGrid.fit()
|
||||||
this._requestDataGrid.setOption({
|
|
||||||
minHeight: height,
|
|
||||||
maxHeight: height,
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
_reqWillBeSent = (params) => {
|
_reqWillBeSent = (params) => {
|
||||||
if (!this._isRecording) {
|
if (!this._isRecording) {
|
||||||
|
|||||||
@@ -23,8 +23,14 @@ describe('info', function () {
|
|||||||
expect($tool.find('.eruda-content').eq(3)).toContainText('os')
|
expect($tool.find('.eruda-content').eq(3)).toContainText('os')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('sponsor', function () {
|
||||||
|
expect($tool.find('.eruda-content').eq(4)).toContainText(
|
||||||
|
'Open Collective'
|
||||||
|
)
|
||||||
|
})
|
||||||
|
|
||||||
it('about', function () {
|
it('about', function () {
|
||||||
expect($tool.find('.eruda-content').eq(4)).toHaveText(/Eruda v[\d.]+/)
|
expect($tool.find('.eruda-content').eq(5)).toHaveText(/Eruda v[\d.]+/)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user