@jsenv/plugin-toolbar 1.5.28 → 1.5.30

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.
@@ -5,10 +5,10 @@ function k$1(n) {
5
5
  }
6
6
  n$1 = {
7
7
  __e: function (n, l, u, t) {
8
- for (var i, f, e; l = l.__;) if ((i = l.__c) && !(1 & i.__g)) {
8
+ for (var i, o, f; l = l.__;) if ((i = l.__c) && !(1 & i.__g)) {
9
9
  i.__g |= 4;
10
10
  try {
11
- if ((f = i.constructor) && null != f.getDerivedStateFromError && (i.setState(f.getDerivedStateFromError(n)), e = 8 & i.__g), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), e = 8 & i.__g), e) return void (i.__g |= 2);
11
+ if ((o = i.constructor) && null != o.getDerivedStateFromError && (i.setState(o.getDerivedStateFromError(n)), f = 8 & i.__g), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), f = 8 & i.__g), f) return void (i.__g |= 2);
12
12
  } catch (l) {
13
13
  n = l;
14
14
  }
@@ -16,7 +16,7 @@ n$1 = {
16
16
  throw n;
17
17
  }
18
18
  }, u$2 = function (n) {
19
- return null != n && null == n.constructor;
19
+ return null != n && void 0 === n.constructor;
20
20
  };
21
21
 
22
22
  var t$1,
@@ -31,8 +31,8 @@ var t$1,
31
31
  v$2 = e$1.__r,
32
32
  l$1 = e$1.diffed,
33
33
  m$1 = e$1.__c,
34
- s$1 = e$1.unmount,
35
- p$1 = e$1.__;
34
+ p$1 = e$1.unmount,
35
+ s$1 = e$1.__;
36
36
  function d$2(n, t) {
37
37
  e$1.__h && e$1.__h(r$1, n, f || t), f = 0;
38
38
  var u = r$1.__H || (r$1.__H = {
@@ -47,7 +47,7 @@ function q$1(n, r) {
47
47
  }
48
48
  function g$2() {
49
49
  for (var n; n = c$1.shift();) if (n.__P && n.__H) try {
50
- n.__H.__h.forEach(z), n.__H.__h.forEach(B), n.__H.__h = [];
50
+ n.__H.__h.some(z), n.__H.__h.some(B), n.__H.__h = [];
51
51
  } catch (t) {
52
52
  n.__H.__h = [], e$1.__e(t, n.__v);
53
53
  }
@@ -55,23 +55,23 @@ function g$2() {
55
55
  e$1.__b = function (n) {
56
56
  r$1 = null, a$1 && a$1(n);
57
57
  }, e$1.__ = function (n, t) {
58
- n && t.__k && t.__k.__m && (n.__m = t.__k.__m), p$1 && p$1(n, t);
58
+ n && t.__k && t.__k.__m && (n.__m = t.__k.__m), s$1 && s$1(n, t);
59
59
  }, e$1.__r = function (n) {
60
60
  v$2 && v$2(n), t$1 = 0;
61
61
  var i = (r$1 = n.__c).__H;
62
- i && (u$1 === r$1 ? (i.__h = [], r$1.__h = [], i.__.forEach(function (n) {
62
+ i && (u$1 === r$1 ? (i.__h = [], r$1.__h = [], i.__.some(function (n) {
63
63
  n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
64
- })) : (i.__h.forEach(z), i.__h.forEach(B), i.__h = [], t$1 = 0)), u$1 = r$1;
64
+ })) : (i.__h.some(z), i.__h.some(B), i.__h = [], t$1 = 0)), u$1 = r$1;
65
65
  }, e$1.diffed = function (n) {
66
66
  l$1 && l$1(n);
67
67
  var t = n.__c;
68
- t && t.__H && (t.__H.__h.length && (1 !== c$1.push(t) && i$1 === e$1.requestAnimationFrame || ((i$1 = e$1.requestAnimationFrame) || w$2)(g$2)), t.__H.__.forEach(function (n) {
68
+ t && t.__H && (t.__H.__h.length && (1 !== c$1.push(t) && i$1 === e$1.requestAnimationFrame || ((i$1 = e$1.requestAnimationFrame) || w$2)(g$2)), t.__H.__.some(function (n) {
69
69
  n.u && (n.__H = n.u), n.u = void 0;
70
70
  })), u$1 = r$1 = null;
71
71
  }, e$1.__c = function (n, t) {
72
72
  t.some(function (n) {
73
73
  try {
74
- n.__h.forEach(z), n.__h = n.__h.filter(function (n) {
74
+ n.__h.some(z), n.__h = n.__h.filter(function (n) {
75
75
  return !n.__ || B(n);
76
76
  });
77
77
  } catch (r) {
@@ -81,10 +81,10 @@ e$1.__b = function (n) {
81
81
  }
82
82
  }), m$1 && m$1(n, t);
83
83
  }, e$1.unmount = function (n) {
84
- s$1 && s$1(n);
84
+ p$1 && p$1(n);
85
85
  var t,
86
86
  r = n.__c;
87
- r && r.__H && (r.__H.__.forEach(function (n) {
87
+ r && r.__H && (r.__H.__.some(function (n) {
88
88
  try {
89
89
  z(n);
90
90
  } catch (n) {
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@jsenv/plugin-toolbar",
3
- "version": "1.5.28",
3
+ "version": "1.5.30",
4
+ "type": "module",
4
5
  "repository": {
5
6
  "type": "git",
6
7
  "url": "https://github.com/jsenv/core",
7
8
  "directory": "packages/related/plugin-toolbar"
8
9
  },
9
10
  "license": "MIT",
10
- "type": "module",
11
+ "main": "./src/main.js",
11
12
  "exports": {
12
13
  ".": {
13
14
  "import": {
@@ -17,7 +18,6 @@
17
18
  },
18
19
  "./*": "./*"
19
20
  },
20
- "main": "./src/main.js",
21
21
  "files": [
22
22
  "/dist/",
23
23
  "/src/"
@@ -28,7 +28,7 @@
28
28
  "prepublishOnly": "npm run build"
29
29
  },
30
30
  "dependencies": {
31
- "@jsenv/ast": "6.8.0"
31
+ "@jsenv/ast": "6.8.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@jsenv/core": "../../",