@datapos/datapos-development 0.3.253 → 0.3.256

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 CHANGED
@@ -64,9 +64,10 @@ The OWASP Dependency Check Report identifies known vulnerabilities in project de
64
64
 
65
65
  ### Dependency Licenses
66
66
 
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.
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. We do not include unlicensed dependencies. Used to support development activity and not released as part of the production release. Check if you clone. We use `license-report`, `license-report-check` and `license-report-recursive` to identify dependency licenses.
68
68
 
69
69
  <!-- DEPENDENCY_LICENSES_START -->
70
+
70
71
  | Name | Type | Installed | Latest | Latest Modified |
71
72
  | :---------------------- | :----------: | :-------: | :-----: | :----------------------- |
72
73
  | @datapos/datapos-shared | MIT | 0.3.255 | 0.3.255 | 2025-11-29T17:16:07.774Z |
@@ -75,6 +76,7 @@ The following table lists top-level production and peer dependencies. All these
75
76
  | acorn-walk | MIT | 8.3.4 | 8.3.4 | 2024-09-09T08:40:59.131Z |
76
77
  | dotenv | BSD-2-Clause | 17.2.3 | 17.2.3 | 2025-09-29T23:22:21.769Z |
77
78
  | zod | MIT | 4.1.13 | 4.1.13 | 2025-11-24T02:38:31.522Z |
79
+
78
80
  <!-- DEPENDENCY_LICENSES_END -->
79
81
 
80
82
  ### Bundle Analysis Report
@@ -110,3 +112,104 @@ For detailed implementation, see the `scripts` section in the `package.json` fil
110
112
  This project is licensed under the MIT License, allowing free use, modification, and distribution.
111
113
 
112
114
  [MIT](./LICENSE) © 2026 Data Positioning Pty Ltd
115
+
116
+ ## Review License Reporting
117
+
118
+ Here’s a step-by-step license compliance checklist for Node.js projects that combines automated tooling like license-report with manual verification. This is designed to make sure your MIT project remains compliant when using third-party dependencies.
119
+
120
+ Node.js License Compliance Checklist
121
+ Step 1: Generate initial license report
122
+
123
+ Run your tool, e.g., license-report:
124
+
125
+ npx license-report --json > licenses.json
126
+
127
+ Save the output for review.
128
+
129
+ This gives a first-pass list of all dependencies and their declared licenses.
130
+
131
+ Step 2: Identify potential issues
132
+
133
+ For each dependency in the report, check for:
134
+
135
+ Flag What it means Action
136
+ No license declared No license field in package.json Check for LICENSE file in repo. If none, contact author or replace dependency.
137
+ Custom/proprietary license License not recognized Manually review the license text and confirm compatibility.
138
+ Copyleft license (GPL, LGPL) May require release of modifications If LGPL, ensure linking rules are followed. GPL may restrict distribution.
139
+ License mismatch License field differs from LICENSE file Trust LICENSE file; update your report accordingly.
140
+ Step 3: Verify actual license text
141
+
142
+ Check the dependency’s repository for a LICENSE file.
143
+
144
+ Confirm that the license text matches the package.json declaration.
145
+
146
+ For multi-license projects, note which license applies to the code you are using.
147
+
148
+ Step 4: Document all licenses
149
+
150
+ Create a ThirdPartyLicenses.md or LICENSES/ folder in your project.
151
+
152
+ For each dependency, include:
153
+
154
+ Dependency name and version
155
+
156
+ License type (from LICENSE file)
157
+
158
+ URL to repository or package
159
+
160
+ Any copyleft obligations (e.g., “LGPL: modifications must remain LGPL”)
161
+
162
+ Example (ThirdPartyLicenses.md):
163
+
164
+ # Third-Party Dependencies
165
+
166
+ ## LibraryA 1.2.3
167
+
168
+ - License: Apache-2.0
169
+ - Repository: https://github.com/user/libraryA
170
+ - License text: LICENSES/LibraryA.txt
171
+
172
+ ## LibraryB 4.5.6
173
+
174
+ - License: BSD-2-Clause
175
+ - Repository: https://github.com/user/libraryB
176
+ - License text: LICENSES/LibraryB.txt
177
+
178
+ ## LibraryC 0.1.2
179
+
180
+ - License: LGPL-3.0-only
181
+ - Repository: https://github.com/user/libraryC
182
+ - License text: LICENSES/LibraryC.txt
183
+ - Note: If you modify this library, modifications must remain LGPL-3.0-only
184
+
185
+ Step 5: Include license texts
186
+
187
+ Copy the full license text into your project for each dependency.
188
+
189
+ Put each in LICENSES/LibraryName.txt or combine into ThirdPartyLicenses.md.
190
+
191
+ Make it easily accessible to end users.
192
+
193
+ Step 6: Audit before release
194
+
195
+ Review all dependencies: no missing licenses.
196
+
197
+ Confirm compliance with copyleft licenses.
198
+
199
+ Ensure your own MIT license only covers your code.
200
+
201
+ Update ThirdPartyLicenses.md whenever dependencies are added/updated.
202
+
203
+ Step 7: Automate for future
204
+
205
+ Use CI scripts to regenerate license report on npm install or release.
206
+
207
+ Fail the build if any dependency has “no license” or an incompatible license.
208
+
209
+ Optional tools:
210
+
211
+ license-checker (Node.js)
212
+
213
+ npm-license-crawler
214
+
215
+ fossology (more comprehensive scanning)
@@ -7751,7 +7751,7 @@ async function ip() {
7751
7751
  if (i === "app")
7752
7752
  se("7️⃣ Register module"), await Rh();
7753
7753
  else if (i === "engine")
7754
- se("7️⃣ Register module"), await ys(), await vs("datapos-engine-eu");
7754
+ se("7️⃣ Register module"), await ys(), await vs(`datapos-engine-eu/${s}`);
7755
7755
  else if (s === void 0)
7756
7756
  se("7️⃣ Registration NOT required.");
7757
7757
  else {
@@ -7837,6 +7837,8 @@ function Bh(e) {
7837
7837
  }
7838
7838
  function $h(e) {
7839
7839
  switch (e) {
7840
+ case "engine":
7841
+ return "engine";
7840
7842
  case "connector":
7841
7843
  return "connectors";
7842
7844
  case "context":
@@ -7866,7 +7868,7 @@ async function ap() {
7866
7868
  "--nodePackageSkipDevDependencies",
7867
7869
  "--nvdApiKey",
7868
7870
  process.env.NVD_API_KEY ?? ""
7869
- ]), await Hh("2️⃣"), await Ee("3️⃣", "npm", ["audit"]), Fe("Dependencies audited.");
7871
+ ]), await Hh("2️⃣"), await Ee("3️⃣ Check using 'npm outdated'", "npm", ["audit"]), Fe("Dependencies audited.");
7870
7872
  } catch (e) {
7871
7873
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
7872
7874
  }
@@ -7907,7 +7909,7 @@ async function Wh(e) {
7907
7909
  }
7908
7910
  async function np() {
7909
7911
  try {
7910
- Le("Check Dependencies"), await Ee("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Ee("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i"]), Fe("Dependencies checked.");
7912
+ Le("Check Dependencies"), await Ee("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Ee("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i"]), Fe("Dependencies checked.");
7911
7913
  } catch (e) {
7912
7914
  console.error("❌ Error checking dependencies.", e), process.exit(1);
7913
7915
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.253",
3
+ "version": "0.3.256",
4
4
  "description": "A library of utilities for managing the Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",