@jsenv/plugin-toolbar 1.5.16 → 1.5.17
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.
|
@@ -91,7 +91,7 @@ function w$2(n) {
|
|
|
91
91
|
r = function () {
|
|
92
92
|
clearTimeout(u), k$1 && cancelAnimationFrame(t), setTimeout(n);
|
|
93
93
|
},
|
|
94
|
-
u = setTimeout(r,
|
|
94
|
+
u = setTimeout(r, 35);
|
|
95
95
|
k$1 && (t = requestAnimationFrame(r));
|
|
96
96
|
}
|
|
97
97
|
function z(n) {
|
|
@@ -413,7 +413,7 @@ function _$1(i) {
|
|
|
413
413
|
} catch (t) {
|
|
414
414
|
i.f &= -2;
|
|
415
415
|
i.f |= 8;
|
|
416
|
-
|
|
416
|
+
b$1(i);
|
|
417
417
|
throw t;
|
|
418
418
|
} finally {
|
|
419
419
|
n = s;
|
|
@@ -421,28 +421,28 @@ function _$1(i) {
|
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
function
|
|
424
|
+
function b$1(i) {
|
|
425
425
|
for (let t = i.s; void 0 !== t; t = t.n) t.S.U(t);
|
|
426
426
|
i.x = void 0;
|
|
427
427
|
i.s = void 0;
|
|
428
428
|
_$1(i);
|
|
429
429
|
}
|
|
430
|
-
function
|
|
430
|
+
function g$1(i) {
|
|
431
431
|
if (n !== this) throw new Error("Out-of-order effect");
|
|
432
432
|
y(this);
|
|
433
433
|
n = i;
|
|
434
434
|
this.f &= -2;
|
|
435
|
-
if (8 & this.f)
|
|
435
|
+
if (8 & this.f) b$1(this);
|
|
436
436
|
t();
|
|
437
437
|
}
|
|
438
|
-
function
|
|
438
|
+
function p(i) {
|
|
439
439
|
this.x = i;
|
|
440
440
|
this.u = void 0;
|
|
441
441
|
this.s = void 0;
|
|
442
442
|
this.o = void 0;
|
|
443
443
|
this.f = 32;
|
|
444
444
|
}
|
|
445
|
-
|
|
445
|
+
p.prototype.c = function () {
|
|
446
446
|
const i = this.S();
|
|
447
447
|
try {
|
|
448
448
|
if (8 & this.f) return;
|
|
@@ -453,7 +453,7 @@ b$1.prototype.c = function () {
|
|
|
453
453
|
i();
|
|
454
454
|
}
|
|
455
455
|
};
|
|
456
|
-
|
|
456
|
+
p.prototype.S = function () {
|
|
457
457
|
if (1 & this.f) throw new Error("Cycle detected");
|
|
458
458
|
this.f |= 1;
|
|
459
459
|
this.f &= -9;
|
|
@@ -462,31 +462,33 @@ b$1.prototype.S = function () {
|
|
|
462
462
|
r++;
|
|
463
463
|
const i = n;
|
|
464
464
|
n = this;
|
|
465
|
-
return
|
|
465
|
+
return g$1.bind(this, i);
|
|
466
466
|
};
|
|
467
|
-
|
|
467
|
+
p.prototype.N = function () {
|
|
468
468
|
if (!(2 & this.f)) {
|
|
469
469
|
this.f |= 2;
|
|
470
470
|
this.o = s;
|
|
471
471
|
s = this;
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
|
-
|
|
474
|
+
p.prototype.d = function () {
|
|
475
475
|
this.f |= 8;
|
|
476
|
-
if (!(1 & this.f))
|
|
476
|
+
if (!(1 & this.f)) b$1(this);
|
|
477
477
|
};
|
|
478
|
-
|
|
478
|
+
p.prototype.dispose = function () {
|
|
479
479
|
this.d();
|
|
480
480
|
};
|
|
481
481
|
function E(i) {
|
|
482
|
-
const t = new
|
|
482
|
+
const t = new p(i);
|
|
483
483
|
try {
|
|
484
484
|
t.c();
|
|
485
485
|
} catch (i) {
|
|
486
486
|
t.d();
|
|
487
487
|
throw i;
|
|
488
488
|
}
|
|
489
|
-
|
|
489
|
+
const o = t.d.bind(t);
|
|
490
|
+
o[Symbol.dispose] = o;
|
|
491
|
+
return o;
|
|
490
492
|
}
|
|
491
493
|
|
|
492
494
|
let a,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/plugin-toolbar",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.17",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/jsenv/core",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"prepublishOnly": "npm run build"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@jsenv/ast": "6.7.
|
|
31
|
+
"@jsenv/ast": "6.7.13"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@jsenv/core": "../../",
|
|
35
35
|
"@jsenv/filesystem": "../../tooling/filesystem",
|
|
36
36
|
"@jsenv/plugin-toolbar": "./",
|
|
37
37
|
"@jsenv/utils": "../../tooling/utils",
|
|
38
|
-
"@preact/signals": "2.
|
|
39
|
-
"playwright": "1.
|
|
38
|
+
"@preact/signals": "2.2.1",
|
|
39
|
+
"playwright": "1.54.1"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|