avalynx-form 1.0.6 → 1.0.7

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.
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * AvalynxForm is a lightweight, customizable form handling library for web applications. Based on Bootstrap >=5.3 without any framework dependencies.
5
5
  *
6
- * @version 1.0.6
6
+ * @version 1.0.7
7
7
  * @license MIT
8
8
  * @author https://github.com/avalynx/avalynx-form/graphs/contributors
9
9
  * @website https://github.com/avalynx/
@@ -153,7 +153,7 @@ export class AvalynxForm {
153
153
  inputContainer.classList.add('is-invalid');
154
154
  }
155
155
  if (spanElement !== null) {
156
- spanElement.innerHTML = value;
156
+ spanElement.textContent = value;
157
157
  spanElement.style.display = 'block';
158
158
  }
159
159
  }
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * AvalynxForm is a lightweight, customizable form handling library for web applications. Based on Bootstrap >=5.3 without any framework dependencies.
5
5
  *
6
- * @version 1.0.6
6
+ * @version 1.0.7
7
7
  * @license MIT
8
8
  * @author https://github.com/avalynx/avalynx-form/graphs/contributors
9
9
  * @website https://github.com/avalynx/
@@ -151,7 +151,7 @@ class AvalynxForm {
151
151
  inputContainer.classList.add('is-invalid');
152
152
  }
153
153
  if (spanElement !== null) {
154
- spanElement.innerHTML = value;
154
+ spanElement.textContent = value;
155
155
  spanElement.style.display = 'block';
156
156
  }
157
157
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "avalynx-form",
3
3
  "title": "AvalynxForm",
4
4
  "description": "AvalynxForm is a lightweight, customizable form handling library for web applications. Based on Bootstrap >=5.3 without any framework dependencies.",
5
- "version": "1.0.6",
5
+ "version": "1.0.7",
6
6
  "license": "MIT",
7
7
  "main": "dist/js/avalynx-form.js",
8
8
  "module": "dist/js/avalynx-form.esm.js",
@@ -42,11 +42,11 @@
42
42
  "bootstrap": ">=5.3"
43
43
  },
44
44
  "devDependencies": {
45
- "@babel/core": "^7.29.0",
46
- "@babel/preset-env": "^7.29.0",
47
- "babel-jest": "^30.2.0",
48
- "jest": "^30.2.0",
49
- "jest-environment-jsdom": "^30.2.0",
45
+ "@babel/core": "^8.0.7",
46
+ "@babel/preset-env": "^8.0.7",
47
+ "babel-jest": "^30.5.2",
48
+ "jest": "^30.5.2",
49
+ "jest-environment-jsdom": "^30.5.2",
50
50
  "shelljs": "^0.10.0",
51
51
  "shx": "^0.4.0"
52
52
  }