@viewfly/platform-browser 0.0.7 → 0.0.9

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.
@@ -15,7 +15,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15
15
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16
16
  PERFORMANCE OF THIS SOFTWARE.
17
17
  ***************************************************************************** */
18
- /* global Reflect, Promise */
18
+ /* global Reflect, Promise, SuppressedError, Symbol */
19
19
 
20
20
 
21
21
  function __decorate(decorators, target, key, desc) {
@@ -23,7 +23,12 @@ function __decorate(decorators, target, key, desc) {
23
23
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
24
24
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
25
  return c > 3 && r && Object.defineProperty(target, key, r), r;
26
- }
26
+ }
27
+
28
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
29
+ var e = new Error(message);
30
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
31
+ };
27
32
 
28
33
  let DomRenderer = class DomRenderer extends NativeRenderer {
29
34
  constructor() {
package/bundles/index.js CHANGED
@@ -17,7 +17,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
17
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
18
  PERFORMANCE OF THIS SOFTWARE.
19
19
  ***************************************************************************** */
20
- /* global Reflect, Promise */
20
+ /* global Reflect, Promise, SuppressedError, Symbol */
21
21
 
22
22
 
23
23
  function __decorate(decorators, target, key, desc) {
@@ -25,7 +25,12 @@ function __decorate(decorators, target, key, desc) {
25
25
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
26
26
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
27
27
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28
- }
28
+ }
29
+
30
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
31
+ var e = new Error(message);
32
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
33
+ };
29
34
 
30
35
  exports.DomRenderer = class DomRenderer extends core.NativeRenderer {
31
36
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/platform-browser",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "This project is used to enable the Viewfly framework to run in a browser.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -13,16 +13,16 @@
13
13
  "keywords": [],
14
14
  "dependencies": {
15
15
  "@tanbo/di": "^1.1.5",
16
- "@viewfly/core": "^0.0.7",
16
+ "@viewfly/core": "^0.0.9",
17
17
  "csstype": "^3.1.2",
18
18
  "reflect-metadata": "^0.1.13"
19
19
  },
20
20
  "devDependencies": {
21
- "@rollup/plugin-commonjs": "^23.0.2",
22
- "@rollup/plugin-typescript": "^9.0.2",
21
+ "@rollup/plugin-commonjs": "^25.0.3",
22
+ "@rollup/plugin-typescript": "^11.1.2",
23
23
  "rimraf": "^3.0.2",
24
- "rollup": "^3.2.5",
25
- "tslib": "^2.4.1"
24
+ "rollup": "^3.26.3",
25
+ "tslib": "^2.6.0"
26
26
  },
27
27
  "author": {
28
28
  "name": "Tanbo",
@@ -35,5 +35,5 @@
35
35
  "bugs": {
36
36
  "url": "https://github.com/viewfly/viewfly.git/issues"
37
37
  },
38
- "gitHead": "78757f2aad67c1a6969b2ca76ada75c58364bc43"
38
+ "gitHead": "c2681190a94529ccc82a6e529b51d69c89571844"
39
39
  }