proskomma-core 0.10.13 → 0.10.14
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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15992,7 +15992,7 @@ var bitset = { exports: {} };
|
|
|
15992
15992
|
var bitsetExports = bitset.exports;
|
|
15993
15993
|
const BitSet = /* @__PURE__ */ getDefaultExportFromCjs(bitsetExports);
|
|
15994
15994
|
const name = "proskomma-core";
|
|
15995
|
-
const version = "0.10.
|
|
15995
|
+
const version = "0.10.14";
|
|
15996
15996
|
const description$b = "A Scripture Runtime Engine";
|
|
15997
15997
|
const files = [
|
|
15998
15998
|
"dist"
|
|
@@ -39075,7 +39075,7 @@ const specs = (pt) => [
|
|
|
39075
39075
|
parser.headers[label] = parser.current.sequence.plainText();
|
|
39076
39076
|
if (label === "id") {
|
|
39077
39077
|
const idBits = parser.headers[label].split(" ", 2);
|
|
39078
|
-
if (idBits[0].length >=
|
|
39078
|
+
if (idBits[0].length >= 2 && idBits[0].length <= 32 && idTest.test(idBits[0])) {
|
|
39079
39079
|
parser.headers["bookCode"] = idBits[0];
|
|
39080
39080
|
}
|
|
39081
39081
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -15990,7 +15990,7 @@ var bitset = { exports: {} };
|
|
|
15990
15990
|
var bitsetExports = bitset.exports;
|
|
15991
15991
|
const BitSet = /* @__PURE__ */ getDefaultExportFromCjs(bitsetExports);
|
|
15992
15992
|
const name = "proskomma-core";
|
|
15993
|
-
const version = "0.10.
|
|
15993
|
+
const version = "0.10.14";
|
|
15994
15994
|
const description$b = "A Scripture Runtime Engine";
|
|
15995
15995
|
const files = [
|
|
15996
15996
|
"dist"
|
|
@@ -39073,7 +39073,7 @@ const specs = (pt) => [
|
|
|
39073
39073
|
parser.headers[label] = parser.current.sequence.plainText();
|
|
39074
39074
|
if (label === "id") {
|
|
39075
39075
|
const idBits = parser.headers[label].split(" ", 2);
|
|
39076
|
-
if (idBits[0].length >=
|
|
39076
|
+
if (idBits[0].length >= 2 && idBits[0].length <= 32 && idTest.test(idBits[0])) {
|
|
39077
39077
|
parser.headers["bookCode"] = idBits[0];
|
|
39078
39078
|
}
|
|
39079
39079
|
}
|