proskomma-core 0.10.14 → 0.10.15

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
@@ -1,7 +1,3 @@
1
- # EXPERIMENTAL
2
-
3
- DISCLAIMER : if you want the production version please [click on this link](https://github.com/mvahowe/proskomma-js)
4
-
5
1
  # proskomma-core
6
2
 
7
3
  A Javascript Implementation of the Proskomma Scripture Processing Model.
@@ -50,4 +46,4 @@ Method to solve this problem :
50
46
  * normally it's listed in the link above
51
47
  * then replace `false` by `require.resolve('theNameOfTheNeededPackage')`
52
48
 
53
- If it doesn't work, I'm afraid you'll have to dig in the webpack documentation for `resolve` : https://webpack.js.org/configuration/resolve/ (or try to find a solution on StackOverflow !)
49
+ If it doesn't work, I'm afraid you'll have to dig in the webpack documentation for `resolve` : https://webpack.js.org/configuration/resolve/ (or try to find a solution on StackOverflow !)
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.14";
15995
+ const version = "0.10.15";
15996
15996
  const description$b = "A Scripture Runtime Engine";
15997
15997
  const files = [
15998
15998
  "dist"
@@ -34086,7 +34086,10 @@ const makeVerses = (subclass, matchedBits) => {
34086
34086
  `
34087
34087
  };
34088
34088
  if (ret.numberString.includes("-")) {
34089
- const [fromV, toV] = ret.numberString.split("-").map((v) => parseInt(v));
34089
+ let [fromV, toV] = ret.numberString.split("-").map((v) => parseInt(v));
34090
+ if (!toV) {
34091
+ toV = fromV;
34092
+ }
34090
34093
  ret.numbers = Array.from(Array(toV - fromV + 1).keys()).map(
34091
34094
  (v) => v + fromV
34092
34095
  );
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.14";
15993
+ const version = "0.10.15";
15994
15994
  const description$b = "A Scripture Runtime Engine";
15995
15995
  const files = [
15996
15996
  "dist"
@@ -34084,7 +34084,10 @@ const makeVerses = (subclass, matchedBits) => {
34084
34084
  `
34085
34085
  };
34086
34086
  if (ret.numberString.includes("-")) {
34087
- const [fromV, toV] = ret.numberString.split("-").map((v) => parseInt(v));
34087
+ let [fromV, toV] = ret.numberString.split("-").map((v) => parseInt(v));
34088
+ if (!toV) {
34089
+ toV = fromV;
34090
+ }
34088
34091
  ret.numbers = Array.from(Array(toV - fromV + 1).keys()).map(
34089
34092
  (v) => v + fromV
34090
34093
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proskomma-core",
3
- "version": "0.10.14",
3
+ "version": "0.10.15",
4
4
  "description": "A Scripture Runtime Engine",
5
5
  "files": [
6
6
  "dist"