jizy-obfuscator 1.0.1 → 1.0.3

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.
@@ -1,2 +1,2 @@
1
- /*! Obfuscator v1.0.0 | MIT | 2026-04-15T09:11Z | [default] */
1
+ /*! Obfuscator v1.0.3 | MIT | 2026-04-20T13:50Z | [default] */
2
2
  !function(t){"use strict";if("object"!=typeof t||!t||!t.document)throw new Error("Obfuscator requires a window with a document");if(void 0!==t.Obfuscator)throw new Error("Obfuscator is already defined");var e=function(){const t={map:null,convert:function(t){this.init();let e="";for(let r=0;r<t.length;r++){const o=t.charAt(r);e+=o>="A"&&o<="Z"||o>="a"&&o<="z"?this.map[o]:o}return e},init:function(){if(null!=this.map)return;const t=[],e="abcdefghijklmnopqrstuvwxyz";for(let r=0;r<26;r++)t[e.charAt(r)]=e.charAt((r+13)%26);for(let r=0;r<26;r++)t[e.charAt(r).toUpperCase()]=e.charAt((r+13)%26).toUpperCase();this.map=t}};return{decode:function(e){if(e&&e.length)for(let r=0,o=e.length;r<o;r++)document.querySelector("#obfuscated-"+r).outerHTML=t.convert(e[r])}}}();t.Obfuscator=e}("undefined"!=typeof window?window:this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jizy-obfuscator",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "browser": "dist/js/jizy-obfuscator.min.js",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",
@@ -22,12 +22,11 @@
22
22
  "jpack:dist": "node ./cli/jpack.js"
23
23
  },
24
24
  "dependencies": {
25
- "jizy-packer": "^2.1.44",
26
- "less": "^4.4.2"
25
+ "jizy-packer": "^2.1.44"
27
26
  },
28
27
  "repository": {
29
28
  "type": "git",
30
29
  "url": "git+https://github.com/joffreydemetz/jizy-obfuscator.git"
31
30
  },
32
31
  "author": "Joffrey Demetz <joffrey.demetz@gmail.com> (https://joffreydemetz.com)"
33
- }
32
+ }