@kengic/vue 0.32.5-beta.0 → 0.32.5-beta.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/bin/preinstall.mjs +6 -4
- package/dist/kengic-vue.js +53 -54
- package/package.json +1 -1
package/bin/preinstall.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
|
|
1
3
|
const REQUIRED_NODE_VERSION = '24.14.1';
|
|
2
4
|
const REQUIRED_PNPM_VERSION = '10.33.0';
|
|
3
5
|
|
|
4
6
|
function fail(message) {
|
|
5
|
-
console.error(`[${new Date().toISOString()}] [@kengic/vue] PRE-INSTALL | ${message}`);
|
|
7
|
+
console.error(chalk.redBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL | ${message}`));
|
|
6
8
|
process.exit(1);
|
|
7
9
|
}
|
|
8
10
|
|
|
@@ -14,16 +16,16 @@ function getPnpmVersion(userAgent) {
|
|
|
14
16
|
const currentNodeVersion = process.versions.node;
|
|
15
17
|
|
|
16
18
|
if (currentNodeVersion !== REQUIRED_NODE_VERSION) {
|
|
17
|
-
fail(`
|
|
19
|
+
fail(`NODE.JS VERSION MUST BE ${REQUIRED_NODE_VERSION}, BUT GOT ${currentNodeVersion}`);
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
const userAgent = process.env.npm_config_user_agent ?? '';
|
|
21
23
|
const currentPnpmVersion = getPnpmVersion(userAgent);
|
|
22
24
|
|
|
23
25
|
if (!currentPnpmVersion) {
|
|
24
|
-
fail(`
|
|
26
|
+
fail(`THIS PROJECT MUST BE INSTALLED WITH pnpm ${REQUIRED_PNPM_VERSION}`);
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
if (currentPnpmVersion !== REQUIRED_PNPM_VERSION) {
|
|
28
|
-
fail(`
|
|
30
|
+
fail(`PNPM VERSION MUST BE ${REQUIRED_PNPM_VERSION}, BUT GOT ${currentPnpmVersion}`);
|
|
29
31
|
}
|
package/dist/kengic-vue.js
CHANGED
|
@@ -100067,7 +100067,7 @@ function _interopRequireDefault(re) {
|
|
|
100067
100067
|
return re && re.__esModule ? re : { default: re };
|
|
100068
100068
|
}
|
|
100069
100069
|
default_1 = zhTW.default = _zhCHT.default;
|
|
100070
|
-
const version = "0.32.5-beta.
|
|
100070
|
+
const version = "0.32.5-beta.1", cs_CZ$1 = {}, en$2 = {
|
|
100071
100071
|
"kg.KgAppSelect.businessManager": "Business Manager",
|
|
100072
100072
|
"kg.KgAppSelect.dataManager": "Data Manager",
|
|
100073
100073
|
"kg.KgAppSelect.sys": "System Config",
|
|
@@ -101771,55 +101771,54 @@ function requireCore() {
|
|
|
101771
101771
|
});
|
|
101772
101772
|
}(core)), core.exports;
|
|
101773
101773
|
}
|
|
101774
|
-
var encBase64 = { exports: {} }
|
|
101775
|
-
function
|
|
101776
|
-
|
|
101777
|
-
(
|
|
101778
|
-
|
|
101779
|
-
|
|
101780
|
-
|
|
101781
|
-
|
|
101782
|
-
|
|
101783
|
-
|
|
101784
|
-
|
|
101785
|
-
|
|
101786
|
-
for (var
|
|
101787
|
-
|
|
101788
|
-
|
|
101789
|
-
|
|
101790
|
-
|
|
101791
|
-
|
|
101792
|
-
|
|
101793
|
-
|
|
101794
|
-
|
|
101795
|
-
|
|
101796
|
-
|
|
101797
|
-
|
|
101798
|
-
|
|
101799
|
-
|
|
101800
|
-
|
|
101801
|
-
|
|
101802
|
-
|
|
101803
|
-
|
|
101804
|
-
|
|
101805
|
-
|
|
101806
|
-
|
|
101807
|
-
|
|
101808
|
-
|
|
101809
|
-
|
|
101810
|
-
|
|
101811
|
-
|
|
101812
|
-
|
|
101813
|
-
|
|
101814
|
-
|
|
101815
|
-
|
|
101816
|
-
|
|
101817
|
-
|
|
101818
|
-
|
|
101819
|
-
|
|
101820
|
-
|
|
101821
|
-
|
|
101822
|
-
}
|
|
101774
|
+
var encBase64 = { exports: {} };
|
|
101775
|
+
(function(re, ae) {
|
|
101776
|
+
(function(oe, ie) {
|
|
101777
|
+
re.exports = ie(requireCore());
|
|
101778
|
+
})(commonjsGlobal, function(oe) {
|
|
101779
|
+
return function() {
|
|
101780
|
+
var ie = oe, ue = ie.lib, ea = ue.WordArray, na = ie.enc;
|
|
101781
|
+
na.Base64 = {
|
|
101782
|
+
stringify: function(aa) {
|
|
101783
|
+
var oa = aa.words, ia = aa.sigBytes, la = this._map;
|
|
101784
|
+
aa.clamp();
|
|
101785
|
+
for (var sa = [], ua = 0; ua < ia; ua += 3)
|
|
101786
|
+
for (var ga = oa[ua >>> 2] >>> 24 - ua % 4 * 8 & 255, da = oa[ua + 1 >>> 2] >>> 24 - (ua + 1) % 4 * 8 & 255, fa = oa[ua + 2 >>> 2] >>> 24 - (ua + 2) % 4 * 8 & 255, pa = ga << 16 | da << 8 | fa, ma = 0; ma < 4 && ua + ma * 0.75 < ia; ma++)
|
|
101787
|
+
sa.push(la.charAt(pa >>> 6 * (3 - ma) & 63));
|
|
101788
|
+
var va = la.charAt(64);
|
|
101789
|
+
if (va)
|
|
101790
|
+
for (; sa.length % 4; )
|
|
101791
|
+
sa.push(va);
|
|
101792
|
+
return sa.join("");
|
|
101793
|
+
},
|
|
101794
|
+
parse: function(aa) {
|
|
101795
|
+
var oa = aa.length, ia = this._map, la = this._reverseMap;
|
|
101796
|
+
if (!la) {
|
|
101797
|
+
la = this._reverseMap = [];
|
|
101798
|
+
for (var sa = 0; sa < ia.length; sa++)
|
|
101799
|
+
la[ia.charCodeAt(sa)] = sa;
|
|
101800
|
+
}
|
|
101801
|
+
var ua = ia.charAt(64);
|
|
101802
|
+
if (ua) {
|
|
101803
|
+
var ga = aa.indexOf(ua);
|
|
101804
|
+
ga !== -1 && (oa = ga);
|
|
101805
|
+
}
|
|
101806
|
+
return ra(aa, oa, la);
|
|
101807
|
+
},
|
|
101808
|
+
_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
|
|
101809
|
+
};
|
|
101810
|
+
function ra(aa, oa, ia) {
|
|
101811
|
+
for (var la = [], sa = 0, ua = 0; ua < oa; ua++)
|
|
101812
|
+
if (ua % 4) {
|
|
101813
|
+
var ga = ia[aa.charCodeAt(ua - 1)] << ua % 4 * 2, da = ia[aa.charCodeAt(ua)] >>> 6 - ua % 4 * 2, fa = ga | da;
|
|
101814
|
+
la[sa >>> 2] |= fa << 24 - sa % 4 * 8, sa++;
|
|
101815
|
+
}
|
|
101816
|
+
return ea.create(la, sa);
|
|
101817
|
+
}
|
|
101818
|
+
}(), oe.enc.Base64;
|
|
101819
|
+
});
|
|
101820
|
+
})(encBase64);
|
|
101821
|
+
const Base64 = encBase64.exports;
|
|
101823
101822
|
var md5$1 = { exports: {} }, hasRequiredMd5;
|
|
101824
101823
|
function requireMd5() {
|
|
101825
101824
|
return hasRequiredMd5 || (hasRequiredMd5 = 1, function(re, ae) {
|
|
@@ -102191,7 +102190,7 @@ function requireCipherCore() {
|
|
|
102191
102190
|
}
|
|
102192
102191
|
(function(re, ae) {
|
|
102193
102192
|
(function(oe, ie, ue) {
|
|
102194
|
-
re.exports = ie(requireCore(),
|
|
102193
|
+
re.exports = ie(requireCore(), encBase64.exports, requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
102195
102194
|
})(commonjsGlobal, function(oe) {
|
|
102196
102195
|
return function() {
|
|
102197
102196
|
var ie = oe, ue = ie.lib, ea = ue.BlockCipher, na = ie.algo, ra = [], aa = [], oa = [], ia = [], la = [], sa = [], ua = [], ga = [], da = [], fa = [];
|
|
@@ -102246,7 +102245,7 @@ function requireCipherCore() {
|
|
|
102246
102245
|
}(), oe.AES;
|
|
102247
102246
|
});
|
|
102248
102247
|
})(aes);
|
|
102249
|
-
var
|
|
102248
|
+
var encUtf8 = { exports: {} };
|
|
102250
102249
|
(function(re, ae) {
|
|
102251
102250
|
(function(oe, ie) {
|
|
102252
102251
|
re.exports = ie(requireCore());
|
|
@@ -102308,10 +102307,10 @@ class AesEncryption {
|
|
|
102308
102307
|
}
|
|
102309
102308
|
}
|
|
102310
102309
|
function encryptByBase64(re) {
|
|
102311
|
-
return UTF8.parse(re).toString(
|
|
102310
|
+
return UTF8.parse(re).toString(Base64);
|
|
102312
102311
|
}
|
|
102313
102312
|
function decodeByBase64(re) {
|
|
102314
|
-
return
|
|
102313
|
+
return Base64.parse(re).toString(UTF8);
|
|
102315
102314
|
}
|
|
102316
102315
|
function encryptByMd5(re) {
|
|
102317
102316
|
return md5Exports(re).toString();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.32.5-beta.
|
|
3
|
+
"version": "0.32.5-beta.1",
|
|
4
4
|
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "24.14.1",
|