secure-ls2 2.1.1 → 2.1.2
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/README.md +0 -2
- package/coverage/clover.xml +2 -2
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov.info +2 -2
- package/dist/secure-ls2.js +1 -1
- package/dist/secure-ls2.js.map +1 -1
- package/dist/secure-ls2.min.js +1 -1
- package/example/vendor/screenlog.min.js +8 -8
- package/package.json +12 -12
package/dist/secure-ls2.min.js
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "2.1.2",
|
|
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.
|
|
35
|
-
"@babel/preset-env": "^7.
|
|
34
|
+
"@babel/core": "^7.28.0",
|
|
35
|
+
"@babel/preset-env": "^7.28.0",
|
|
36
36
|
"@commitlint/cli": "^19.8.1",
|
|
37
37
|
"@commitlint/config-conventional": "^19.8.1",
|
|
38
|
-
"@eslint/js": "^9.
|
|
38
|
+
"@eslint/js": "^9.31.0",
|
|
39
39
|
"@types/crypto-js": "^4.2.2",
|
|
40
40
|
"@types/lz-string": "^1.5.0",
|
|
41
|
-
"babel-jest": "^30.0.
|
|
41
|
+
"babel-jest": "^30.0.4",
|
|
42
42
|
"babel-loader": "^10.0.0",
|
|
43
|
-
"eslint": "^9.
|
|
44
|
-
"globals": "^16.
|
|
43
|
+
"eslint": "^9.31.0",
|
|
44
|
+
"globals": "^16.3.0",
|
|
45
45
|
"husky": "^9.1.7",
|
|
46
|
-
"jest": "^30.0.
|
|
47
|
-
"jest-environment-jsdom": "^30.0.
|
|
48
|
-
"lint-staged": "^16.1.
|
|
49
|
-
"prettier": "^3.
|
|
46
|
+
"jest": "^30.0.4",
|
|
47
|
+
"jest-environment-jsdom": "^30.0.4",
|
|
48
|
+
"lint-staged": "^16.1.2",
|
|
49
|
+
"prettier": "^3.6.2",
|
|
50
50
|
"semver": "^7.7.2",
|
|
51
|
-
"webpack": "^5.
|
|
51
|
+
"webpack": "^5.100.2",
|
|
52
52
|
"webpack-cli": "^6.0.1"
|
|
53
53
|
},
|
|
54
54
|
"repository": {
|