@vacantthinker/firefox-addon-framework-easy 2026.529.759 → 2026.530.1431

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vacantthinker/firefox-addon-framework-easy",
3
- "version": "2026.0529.0759",
3
+ "version": "2026.0530.1431",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -79,7 +79,7 @@ export function serviceRemoveIllegalWord(value) {
79
79
  // 2. Use Unicode properties to remove all punctuation (\p{P}) and all symbols/geometry (\p{S})
80
80
  // This natively crushes Chinese full-width punctuation, em dashes (—), Emojis, math symbols, and special brackets.
81
81
  // Note: The 'u' flag is mandatory to enable Unicode mode in the regex.
82
- name = name.replace(/[\p{P}\p{S}]/gu, ' ');
82
+ name = name.replace(/[\p{P}\p{S}\p{C}]/gu, ' ');
83
83
 
84
84
  // 3. Additional defense: Filter out hidden control characters that Firefox/OS are extremely sensitive to (0-31 and 127-159)
85
85
  name = name.replace(/[\x00-\x1F\x7F-\x9F]/g, ' ');