scv-bilara 3.203.52 → 3.204.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scv-bilara",
3
- "version": "3.203.52",
3
+ "version": "3.204.2",
4
4
  "description": "SuttaCentral bilara-data library",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -15,7 +15,7 @@
15
15
  "log-instance": "^1.9.0",
16
16
  "memo-again": "^0.13.0",
17
17
  "merkle-json": "^2.15.0",
18
- "scv-esm": "^1.136.52",
18
+ "scv-esm": "^1.136.54",
19
19
  "suttacentral-api": "^2.25.0",
20
20
  "tmp": "^0.2.3"
21
21
  },
@@ -55,7 +55,7 @@
55
55
  }
56
56
  }
57
57
  if (!suidMap) {
58
- this.info(`initialize() building ${suidMapFile}`);
58
+ //this.info(`initialize() building ${suidMapFile}`);
59
59
  suidMap = this.buildSuidMap();
60
60
  }
61
61
  this.suidMap = await suidMap;
@@ -96,7 +96,7 @@
96
96
  while (pathStack.length) {
97
97
  let dirPath = pathStack.pop();
98
98
  if (reExclude.test(dirPath)) {
99
- this.info(`tipitakaPaths() exclude:`, dirPath);
99
+ //this.info(`tipitakaPaths() exclude:`, dirPath);
100
100
  continue;
101
101
  }
102
102
  var dirKids = fs.readdirSync(dirPath, readOpts);
@@ -386,7 +386,7 @@
386
386
  loadVariant && await this._loadPaths("variant/pli/ms");
387
387
  let { suidMapFile } = this;
388
388
  await fs.promises.writeFile(suidMapFile, JSON.stringify(suidMap, null, '\t'));
389
- this.info(`buildSuidMap() ${suidMapFile} ${Date.now()-msStart}ms`);
389
+ //this.info(`buildSuidMap() ${suidMapFile} ${Date.now()-msStart}ms`);
390
390
  return suidMap;
391
391
  }
392
392
  }
@@ -23,7 +23,7 @@
23
23
  source,
24
24
  } = this;
25
25
  var spath = path.join(root, source);
26
- this.log(`loadSync(${root}) source:"${source}"`);
26
+ //this.log(`loadSync(${root}) source:"${source}"`);
27
27
  this.lines = fs.readFileSync(spath).toString().split('\n');
28
28
  var segStart = true;
29
29
  this.ready = true;
@@ -136,7 +136,7 @@
136
136
  } else {
137
137
  segMap[scid] = dstText;
138
138
  }
139
- this.excertpSize && this.log(`${scid} `+
139
+ this.excerptSize && this.log(`${scid} `+
140
140
  `${this.excerpt(srcText)}`+
141
141
  ` => ${this.excerpt(segMap[scid])}`);
142
142
  });
package/src/seg-doc.js CHANGED
@@ -30,7 +30,7 @@
30
30
  bilaraPath,
31
31
  } = this;
32
32
  var spath = path.join(root, bilaraPath);
33
- this.log(`loadSync(${spath})`);
33
+ //this.log(`loadSync(${spath})`);
34
34
  this.segMap = JSON.parse(fs.readFileSync(spath));
35
35
  return this;
36
36
  }
@@ -74,7 +74,7 @@
74
74
  }
75
75
  return acc;
76
76
  }, root);
77
- this.log(`import(${spath})`);
77
+ //this.log(`import(${spath})`);
78
78
  var json = JSON.stringify(this.segMap, null, 2);
79
79
  fs.writeFileSync(spath, json);
80
80
  return this;