@aikdna/kdna-core 0.7.0 → 0.7.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/package.json +1 -1
- package/src/asset-reader.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aikdna/kdna-core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "KDNA core library — pure logic for loading, validating, linting, and rendering KDNA domain cognition packages. Zero Node.js dependencies.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "src/index.js",
|
package/src/asset-reader.js
CHANGED
|
@@ -178,8 +178,10 @@ function manifestForDigest(manifest) {
|
|
|
178
178
|
|
|
179
179
|
function buildContentDigest(asset) {
|
|
180
180
|
const parts = [];
|
|
181
|
+
const excluded = new Set(['.DS_Store', 'signature.json', 'build-receipt.json']);
|
|
181
182
|
for (const entryName of [...asset.entries.keys()].sort()) {
|
|
182
|
-
if (
|
|
183
|
+
if (excluded.has(entryName)) continue;
|
|
184
|
+
if (entryName.startsWith('reports/')) continue;
|
|
183
185
|
const entryBuf = asset.readEntry(entryName);
|
|
184
186
|
let digestBuf = entryBuf;
|
|
185
187
|
if (JSON_ENTRY_RE.test(entryName)) {
|