@viewfly/platform-browser 0.6.3 → 1.0.0-alpha.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.
@@ -35,6 +35,7 @@ class DomRenderer extends NativeRenderer {
35
35
  this.appendChild(ref.parentNode, newNode);
36
36
  }
37
37
  else {
38
+ // eslint-disable-next-line
38
39
  console.warn(`Element "${ref instanceof Text ? ref.textContent : ref.tagName}" was accidentally deleted, and viewfly is unable to update the current view`);
39
40
  }
40
41
  }
@@ -107,6 +108,7 @@ class DomRenderer extends NativeRenderer {
107
108
  ref.parentNode.insertBefore(newNode, ref);
108
109
  }
109
110
  else {
111
+ // eslint-disable-next-line
110
112
  console.warn(`Element "${ref instanceof Text ? ref.textContent : ref.tagName}" was accidentally deleted, and viewfly is unable to update the current view`);
111
113
  }
112
114
  }
@@ -246,6 +248,7 @@ class HTMLRenderer extends NativeRenderer {
246
248
  }
247
249
  }
248
250
  else {
251
+ // eslint-disable-next-line
249
252
  console.warn(`Element "${ref instanceof VDOMText ? ref.text : ref.name}" was accidentally deleted, and viewfly is unable to update the current view`);
250
253
  }
251
254
  }
package/bundles/index.js CHANGED
@@ -37,6 +37,7 @@ class DomRenderer extends core.NativeRenderer {
37
37
  this.appendChild(ref.parentNode, newNode);
38
38
  }
39
39
  else {
40
+ // eslint-disable-next-line
40
41
  console.warn(`Element "${ref instanceof Text ? ref.textContent : ref.tagName}" was accidentally deleted, and viewfly is unable to update the current view`);
41
42
  }
42
43
  }
@@ -109,6 +110,7 @@ class DomRenderer extends core.NativeRenderer {
109
110
  ref.parentNode.insertBefore(newNode, ref);
110
111
  }
111
112
  else {
113
+ // eslint-disable-next-line
112
114
  console.warn(`Element "${ref instanceof Text ? ref.textContent : ref.tagName}" was accidentally deleted, and viewfly is unable to update the current view`);
113
115
  }
114
116
  }
@@ -248,6 +250,7 @@ class HTMLRenderer extends core.NativeRenderer {
248
250
  }
249
251
  }
250
252
  else {
253
+ // eslint-disable-next-line
251
254
  console.warn(`Element "${ref instanceof VDOMText ? ref.text : ref.name}" was accidentally deleted, and viewfly is unable to update the current view`);
252
255
  }
253
256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/platform-browser",
3
- "version": "0.6.3",
3
+ "version": "1.0.0-alpha.1",
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",
@@ -12,7 +12,7 @@
12
12
  "license": "MIT",
13
13
  "keywords": [],
14
14
  "dependencies": {
15
- "@viewfly/core": "^0.6.3",
15
+ "@viewfly/core": "^1.0.0-alpha.1",
16
16
  "csstype": "^3.1.2"
17
17
  },
18
18
  "devDependencies": {
@@ -33,5 +33,5 @@
33
33
  "bugs": {
34
34
  "url": "https://github.com/viewfly/viewfly.git/issues"
35
35
  },
36
- "gitHead": "67d1ad7eff77c30dfafa3bc6a51a21ecde114aec"
36
+ "gitHead": "8a25e6e350ba9cade6036506e7fe2aba4e4396ac"
37
37
  }