polytypo 1.27.0 → 1.29.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.
- package/dist/{chunk-2S25DBZB.js → chunk-2DFXIIFM.js} +2 -2
- package/dist/{chunk-CD5JFQPF.js → chunk-46HVHDLD.js} +4 -4
- package/dist/{chunk-JEZTDT2R.cjs → chunk-5NTTJKWN.cjs} +6 -6
- package/dist/{chunk-JEZTDT2R.cjs.map → chunk-5NTTJKWN.cjs.map} +1 -1
- package/dist/chunk-5X4EL2FZ.cjs +34 -0
- package/dist/{chunk-PQ2JMNHN.cjs.map → chunk-5X4EL2FZ.cjs.map} +1 -1
- package/dist/{chunk-XFYBTNXK.cjs → chunk-6BEQTKTO.cjs} +23 -23
- package/dist/{chunk-XFYBTNXK.cjs.map → chunk-6BEQTKTO.cjs.map} +1 -1
- package/dist/chunk-CRSRFLXY.cjs +38 -0
- package/dist/{chunk-T33UE3VC.cjs.map → chunk-CRSRFLXY.cjs.map} +1 -1
- package/dist/{chunk-TZ2MR452.cjs → chunk-DGIQD3CL.cjs} +4 -4
- package/dist/{chunk-TZ2MR452.cjs.map → chunk-DGIQD3CL.cjs.map} +1 -1
- package/dist/chunk-F6U75LDW.cjs +36 -0
- package/dist/{chunk-EC6QGB56.cjs.map → chunk-F6U75LDW.cjs.map} +1 -1
- package/dist/{chunk-Q2JM2YKN.js → chunk-IAD2Z4LK.js} +2 -2
- package/dist/{chunk-NPO6DMVX.js → chunk-OW7RDXON.js} +5 -1
- package/dist/{chunk-NPO6DMVX.js.map → chunk-OW7RDXON.js.map} +1 -1
- package/dist/{chunk-GI5QRYIB.js → chunk-Q23NSX5T.js} +3 -3
- package/dist/{chunk-URXHGKPP.cjs → chunk-RM6623UN.cjs} +5 -1
- package/dist/chunk-RM6623UN.cjs.map +1 -0
- package/dist/{chunk-MIG6JI6H.js → chunk-SJTHHQVJ.js} +2 -2
- package/dist/{chunk-COL67BR4.js → chunk-SMI5FQDC.js} +2 -2
- package/dist/{chunk-2BI5UADO.cjs → chunk-TO4ONFOS.cjs} +3 -3
- package/dist/{chunk-2BI5UADO.cjs.map → chunk-TO4ONFOS.cjs.map} +1 -1
- package/dist/{chunk-7T2V7TC5.js → chunk-VRFR4RLZ.js} +3 -3
- package/dist/html.cjs +9 -9
- package/dist/html.js +4 -4
- package/dist/index.cjs +17 -17
- package/dist/index.js +7 -7
- package/dist/markdown.cjs +10 -10
- package/dist/markdown.js +5 -5
- package/dist/text.cjs +8 -8
- package/dist/text.js +3 -3
- package/dist/yaml.cjs +9 -9
- package/dist/yaml.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-EC6QGB56.cjs +0 -36
- package/dist/chunk-PQ2JMNHN.cjs +0 -34
- package/dist/chunk-T33UE3VC.cjs +0 -38
- package/dist/chunk-URXHGKPP.cjs.map +0 -1
- /package/dist/{chunk-2S25DBZB.js.map → chunk-2DFXIIFM.js.map} +0 -0
- /package/dist/{chunk-CD5JFQPF.js.map → chunk-46HVHDLD.js.map} +0 -0
- /package/dist/{chunk-Q2JM2YKN.js.map → chunk-IAD2Z4LK.js.map} +0 -0
- /package/dist/{chunk-GI5QRYIB.js.map → chunk-Q23NSX5T.js.map} +0 -0
- /package/dist/{chunk-MIG6JI6H.js.map → chunk-SJTHHQVJ.js.map} +0 -0
- /package/dist/{chunk-COL67BR4.js.map → chunk-SMI5FQDC.js.map} +0 -0
- /package/dist/{chunk-7T2V7TC5.js.map → chunk-VRFR4RLZ.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveYamlKeys,
|
|
3
3
|
yamlSpans
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SMI5FQDC.js";
|
|
5
5
|
import {
|
|
6
6
|
analyzeOverSpans,
|
|
7
7
|
assertNoProtect,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
planRules,
|
|
10
10
|
resolveNarrowTarget,
|
|
11
11
|
runOverSpans
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OW7RDXON.js";
|
|
13
13
|
|
|
14
14
|
// src/engine/yaml-pipeline.ts
|
|
15
15
|
function runYamlPipeline(input, options) {
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
runYamlPipeline,
|
|
34
34
|
analyzeYamlPipeline
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-Q23NSX5T.js.map
|
|
@@ -64,6 +64,7 @@ var KNOWN_LOCALES = [
|
|
|
64
64
|
"lv",
|
|
65
65
|
"nb",
|
|
66
66
|
"nl",
|
|
67
|
+
"nn",
|
|
67
68
|
"pl",
|
|
68
69
|
"pt-BR",
|
|
69
70
|
"pt-PT",
|
|
@@ -71,6 +72,7 @@ var KNOWN_LOCALES = [
|
|
|
71
72
|
"ru",
|
|
72
73
|
"sk",
|
|
73
74
|
"sl",
|
|
75
|
+
"sq",
|
|
74
76
|
"sr",
|
|
75
77
|
"sv",
|
|
76
78
|
"tr",
|
|
@@ -103,6 +105,7 @@ var LOCALES = {
|
|
|
103
105
|
lv: { locale: "lv", name: "Latvian", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["u. c.", "u. tml.", "\u0161. g."], beforeUnits: [], spacedUnits: ["%", "\u20AC", "EUR", "km", "\xB0C"], closedUnits: [], beforeNumber: ["Nr."], beforeWord: [], afterSymbols: [], initialBinding: "single" } },
|
|
104
106
|
nb: { locale: "nb", name: "Norwegian Bokm\xE5l", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], spacedUnits: ["%", "kr", "km", "kg", "cm", "\xB0C"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
105
107
|
nl: { locale: "nl", name: "Dutch", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["s", "t", "ns", "k", "m", "em", "r", "et"] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["prof. dr."], beforeUnits: ["\xB0C", "km/h", "kWh"], spacedUnits: ["km", "cm", "mm", "kg"], closedUnits: ["%", "\u2030"], beforeNumber: [], beforeWord: [], afterSymbols: ["\u20AC", "$"], initialBinding: "none" } },
|
|
108
|
+
nn: { locale: "nn", name: "Norwegian Nynorsk", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], spacedUnits: ["%", "kr", "km", "kg", "cm", "\xB0C"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
106
109
|
pl: { locale: "pl", name: "Polish", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["a", "i", "o", "u", "w", "z"], abbreviations: ["lek. med.", "in\u017C. g\xF3rn.", "bp sufr."], beforeUnits: ["\u2030", "\xB0C"], spacedUnits: ["km", "cm", "mm", "kg", "km/h", "kWh"], closedUnits: ["%"], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
|
|
107
110
|
"pt-BR": { locale: "pt-BR", name: "Portuguese (Brazil)", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["d", "n", "pel", "m", "t", "lh", "sant"], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["%", "\u2030"], spacedUnits: ["\xB0C", "km", "cm", "mm", "kg", "kW", "kWh", "Hz"], closedUnits: [], beforeNumber: ["p."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
108
111
|
"pt-PT": { locale: "pt-PT", name: "Portuguese (Portugal)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["d", "n", "pel", "m", "t", "lh", "sant"], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["\u2030", "kWh"], spacedUnits: ["%", "\xB0C", "km", "cm", "mm", "kg", "kW", "Hz"], closedUnits: [], beforeNumber: ["p."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
@@ -110,6 +113,7 @@ var LOCALES = {
|
|
|
110
113
|
ru: { locale: "ru", name: "Russian", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "em-tight" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: ["\u043A\u043E\u0435-", "\u043A\u043E\u0439-"], suffixes: ["-\u0442\u043E", "-\u043B\u0438\u0431\u043E", "-\u043D\u0438\u0431\u0443\u0434\u044C", "-\u0442\u0430\u043A\u0438", "-\u043A\u0430"], compounds: ["\u0438\u0437-\u0437\u0430", "\u0438\u0437-\u043F\u043E\u0434"] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["\u0430", "\u0432", "\u0438", "\u043A", "\u043E", "\u0441", "\u0443", "\u0432\u043E", "\u0434\u043E", "\u0437\u0430", "\u0438\u0437", "\u043A\u043E", "\u043D\u0430", "\u043E\u0431", "\u043E\u0442", "\u043F\u043E", "\u0441\u043E"], abbreviations: ["\u0438 \u0442. \u0434.", "\u0438 \u0442. \u043F.", "\u0442. \u0435.", "\u0438 \u0434\u0440."], beforeUnits: ["\u2030", "\u20BD", "\u0433.", "\u0433\u0433.", "\u0432.", "\u0432\u0432.", "\u0442\u044B\u0441.", "\u043C\u043B\u043D", "\u043C\u043B\u0440\u0434"], spacedUnits: ["\xB0C", "\u043A\u043C", "\u0441\u043C", "\u043C\u043C", "\u043A\u0433"], closedUnits: ["%"], beforeNumber: [], beforeWord: ["\u0443\u043B.", "\u043F\u043B."], afterSymbols: ["\u2116", "\xA7"], initialBinding: "chain" } },
|
|
111
114
|
sk: { locale: "sk", name: "Slovak", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-spaced" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. j.", "a pod.", "a. s."], beforeUnits: ["kg", "km", "km/s", "m/s", "min"], spacedUnits: ["%", "\u2030"], closedUnits: [], beforeNumber: ["\u010D.", "ods.", "s."], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
|
|
112
115
|
sl: { locale: "sl", name: "Slovenian", quotes: { primary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, secondary: { open: "\u203A", close: "\u2039", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. i."], beforeUnits: ["\u20AC", "km"], spacedUnits: ["%", "\u2030", "\xB0C", "kg"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
|
|
116
|
+
sq: { locale: "sq", name: "Albanian", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["km", "kg", "cm", "dm", "ha", "km\xB2"], spacedUnits: [], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
|
|
113
117
|
sr: { locale: "sr", name: "Serbian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], spacedUnits: ["kg", "cm", "mm", "\xB0C"], closedUnits: ["%"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
114
118
|
sv: { locale: "sv", name: "Swedish", quotes: { primary: { open: "\u201D", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["g", "mg", "m", "cm", "mm", "l", "dl", "cl", "ml", "kW", "kWh", "min", "sek", "tim", "h", "\xB0C"], spacedUnits: ["%", "\u2030", "kr", "\u20AC", "km", "kg"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
|
|
115
119
|
tr: { locale: "tr", name: "Turkish", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["nin", "n\u0131n", "de", "da", "te", "ye", "yle", "n\u0131", "dan", "den", "lik", "nci", "\xFCm"] }, punctuationPlacement: "none" }, dash: { parenthetical: "none", range: "none" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["Kur. B\u015Fk.", "N\xF6. Sb."], beforeUnits: [], spacedUnits: ["mm", "cm", "km", "kg", "mg", "hl", "m\xB2", "cm\xB2", "\xB0C", "ton"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
@@ -6564,4 +6568,4 @@ function analyzeProtected(input, holes, planned, locale, narrowTarget) {
|
|
|
6564
6568
|
|
|
6565
6569
|
|
|
6566
6570
|
exports.PolytypoError = PolytypoError; exports.toCodePoints = toCodePoints; exports.fromCodePoints = fromCodePoints; exports.getLocaleData = getLocaleData; exports.resolveNarrowTarget = resolveNarrowTarget; exports.normalizeSpans = normalizeSpans; exports.planRules = planRules; exports.runRules = runRules; exports.runRulesRecording = runRulesRecording; exports.runOverSpans = runOverSpans; exports.runOverUnits = runOverUnits; exports.analyzeOverUnits = analyzeOverUnits; exports.analyzeOverSpans = analyzeOverSpans; exports.resolveProtect = resolveProtect; exports.assertNoProtect = assertNoProtect; exports.runProtected = runProtected; exports.analyzeProtected = analyzeProtected;
|
|
6567
|
-
//# sourceMappingURL=chunk-
|
|
6571
|
+
//# sourceMappingURL=chunk-RM6623UN.cjs.map
|