vaderjs 1.3.3-alpha-10 → 1.3.3-alpha-12

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/client/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  window.params = {};
3
3
  window.Vader = {
4
- version: "1.3.2",
4
+ version: "1.3.3",
5
5
  };
6
6
 
7
7
  let errors = {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vaderjs",
3
3
  "description": "A Reactive library aimed to helping you build reactive applications inspired by react.js",
4
4
  "module": "vader.js",
5
- "version": "1.3.3-alpha-10",
5
+ "version": "1.3.3-alpha-12",
6
6
  "bin": {
7
7
  "vader": "./vader.js"
8
8
  },
package/vader.js CHANGED
@@ -473,6 +473,8 @@ function Compiler(func) {
473
473
  return array;
474
474
  };
475
475
 
476
+ string = string.replaceAll('vaderjs/client', './vader.js')
477
+
476
478
  // capture <Component />, <Component></Component>, and <Component>content</Component>
477
479
 
478
480
  // Example usage
@@ -483,7 +485,6 @@ function Compiler(func) {
483
485
  let componentMatch = body.match(componentRegex);
484
486
  let topComponent = "";
485
487
  componentMatch?.forEach(async (component) => {
486
- const rewriter = new HTMLRewriter();
487
488
  let [, element, attributes] = component;
488
489
 
489
490
  !isChild ? (topComponent = component) : null;