scripture-guide 1.0.80 → 1.0.81
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/scriptures.cjs +1 -1
- package/dist/scriptures.mjs +1 -1
- package/package.json +4 -1
package/dist/scriptures.cjs
CHANGED
|
@@ -167,8 +167,8 @@ const raw_regex_orig = {
|
|
|
167
167
|
["([0-9]),*\\s*\\b(?:chapt*ers*|ch|chptrs*)\\.*,*\\s*([0-9])", "$1:$2"],
|
|
168
168
|
["([a-z]),*\\s*\\b(?:chapt*ers*|ch|chptrs*)\\s*([0-9])", "$1 $2"],
|
|
169
169
|
["[()]+", " "],
|
|
170
|
+
["(?:&(?:ndash|mdash|minus)|&#(?:8211|8212|8722))", "-"],
|
|
170
171
|
["[\\s.]*[–—−\\-]+[\\s.]*", "-"],
|
|
171
|
-
["–", "-"],
|
|
172
172
|
["([;,])\\s*and\\s*", "$1"],
|
|
173
173
|
["([0-9])[ .]*and[ .]*", "$1,"],
|
|
174
174
|
["(\\d)(\\.|: )(\\d)", "$1:$3"],
|
package/dist/scriptures.mjs
CHANGED
|
@@ -167,8 +167,8 @@ const raw_regex_orig = {
|
|
|
167
167
|
["([0-9]),*\\s*\\b(?:chapt*ers*|ch|chptrs*)\\.*,*\\s*([0-9])", "$1:$2"],
|
|
168
168
|
["([a-z]),*\\s*\\b(?:chapt*ers*|ch|chptrs*)\\s*([0-9])", "$1 $2"],
|
|
169
169
|
["[()]+", " "],
|
|
170
|
+
["(?:&(?:ndash|mdash|minus)|&#(?:8211|8212|8722))", "-"],
|
|
170
171
|
["[\\s.]*[–—−\\-]+[\\s.]*", "-"],
|
|
171
|
-
["–", "-"],
|
|
172
172
|
["([;,])\\s*and\\s*", "$1"],
|
|
173
173
|
["([0-9])[ .]*and[ .]*", "$1,"],
|
|
174
174
|
["(\\d)(\\.|: )(\\d)", "$1:$3"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scripture-guide",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.81",
|
|
4
4
|
"description": "A utility for biblical and scripture reference parsing that enables structured queries based on strings of traditional scripture references (e.g. John 3:16). ",
|
|
5
5
|
"main": "dist/scriptures.cjs",
|
|
6
6
|
"module": "dist/scriptures.mjs",
|
|
@@ -53,5 +53,8 @@
|
|
|
53
53
|
"@babel/core": "^7.24.7",
|
|
54
54
|
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
|
|
55
55
|
"@babel/preset-env": "^7.24.7"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"js-yaml": "^4.1.0"
|
|
56
59
|
}
|
|
57
60
|
}
|