@datapos/datapos-development 0.3.228 → 0.3.231
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/dist/datapos-development.es.js +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,6 @@ The OWASP Dependency Check Report identifies known vulnerabilities in project de
|
|
|
67
67
|
The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, BSD-2-Clause, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the published library are covered by these checks. If a dependence has no license then it is treated as ????? Used to support development activity and nor released as part of the production release. Check if you clone.
|
|
68
68
|
|
|
69
69
|
<!-- DEPENDENCY_LICENSES_START -->
|
|
70
|
-
|
|
71
70
|
| Name | Type | Installed | Latest | Latest Modified |
|
|
72
71
|
| :---------------------- | :----------: | :-------: | :-----: | :----------------------- |
|
|
73
72
|
| @datapos/datapos-shared | MIT | 0.3.255 | 0.3.255 | 2025-11-29T17:16:07.774Z |
|
|
@@ -76,7 +75,6 @@ The following table lists top-level production and peer dependencies. All these
|
|
|
76
75
|
| acorn-walk | MIT | 8.3.4 | 8.3.4 | 2024-09-09T08:40:59.131Z |
|
|
77
76
|
| dotenv | BSD-2-Clause | 17.2.3 | 17.2.3 | 2025-09-29T23:22:21.769Z |
|
|
78
77
|
| zod | MIT | 4.1.13 | 4.1.13 | 2025-11-24T02:38:31.522Z |
|
|
79
|
-
|
|
80
78
|
<!-- DEPENDENCY_LICENSES_END -->
|
|
81
79
|
|
|
82
80
|
### Bundle Analysis Report
|
|
@@ -7648,7 +7648,7 @@ async function Nh() {
|
|
|
7648
7648
|
We("Load environment variables"), (await import("dotenv")).config();
|
|
7649
7649
|
}
|
|
7650
7650
|
function Ne(e) {
|
|
7651
|
-
const t = "\x1B[36m", i = "\x1B[0m", s = "─".repeat(e.length +
|
|
7651
|
+
const t = "\x1B[36m", i = "\x1B[0m", s = "─".repeat(e.length + 3);
|
|
7652
7652
|
console.info(`
|
|
7653
7653
|
${t}${s}`), console.info(`▶️ ${e}`), console.info(`${s}${i}`);
|
|
7654
7654
|
}
|
|
@@ -7668,7 +7668,7 @@ async function li(e) {
|
|
|
7668
7668
|
return await $.readFile(e, "utf8");
|
|
7669
7669
|
}
|
|
7670
7670
|
async function Ae(e, t, i = [], s = !1) {
|
|
7671
|
-
return We(`${e}. Spawn command: ${t} ${i.join(" ")}`), new Promise((a, o) => {
|
|
7671
|
+
return We(`${e}. Spawn command: '${t} ${i.join(" ")}'`), new Promise((a, o) => {
|
|
7672
7672
|
Nr(t, i, { stdio: "inherit" }).on("close", (d) => {
|
|
7673
7673
|
d === 0 || s ? a() : o(new Error(`${t} exited with code ${d}`));
|
|
7674
7674
|
});
|
|
@@ -7704,7 +7704,7 @@ async function Uh(e = !1) {
|
|
|
7704
7704
|
try {
|
|
7705
7705
|
Ne("Release Project");
|
|
7706
7706
|
const t = await St("package.json");
|
|
7707
|
-
await _r("1️⃣", t), await Lh("2️⃣", t), await Ae("3️⃣ Bundle project.", "vite", ["build"]), await _e("", "git", ["add", "."]), await _e("", "git", ["commit", "-m", `"v${t.version}"`]), await _e("", "git", ["push", "origin", "main:main"]), await Ae("", "npm", ["publish", "--access", "public"]), Ve(`Project version ${t.version} released.`);
|
|
7707
|
+
await _r("1️⃣", t), await Lh("2️⃣", t), await Ae("3️⃣ Bundle project.", "vite", ["build"]), await _e("4️⃣ Stage changes", "git", ["add", "."]), await _e("5️⃣ Commit changes", "git", ["commit", "-m", `"v${t.version}"`]), await _e("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), await Ae("7️⃣. Publish to npm", "npm", ["publish", "--access", "public"]), Ve(`Project version '${t.version}' released.`);
|
|
7708
7708
|
} catch (t) {
|
|
7709
7709
|
console.error("❌ Error releasing project.", t), process.exit(1);
|
|
7710
7710
|
}
|
|
@@ -7713,7 +7713,7 @@ async function Zh() {
|
|
|
7713
7713
|
try {
|
|
7714
7714
|
Ne("Synchronise Project with GitHub");
|
|
7715
7715
|
const e = await St("package.json");
|
|
7716
|
-
We("Bump project version"), await _r("1️⃣", e), await _e("", "git", ["add", "."]), await _e("", "git", ["commit", "-m", `"v${e.version}"`]), await _e("", "git", ["push", "origin", "main:main"]), Ve(`Project version ${e.version} synchronised with GitHub.`);
|
|
7716
|
+
We("Bump project version"), await _r("1️⃣", e), await _e("2️⃣ Stage changes", "git", ["add", "."]), await _e("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await _e("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Ve(`Project version '${e.version}' synchronised with GitHub.`);
|
|
7717
7717
|
} catch (e) {
|
|
7718
7718
|
console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
|
|
7719
7719
|
}
|
|
@@ -7734,10 +7734,10 @@ async function Lh(e, t) {
|
|
|
7734
7734
|
}
|
|
7735
7735
|
async function _r(e, t, i = "./") {
|
|
7736
7736
|
if (We(`${e} Bump project version`), t.version == null)
|
|
7737
|
-
t.version = "0.0.001", console.warn(`⚠️ Project version initialised to ${t.version}.`), await di(`${i}package.json`, t);
|
|
7737
|
+
t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await di(`${i}package.json`, t);
|
|
7738
7738
|
else {
|
|
7739
7739
|
const s = t.version, a = t.version.split(".");
|
|
7740
|
-
t.version = `${a[0]}.${a[1]}.${Number(a[2]) + 1}`, console.info(`✔️ Project version bumped from ${s} to ${t.version}.`), await di(`${i}package.json`, t);
|
|
7740
|
+
t.version = `${a[0]}.${a[1]}.${Number(a[2]) + 1}`, console.info(`✔️ Project version bumped from '${s}' to '${t.version}'.`), await di(`${i}package.json`, t);
|
|
7741
7741
|
}
|
|
7742
7742
|
}
|
|
7743
7743
|
const Oh = ["critical", "high", "moderate", "low", "unknown"];
|
package/package.json
CHANGED