@oxog/devinspector 1.5.0 → 1.5.1
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/CHANGELOG.md +9 -0
- package/dist/devinspector.umd.cjs +9 -5
- package/dist/devinspector.umd.cjs.map +1 -1
- package/dist/devinspector.umd.js +9 -5
- package/dist/devinspector.umd.js.map +1 -1
- package/dist/devinspector.umd.min.cjs +2 -2
- package/dist/devinspector.umd.min.cjs.map +1 -1
- package/dist/devinspector.umd.min.js +2 -2
- package/dist/devinspector.umd.min.js.map +1 -1
- package/dist/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/{network-monitor-6XRFHXMV.js → network-monitor-QHVMB5F3.js} +4 -3
- package/dist/network-monitor-QHVMB5F3.js.map +1 -0
- package/package.json +4 -1
- package/dist/network-monitor-6XRFHXMV.js.map +0 -1
package/dist/devinspector.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @oxog/devinspector v1.5.
|
|
2
|
+
* @oxog/devinspector v1.5.1
|
|
3
3
|
* (c) Ersin Koc <ersinkoc@gmail.com>
|
|
4
4
|
* Released under the MIT License
|
|
5
5
|
*/
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
/** Package version, kept in sync with package.json (checked by tests). */
|
|
338
|
-
const VERSION = '1.5.
|
|
338
|
+
const VERSION = '1.5.1';
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
341
|
* DevInspector - the default inspector: floating widget plus a panel with
|
|
@@ -632,8 +632,9 @@
|
|
|
632
632
|
if (!this.isEnabled)
|
|
633
633
|
return;
|
|
634
634
|
this.isMinimized = !this.isMinimized;
|
|
635
|
+
// Minimized, the panel is as tall as its header (a fixed height clipped it).
|
|
635
636
|
if (this.panel)
|
|
636
|
-
this.panel.style.height = this.isMinimized ? '
|
|
637
|
+
this.panel.style.height = this.isMinimized ? 'auto' : '650px';
|
|
637
638
|
this.render();
|
|
638
639
|
this.events.emit('inspector:minimize', this.isMinimized);
|
|
639
640
|
}
|
|
@@ -2807,9 +2808,12 @@
|
|
|
2807
2808
|
return;
|
|
2808
2809
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
2809
2810
|
const self = this;
|
|
2810
|
-
XMLHttpRequest.prototype.open = function (
|
|
2811
|
+
XMLHttpRequest.prototype.open = function (...args) {
|
|
2811
2812
|
var _a;
|
|
2812
|
-
|
|
2813
|
+
// The arguments go through as given: an explicit `async: undefined` means a
|
|
2814
|
+
// synchronous request, and the native open() distinguishes 2 from 3+ arguments.
|
|
2815
|
+
const result = self.originalOpen.apply(this, args);
|
|
2816
|
+
const [method, url] = args;
|
|
2813
2817
|
// open() on a request in flight cancels it without abort/loadend events.
|
|
2814
2818
|
(_a = this._devinspectorCancel) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
2815
2819
|
this._devinspectorId = generateId();
|