customizable-toast-notification 3.20.0 → 3.20.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [3.20.1](https://github.com/sammy-cool/customizable-toast-notification/compare/v3.20.0...v3.20.1) (2026-10-27)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * resolve sonar vulnerabilities and bugs for security rating a ([92a2331](https://github.com/sammy-cool/customizable-toast-notification/commit/92a2331860f9299dcdd9c555bbf0d9c9e7968828))
7
+
1
8
  # [3.20.0](https://github.com/sammy-cool/customizable-toast-notification/compare/v3.19.0...v3.20.0) (2026-10-26)
2
9
 
3
10
 
package/README.md CHANGED
@@ -36,13 +36,13 @@
36
36
  └──────────────────────────────────────────────────┘
37
37
  ```
38
38
 
39
- Toast notifications that work the same everywhere — plain JavaScript, Vue, Svelte, Angular, SolidJS, or a multi-page app. Built with sanitized-by-default HTML rendering, zero runtime dependencies, and 233 automated unit & logic tests plus 80 Playwright cross-browser specifications.
39
+ Toast notifications that work the same everywhere — plain JavaScript, Vue, Svelte, Angular, SolidJS, or a multi-page app. Built with sanitized-by-default HTML rendering, zero runtime dependencies, and 238 automated unit & logic tests plus 80 Playwright cross-browser specifications.
40
40
 
41
41
  ## ✨ Key Features
42
42
 
43
43
  - 🌐 **Actually Framework Agnostic** - Not a React library with "vanilla JS support" bolted on — the same API works identically in React, Vue, Angular, Svelte, htmx, or plain HTML with no build step at all
44
44
  - 🛡️ **Sanitized by Default** - `allowHtml` content is sanitized before render (DOMPurify if it's on the page, a verified-equivalent fallback if not) — safe to use with content you don't fully control
45
- - ✅ **Rigorously Tested** - 233 real logic & unit tests across 87 suites plus 80 Playwright end-to-end specifications across Chromium, Firefox, and WebKit — not just "it worked on my machine"
45
+ - ✅ **Rigorously Tested** - 238 real logic & unit tests across 88 suites plus 80 Playwright end-to-end specifications across Chromium, Firefox, and WebKit — not just "it worked on my machine"
46
46
  - 🚫 **Zero Runtime Dependencies** - Nothing pulled in when your users load your app
47
47
  - 🔧 **Real TypeScript Types** - Full type definitions with real autocomplete and type-checking, not a placeholder `any`
48
48
  - 🎨 **Highly Customizable** - Colors, positions, animations, progress bars, and styling
@@ -116,7 +116,7 @@ Global Variable Name: `customizableToast`
116
116
  <script src="https://cdn.jsdelivr.net/npm/customizable-toast-notification/dist/index.umd.js"></script>
117
117
 
118
118
  <!-- OR pin to a specific version -->
119
- <script src="https://cdn.jsdelivr.net/npm/customizable-toast-notification@3.20.0/dist/index.umd.js"></script>
119
+ <script src="https://cdn.jsdelivr.net/npm/customizable-toast-notification@3.20.1/dist/index.umd.js"></script>
120
120
 
121
121
  <script>
122
122
  // Access the global UMD export
@@ -1016,8 +1016,8 @@ createToast({ message: "Using external CSS!" });
1016
1016
 
1017
1017
  ```html
1018
1018
  <!-- HTML (CDN) -->
1019
- <link rel="stylesheet" href="https://unpkg.com/customizable-toast-notification@3.20.0/dist/index.css">
1020
- <script src="https://unpkg.com/customizable-toast-notification@3.20.0/dist/index.umd.js"></script>
1019
+ <link rel="stylesheet" href="https://unpkg.com/customizable-toast-notification@3.20.1/dist/index.css">
1020
+ <script src="https://unpkg.com/customizable-toast-notification@3.20.1/dist/index.umd.js"></script>
1021
1021
  <script>
1022
1022
  customizableToast.setConfig({ disableInlineStyles: true });
1023
1023
  customizableToast.createToast({ message: "Using external CSS!" });