secure-ls2 2.1.1 → 2.1.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,5 +1,5 @@
1
1
  /*!
2
- * secure-ls2 - v2.1.1
2
+ * secure-ls2 - v2.1.3
3
3
  * URL - https://github.com/softvar/secure-ls
4
4
  *
5
5
  * The MIT License (MIT)
@@ -5,7 +5,7 @@
5
5
  !(function () {
6
6
  function a(a, b) {
7
7
  var c = document.createElement(a);
8
- return (c.style.cssText = b), c;
8
+ return ((c.style.cssText = b), c);
9
9
  }
10
10
  function b() {
11
11
  var b = a(
@@ -29,7 +29,7 @@
29
29
  d = [].slice.call(arguments).reduce(function (a, b) {
30
30
  return a + ' ' + ('object' == typeof b ? JSON.stringify(b) : b);
31
31
  }, '');
32
- (c.textContent = d), o.appendChild(c), _options.autoScroll && (o.scrollTop = o.scrollHeight - o.clientHeight);
32
+ ((c.textContent = d), o.appendChild(c), _options.autoScroll && (o.scrollTop = o.scrollHeight - o.clientHeight));
33
33
  };
34
34
  }
35
35
  function d() {
@@ -69,31 +69,31 @@
69
69
  (console.error = n(h, 'error'))));
70
70
  }
71
71
  function k() {
72
- (p = !1),
72
+ ((p = !1),
73
73
  (console.log = q.log),
74
74
  (console.clear = q.clear),
75
75
  (console.info = q.info),
76
76
  (console.warn = q.warn),
77
77
  (console.error = q.error),
78
- o.remove();
78
+ o.remove());
79
79
  }
80
80
  function l() {
81
81
  if (!p) throw 'You need to call `screenLog.init()` first.';
82
82
  }
83
83
  function m(a) {
84
84
  return function () {
85
- return l(), a.apply(this, arguments);
85
+ return (l(), a.apply(this, arguments));
86
86
  };
87
87
  }
88
88
  function n(a, b) {
89
89
  return function () {
90
- a.apply(this, arguments), 'function' == typeof q[b] && q[b].apply(console, arguments);
90
+ (a.apply(this, arguments), 'function' == typeof q[b] && q[b].apply(console, arguments));
91
91
  };
92
92
  }
93
93
  var o,
94
94
  p = !1,
95
95
  q = {};
96
- (_options = {
96
+ ((_options = {
97
97
  bgColor: 'black',
98
98
  logColor: 'lightgreen',
99
99
  infoColor: 'blue',
@@ -111,5 +111,5 @@
111
111
  warn: n(m(g), 'warn'),
112
112
  error: n(m(h), 'error'),
113
113
  destroy: m(k),
114
- });
114
+ }));
115
115
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secure-ls2",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "Secure localStorage/sessionStorage data with high level of encryption and data compression",
5
5
  "main": "./dist/secure-ls.js",
6
6
  "browser": "./dist/secure-ls.js",
@@ -31,24 +31,24 @@
31
31
  "lz-string": "^1.5.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/core": "^7.27.4",
35
- "@babel/preset-env": "^7.27.2",
34
+ "@babel/core": "^7.28.3",
35
+ "@babel/preset-env": "^7.28.3",
36
36
  "@commitlint/cli": "^19.8.1",
37
37
  "@commitlint/config-conventional": "^19.8.1",
38
- "@eslint/js": "^9.28.0",
38
+ "@eslint/js": "^9.33.0",
39
39
  "@types/crypto-js": "^4.2.2",
40
40
  "@types/lz-string": "^1.5.0",
41
- "babel-jest": "^30.0.0",
41
+ "babel-jest": "^30.0.5",
42
42
  "babel-loader": "^10.0.0",
43
- "eslint": "^9.28.0",
44
- "globals": "^16.2.0",
43
+ "eslint": "^9.33.0",
44
+ "globals": "^16.3.0",
45
45
  "husky": "^9.1.7",
46
- "jest": "^30.0.0",
47
- "jest-environment-jsdom": "^30.0.0",
48
- "lint-staged": "^16.1.0",
49
- "prettier": "^3.5.3",
46
+ "jest": "^30.0.5",
47
+ "jest-environment-jsdom": "^30.0.5",
48
+ "lint-staged": "^16.1.5",
49
+ "prettier": "^3.6.2",
50
50
  "semver": "^7.7.2",
51
- "webpack": "^5.99.9",
51
+ "webpack": "^5.101.2",
52
52
  "webpack-cli": "^6.0.1"
53
53
  },
54
54
  "repository": {