domql 3.6.6 → 3.6.8

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/LICENSE CHANGED
@@ -1,21 +1,34 @@
1
- MIT License
1
+ Creative Commons Attribution-NonCommercial 4.0 International License
2
2
 
3
3
  Copyright (c) 2023 symbo.ls
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ This work is licensed under the Creative Commons Attribution-NonCommercial
6
+ 4.0 International License. To view a copy of this license, visit
7
+ https://creativecommons.org/licenses/by-nc/4.0/ or send a letter to
8
+ Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
11
9
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
10
+ You are free to:
14
11
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12
+ Share copy and redistribute the material in any medium or format
13
+ Adapt — remix, transform, and build upon the material
14
+
15
+ Under the following terms:
16
+
17
+ Attribution — You must give appropriate credit, provide a link to the
18
+ license, and indicate if changes were made. You may do so in any
19
+ reasonable manner, but not in any way that suggests the licensor endorses
20
+ you or your use.
21
+
22
+ NonCommercial — You may not use the material for commercial purposes.
23
+
24
+ No additional restrictions — You may not apply legal terms or
25
+ technological measures that legally restrict others from doing anything
26
+ the license permits.
27
+
28
+ THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
29
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
30
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
31
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
32
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
33
+ OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE
34
+ WORK.
@@ -1807,13 +1807,13 @@ var Domql = (() => {
1807
1807
  if (result && typeof result.then === "function") {
1808
1808
  result.catch((err) => {
1809
1809
  element.error = err;
1810
- console.error("[DomQL] Async event error:", err);
1810
+ console.error("[DOMQL] Async event error:", err);
1811
1811
  });
1812
1812
  }
1813
1813
  return result;
1814
1814
  } catch (err) {
1815
1815
  element.error = err;
1816
- console.error("[DomQL] Event handler error:", err);
1816
+ console.error("[DOMQL] Event handler error:", err);
1817
1817
  if (element.context?.strictMode) throw err;
1818
1818
  }
1819
1819
  };
@@ -1841,13 +1841,13 @@ var Domql = (() => {
1841
1841
  if (result && typeof result.then === "function") {
1842
1842
  result.catch((err) => {
1843
1843
  element.error = err;
1844
- console.error("[DomQL] Async event update error:", err);
1844
+ console.error("[DOMQL] Async event update error:", err);
1845
1845
  });
1846
1846
  }
1847
1847
  return result;
1848
1848
  } catch (err) {
1849
1849
  element.error = err;
1850
- console.error("[DomQL] Event update error:", err);
1850
+ console.error("[DOMQL] Event update error:", err);
1851
1851
  if (element.context?.strictMode) throw err;
1852
1852
  }
1853
1853
  };
@@ -3797,12 +3797,12 @@ ${element}` : "";
3797
3797
  if (result && typeof result.then === "function") {
3798
3798
  result.catch((err) => {
3799
3799
  element.error = err;
3800
- console.error("[DomQL] Async DOM event error:", err);
3800
+ console.error("[DOMQL] Async DOM event error:", err);
3801
3801
  });
3802
3802
  }
3803
3803
  } catch (err) {
3804
3804
  element.error = err;
3805
- console.error("[DomQL] DOM event error:", err);
3805
+ console.error("[DOMQL] DOM event error:", err);
3806
3806
  if (context?.strictMode) throw err;
3807
3807
  }
3808
3808
  };
@@ -6493,7 +6493,7 @@ ${element}` : "";
6493
6493
  isDemoComponent ? isDemoComponent + " " : "" + path.join(".")
6494
6494
  );
6495
6495
  element.verbose();
6496
- console.error("[DomQL] Render error:", e);
6496
+ console.error("[DOMQL] Render error:", e);
6497
6497
  if (element.on?.error) {
6498
6498
  element.on.error(e, element, element.state, element.context, options);
6499
6499
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "domql",
3
- "version": "3.6.6",
4
- "license": "MIT",
3
+ "version": "3.6.8",
4
+ "license": "CC-BY-NC-4.0",
5
5
  "type": "module",
6
6
  "module": "./dist/esm/index.js",
7
7
  "main": "./dist/cjs/index.js",
@@ -25,9 +25,9 @@
25
25
  "build:iife": "cross-env NODE_ENV=$NODE_ENV esbuild index.js --bundle --target=es2020 --format=iife --global-name=Domql --outfile=dist/iife/index.js --define:process.env.NODE_ENV=process.env.NODE_ENV"
26
26
  },
27
27
  "dependencies": {
28
- "@domql/element": "^3.6.6",
29
- "@domql/state": "^3.6.6",
30
- "@domql/utils": "^3.6.6"
28
+ "@domql/element": "^3.6.8",
29
+ "@domql/state": "^3.6.8",
30
+ "@domql/utils": "^3.6.8"
31
31
  },
32
32
  "gitHead": "9fc1b79b41cdc725ca6b24aec64920a599634681",
33
33
  "browser": "./dist/esm/index.js",