polytypo 1.18.0 → 1.19.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-4PNVRVFN.js → chunk-2YXXMDVS.js} +3 -3
- package/dist/{chunk-VIOCUESF.js → chunk-6JOOUUWE.js} +4 -4
- package/dist/{chunk-P2EMJLVF.js → chunk-APQVGM4E.js} +2 -2
- package/dist/chunk-APQVGM4E.js.map +1 -0
- package/dist/{chunk-DHBLFEQ4.cjs → chunk-COCPFNB6.cjs} +6 -6
- package/dist/{chunk-DHBLFEQ4.cjs.map → chunk-COCPFNB6.cjs.map} +1 -1
- package/dist/{chunk-D4KBXHBS.cjs → chunk-DM525EPA.cjs} +4 -4
- package/dist/{chunk-D4KBXHBS.cjs.map → chunk-DM525EPA.cjs.map} +1 -1
- package/dist/chunk-DTLKN533.cjs +38 -0
- package/dist/{chunk-JBLZF6GT.cjs.map → chunk-DTLKN533.cjs.map} +1 -1
- package/dist/chunk-DUVPE7JU.cjs +36 -0
- package/dist/{chunk-C6AMXPGN.cjs.map → chunk-DUVPE7JU.cjs.map} +1 -1
- package/dist/{chunk-IVMLFKWH.js → chunk-EK2UPPXO.js} +2 -2
- package/dist/{chunk-HQI62OQ3.cjs → chunk-HUSZTEIP.cjs} +2 -2
- package/dist/chunk-HUSZTEIP.cjs.map +1 -0
- package/dist/{chunk-6OAQCO3S.js → chunk-KQL3ZLZC.js} +2 -2
- package/dist/{chunk-5BMZQ3LM.cjs → chunk-RTEQUU2F.cjs} +3 -3
- package/dist/{chunk-5BMZQ3LM.cjs.map → chunk-RTEQUU2F.cjs.map} +1 -1
- package/dist/{chunk-Q3W7ZJXS.js → chunk-SANA6W2F.js} +2 -2
- package/dist/{chunk-ATPMHQ6B.js → chunk-XQKUWSLX.js} +3 -3
- package/dist/{chunk-KD55CPW7.cjs → chunk-XWGC5HEB.cjs} +23 -23
- package/dist/{chunk-KD55CPW7.cjs.map → chunk-XWGC5HEB.cjs.map} +1 -1
- package/dist/chunk-YNJX7R2Z.cjs +34 -0
- package/dist/{chunk-AQEQJFY7.cjs.map → chunk-YNJX7R2Z.cjs.map} +1 -1
- package/dist/{chunk-MKX74SBT.js → chunk-ZVDX3VHY.js} +2 -2
- 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-AQEQJFY7.cjs +0 -34
- package/dist/chunk-C6AMXPGN.cjs +0 -36
- package/dist/chunk-HQI62OQ3.cjs.map +0 -1
- package/dist/chunk-JBLZF6GT.cjs +0 -38
- package/dist/chunk-P2EMJLVF.js.map +0 -1
- /package/dist/{chunk-4PNVRVFN.js.map → chunk-2YXXMDVS.js.map} +0 -0
- /package/dist/{chunk-VIOCUESF.js.map → chunk-6JOOUUWE.js.map} +0 -0
- /package/dist/{chunk-IVMLFKWH.js.map → chunk-EK2UPPXO.js.map} +0 -0
- /package/dist/{chunk-6OAQCO3S.js.map → chunk-KQL3ZLZC.js.map} +0 -0
- /package/dist/{chunk-Q3W7ZJXS.js.map → chunk-SANA6W2F.js.map} +0 -0
- /package/dist/{chunk-ATPMHQ6B.js.map → chunk-XQKUWSLX.js.map} +0 -0
- /package/dist/{chunk-MKX74SBT.js.map → chunk-ZVDX3VHY.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveYamlKeys,
|
|
3
3
|
yamlSpans
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KQL3ZLZC.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-APQVGM4E.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-2YXXMDVS.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
htmlFragmentSpans,
|
|
3
3
|
isSkippedElement,
|
|
4
4
|
wrapParserErrors
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SANA6W2F.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveFrontmatterKeys,
|
|
8
8
|
yamlSpans
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KQL3ZLZC.js";
|
|
10
10
|
import {
|
|
11
11
|
PolytypoError,
|
|
12
12
|
analyzeOverUnits,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
planRules,
|
|
17
17
|
resolveNarrowTarget,
|
|
18
18
|
runOverUnits
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-APQVGM4E.js";
|
|
20
20
|
|
|
21
21
|
// src/modes/markdown.ts
|
|
22
22
|
import { parse, postprocess, preprocess } from "micromark";
|
|
@@ -394,4 +394,4 @@ export {
|
|
|
394
394
|
runMarkdownPipeline,
|
|
395
395
|
analyzeMarkdownPipeline
|
|
396
396
|
};
|
|
397
|
-
//# sourceMappingURL=chunk-
|
|
397
|
+
//# sourceMappingURL=chunk-6JOOUUWE.js.map
|
|
@@ -82,7 +82,7 @@ var LOCALES = {
|
|
|
82
82
|
cs: { locale: "cs", name: "Czech", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["a", "i", "k", "o", "s", "u", "v", "z"], abbreviations: ["a. s.", "s. r. o."], beforeUnits: ["%", "\xB0C", "ha", "kg", "km", "cm", "mm", "m\xB2", "kWh", "km/h", "str.", "hod."], beforeNumber: [], beforeWord: ["tj.", "tzv.", "tzn."], afterSymbols: ["\xA7"], initialBinding: "single" } },
|
|
83
83
|
"de-CH": { locale: "de-CH", name: "German (Switzerland)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u2039", close: "\u203A", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["z. B.", "d. h.", "u. a.", "u. U.", "m. a. W.", "m. w. H."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: ["Art.", "Abs.", "Ziff.", "Kap.", "S."], beforeWord: ["St."], afterSymbols: ["\xA7", "\xA7\xA7"], initialBinding: "chain" } },
|
|
84
84
|
"de-DE": { locale: "de-DE", name: "German (Germany)", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["z. B.", "d. h.", "u. a.", "u. \xC4.", "z. T.", "i. d. R."], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: ["Nr.", "S."], beforeWord: ["St."], afterSymbols: ["\xA7", "\xA7\xA7"], initialBinding: "chain" } },
|
|
85
|
-
el: { locale: "el", name: "Greek", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "
|
|
85
|
+
el: { locale: "el", name: "Greek", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "em-paired", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
86
86
|
"en-GB": { locale: "en-GB", name: "English (United Kingdom)", quotes: { primary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["s"] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["%", "kg", "g", "mg", "km", "m", "cm", "mm", "mi", "ft", "lb", "oz", "L", "mL", "h", "min", "s", "ms", "\xB0C", "\xB0F", "kB", "MB", "GB", "TB", "kW", "kWh"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
|
|
87
87
|
"en-US": { locale: "en-US", name: "English (United States)", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [{ left: "rock", elided: "n", right: "roll" }], elisionClitics: { before: [], after: ["s"] } }, dash: { parenthetical: "em-tight", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["%", "kg", "g", "mg", "km", "m", "cm", "mm", "mi", "ft", "lb", "oz", "L", "mL", "h", "min", "s", "ms", "\xB0C", "\xB0F", "kB", "MB", "GB", "TB", "kW", "kWh"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "chain" } },
|
|
88
88
|
es: { locale: "es", name: "Spanish", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "em-paired", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ej.", "a. C.", "d. C.", "EE. UU.", "FF. AA.", "N. del T.", "q. e. p. d.", "et al."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "mg", "mL", "min", "dB", "kW", "kWh"], beforeNumber: ["art.", "cap.", "n\xFAm.", "nro.", "p\xE1g.", "p\xE1gs."], beforeWord: ["Sr.", "Sra.", "Srta."], afterSymbols: [], initialBinding: "chain" } },
|
|
@@ -6394,4 +6394,4 @@ export {
|
|
|
6394
6394
|
runProtected,
|
|
6395
6395
|
analyzeProtected
|
|
6396
6396
|
};
|
|
6397
|
-
//# sourceMappingURL=chunk-
|
|
6397
|
+
//# sourceMappingURL=chunk-APQVGM4E.js.map
|