scv-esm 1.126.0 → 1.130.0

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.
@@ -14,7 +14,7 @@ jobs:
14
14
  - uses: actions/checkout@v6
15
15
  - uses: actions/setup-node@v6
16
16
  with:
17
- node-version: '20.x'
17
+ node-version: '24.x'
18
18
  #registry-url: 'https://registry.npmjs.org'
19
19
  - run: scripts/install
20
20
  - run: git config --global user.name github-actions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scv-esm",
3
- "version": "1.126.0",
3
+ "version": "1.130.0",
4
4
  "description": "SuttaCentral Voice ES Module",
5
5
  "main": "index.mjs",
6
6
  "module": "main.mjs",
@@ -26,7 +26,7 @@
26
26
  "eslint": "^9.17.0",
27
27
  "memo-again": "^0.8.0",
28
28
  "mocha": "^11.0.1",
29
- "scv-bilara": "^3.182.62",
29
+ "scv-bilara": "^3.197.1",
30
30
  "should": "^13.2.3",
31
31
  "suttacentral-api": "^2.24.0"
32
32
  }
package/scripts/install CHANGED
@@ -3,8 +3,8 @@
3
3
  DIR=`dirname $0`
4
4
  SCRIPT=`basename $0 | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
5
5
 
6
- ${DIR}/install-node 20 &&
7
- ${DIR}/update-npm 10 &&
6
+ ${DIR}/install-node 24 &&
7
+ ${DIR}/update-npm 11 &&
8
8
  ${DIR}/install-ripgrep &&
9
9
  npm install &&
10
10
  echo -e "${SCRIPT}: completed (OK)"
@@ -1,8 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const fs = require("fs");
4
- const path = require("path");
5
- const { logger } = require("log-instance");
3
+ import fs from "fs";
4
+ import path from "path";
5
+ import { fileURLToPath } from "url";
6
+ import { logger } from "log-instance";
7
+ import * as module from "../../index.mjs";
8
+
9
+ const __filename = fileURLToPath(import.meta.url);
10
+ const __dirname = path.dirname(__filename);
6
11
 
7
12
  const APP_DIR = path.join(__dirname, "..", "..");
8
13
  const LOCAL_DIR = path.join(APP_DIR, "local");
@@ -11,7 +16,7 @@ const EBT_DATA_DIR = path.join(LOCAL_DIR, "ebt-data");
11
16
  const EBT_AUTHOR = path.join(EBT_DATA_DIR, "_author.json");
12
17
  const SCRIPT = path.basename(__filename);
13
18
  const AUTHORS_PATH = path.join(SRC_DIR, "auto", "authors.mjs");
14
- const { Examples } = require(path.join(APP_DIR, 'index.js'));
19
+ const { Examples } = module;
15
20
 
16
21
  const COMMENT = [`Auto-generated by ${SCRIPT}`];
17
22
 
@@ -8,7 +8,7 @@ npm install --save-dev suttacentral-api@latest
8
8
  npm install --save-dev scv-bilara@latest
9
9
  $DIR/js/suid-map.js
10
10
  $DIR/js/examples.js
11
- $DIR/js/authors.js
11
+ $DIR/js/authors.mjs
12
12
  $DIR/js/authors-v2.mjs
13
13
  $DIR/publish-npm
14
14
 
@@ -165,7 +165,7 @@ const AUTHORS = {
165
165
  "sutta"
166
166
  ],
167
167
  "stats": {
168
- "sutta": 4057,
168
+ "sutta": 4058,
169
169
  "sutta/an": 1408,
170
170
  "sutta/an/an1": 31,
171
171
  "sutta/an/an2": 19,
@@ -197,7 +197,7 @@ const AUTHORS = {
197
197
  "sutta/kn/ja": 47,
198
198
  "sutta/kn/kp": 9,
199
199
  "sutta/kn/mil": 1,
200
- "sutta/mn": 127,
200
+ "sutta/mn": 128,
201
201
  "sutta/sn": 1819,
202
202
  "sutta/sn/sn1": 81,
203
203
  "sutta/sn/sn2": 30,
@@ -11119,6 +11119,7 @@
11119
11119
  "root/pli/ms": "sutta/mn"
11120
11120
  },
11121
11121
  "mn106": {
11122
+ "translation/de/sabbamitta": "sutta/mn",
11122
11123
  "translation/en/sujato": "sutta/mn",
11123
11124
  "translation/it/giovannizappa": "sutta/mn",
11124
11125
  "translation/ru/sv": "sutta/mn",
@@ -11119,6 +11119,7 @@ const SUIDMAP = {
11119
11119
  "root/pli/ms": "sutta/mn"
11120
11120
  },
11121
11121
  "mn106": {
11122
+ "translation/de/sabbamitta": "sutta/mn",
11122
11123
  "translation/en/sujato": "sutta/mn",
11123
11124
  "translation/it/giovannizappa": "sutta/mn",
11124
11125
  "translation/ru/sv": "sutta/mn",