polytypo 1.30.0 → 1.32.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-4MZ7UTRC.js → chunk-24BM7JZJ.js} +3 -3
- package/dist/{chunk-LWWSWVTI.js → chunk-3ZMU6UAI.js} +2 -2
- package/dist/{chunk-RB7DVXKD.cjs → chunk-3ZOBO7VH.cjs} +6 -6
- package/dist/{chunk-RB7DVXKD.cjs.map → chunk-3ZOBO7VH.cjs.map} +1 -1
- package/dist/{chunk-Y3POOZLN.js → chunk-4CPAE6PG.js} +5 -1
- package/dist/chunk-4CPAE6PG.js.map +1 -0
- package/dist/{chunk-64QBZU2Z.js → chunk-5Q77FSKG.js} +2 -2
- package/dist/chunk-5YZGZOEG.cjs +34 -0
- package/dist/{chunk-QDTN65K5.cjs.map → chunk-5YZGZOEG.cjs.map} +1 -1
- package/dist/{chunk-LLPHSREU.cjs → chunk-DXQXPBIO.cjs} +23 -23
- package/dist/{chunk-LLPHSREU.cjs.map → chunk-DXQXPBIO.cjs.map} +1 -1
- package/dist/chunk-FFEPGPF4.cjs +36 -0
- package/dist/{chunk-EBIS5RQW.cjs.map → chunk-FFEPGPF4.cjs.map} +1 -1
- package/dist/{chunk-GGUNL3P6.js → chunk-FPPWQPZD.js} +4 -4
- package/dist/{chunk-ZFNQ2P2F.cjs → chunk-GKIMUEW3.cjs} +5 -1
- package/dist/chunk-GKIMUEW3.cjs.map +1 -0
- package/dist/{chunk-6NR6365G.js → chunk-GSXMWBWM.js} +3 -3
- package/dist/{chunk-ZDTUYVAT.js → chunk-NE3CHQOZ.js} +2 -2
- package/dist/{chunk-CNJV4SNX.cjs → chunk-S7UE6GOZ.cjs} +3 -3
- package/dist/{chunk-CNJV4SNX.cjs.map → chunk-S7UE6GOZ.cjs.map} +1 -1
- package/dist/{chunk-6KMUSOJL.cjs → chunk-THV4TTXH.cjs} +4 -4
- package/dist/{chunk-6KMUSOJL.cjs.map → chunk-THV4TTXH.cjs.map} +1 -1
- package/dist/{chunk-5KKFD2HR.js → chunk-TYYF7SJ3.js} +2 -2
- package/dist/chunk-UYZCANG2.cjs +38 -0
- package/dist/{chunk-6PIVYTIT.cjs.map → chunk-UYZCANG2.cjs.map} +1 -1
- 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-6PIVYTIT.cjs +0 -38
- package/dist/chunk-EBIS5RQW.cjs +0 -36
- package/dist/chunk-QDTN65K5.cjs +0 -34
- package/dist/chunk-Y3POOZLN.js.map +0 -1
- package/dist/chunk-ZFNQ2P2F.cjs.map +0 -1
- /package/dist/{chunk-4MZ7UTRC.js.map → chunk-24BM7JZJ.js.map} +0 -0
- /package/dist/{chunk-LWWSWVTI.js.map → chunk-3ZMU6UAI.js.map} +0 -0
- /package/dist/{chunk-64QBZU2Z.js.map → chunk-5Q77FSKG.js.map} +0 -0
- /package/dist/{chunk-GGUNL3P6.js.map → chunk-FPPWQPZD.js.map} +0 -0
- /package/dist/{chunk-6NR6365G.js.map → chunk-GSXMWBWM.js.map} +0 -0
- /package/dist/{chunk-ZDTUYVAT.js.map → chunk-NE3CHQOZ.js.map} +0 -0
- /package/dist/{chunk-5KKFD2HR.js.map → chunk-TYYF7SJ3.js.map} +0 -0
package/dist/chunk-6PIVYTIT.cjs
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunkZFNQ2P2Fcjs = require('./chunk-ZFNQ2P2F.cjs');
|
|
13
|
-
|
|
14
|
-
// src/engine/text-pipeline.ts
|
|
15
|
-
function runTextPipeline(input, options) {
|
|
16
|
-
const narrowTarget = _chunkZFNQ2P2Fcjs.resolveNarrowTarget.call(void 0, options.narrowNbsp);
|
|
17
|
-
const planned = _chunkZFNQ2P2Fcjs.planRules.call(void 0, options.rules);
|
|
18
|
-
const locale = _chunkZFNQ2P2Fcjs.getLocaleData.call(void 0, options.locale);
|
|
19
|
-
const holes = _chunkZFNQ2P2Fcjs.resolveProtect.call(void 0, options.protect, _chunkZFNQ2P2Fcjs.toCodePoints.call(void 0, input).length);
|
|
20
|
-
if (holes.length > 0) return _chunkZFNQ2P2Fcjs.runProtected.call(void 0, input, holes, planned, locale, narrowTarget);
|
|
21
|
-
return _chunkZFNQ2P2Fcjs.fromCodePoints.call(void 0, _chunkZFNQ2P2Fcjs.runRules.call(void 0, _chunkZFNQ2P2Fcjs.toCodePoints.call(void 0, input), planned, locale, "text", narrowTarget));
|
|
22
|
-
}
|
|
23
|
-
function analyzeTextPipeline(input, options) {
|
|
24
|
-
const narrowTarget = _chunkZFNQ2P2Fcjs.resolveNarrowTarget.call(void 0, options.narrowNbsp);
|
|
25
|
-
const planned = _chunkZFNQ2P2Fcjs.planRules.call(void 0, options.rules);
|
|
26
|
-
const locale = _chunkZFNQ2P2Fcjs.getLocaleData.call(void 0, options.locale);
|
|
27
|
-
const cp = _chunkZFNQ2P2Fcjs.toCodePoints.call(void 0, input);
|
|
28
|
-
const holes = _chunkZFNQ2P2Fcjs.resolveProtect.call(void 0, options.protect, cp.length);
|
|
29
|
-
if (holes.length > 0) return _chunkZFNQ2P2Fcjs.analyzeProtected.call(void 0, input, holes, planned, locale, narrowTarget);
|
|
30
|
-
const origin = cp.map((_value, index) => index);
|
|
31
|
-
return _chunkZFNQ2P2Fcjs.runRulesRecording.call(void 0, cp, planned, locale, "text", narrowTarget, origin, cp.length);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
exports.runTextPipeline = runTextPipeline; exports.analyzeTextPipeline = analyzeTextPipeline;
|
|
38
|
-
//# sourceMappingURL=chunk-6PIVYTIT.cjs.map
|
package/dist/chunk-EBIS5RQW.cjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkRB7DVXKDcjs = require('./chunk-RB7DVXKD.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunkZFNQ2P2Fcjs = require('./chunk-ZFNQ2P2F.cjs');
|
|
13
|
-
|
|
14
|
-
// src/engine/yaml-pipeline.ts
|
|
15
|
-
function runYamlPipeline(input, options) {
|
|
16
|
-
const narrowTarget = _chunkZFNQ2P2Fcjs.resolveNarrowTarget.call(void 0, options.narrowNbsp);
|
|
17
|
-
const planned = _chunkZFNQ2P2Fcjs.planRules.call(void 0, options.rules);
|
|
18
|
-
const locale = _chunkZFNQ2P2Fcjs.getLocaleData.call(void 0, options.locale);
|
|
19
|
-
const keys = _chunkRB7DVXKDcjs.resolveYamlKeys.call(void 0, options.keys);
|
|
20
|
-
_chunkZFNQ2P2Fcjs.assertNoProtect.call(void 0, options.protect, "yaml");
|
|
21
|
-
return _chunkZFNQ2P2Fcjs.runOverSpans.call(void 0, input, _chunkRB7DVXKDcjs.yamlSpans.call(void 0, input, keys), planned, locale, "yaml", narrowTarget);
|
|
22
|
-
}
|
|
23
|
-
function analyzeYamlPipeline(input, options) {
|
|
24
|
-
const narrowTarget = _chunkZFNQ2P2Fcjs.resolveNarrowTarget.call(void 0, options.narrowNbsp);
|
|
25
|
-
const planned = _chunkZFNQ2P2Fcjs.planRules.call(void 0, options.rules);
|
|
26
|
-
const locale = _chunkZFNQ2P2Fcjs.getLocaleData.call(void 0, options.locale);
|
|
27
|
-
const keys = _chunkRB7DVXKDcjs.resolveYamlKeys.call(void 0, options.keys);
|
|
28
|
-
_chunkZFNQ2P2Fcjs.assertNoProtect.call(void 0, options.protect, "yaml");
|
|
29
|
-
return _chunkZFNQ2P2Fcjs.analyzeOverSpans.call(void 0, input, _chunkRB7DVXKDcjs.yamlSpans.call(void 0, input, keys), planned, locale, "yaml", narrowTarget);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
exports.runYamlPipeline = runYamlPipeline; exports.analyzeYamlPipeline = analyzeYamlPipeline;
|
|
36
|
-
//# sourceMappingURL=chunk-EBIS5RQW.cjs.map
|
package/dist/chunk-QDTN65K5.cjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
var _chunk6KMUSOJLcjs = require('./chunk-6KMUSOJL.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _chunkZFNQ2P2Fcjs = require('./chunk-ZFNQ2P2F.cjs');
|
|
12
|
-
|
|
13
|
-
// src/engine/html-pipeline.ts
|
|
14
|
-
function runHtmlPipeline(input, options) {
|
|
15
|
-
const narrowTarget = _chunkZFNQ2P2Fcjs.resolveNarrowTarget.call(void 0, options.narrowNbsp);
|
|
16
|
-
const planned = _chunkZFNQ2P2Fcjs.planRules.call(void 0, options.rules);
|
|
17
|
-
const locale = _chunkZFNQ2P2Fcjs.getLocaleData.call(void 0, options.locale);
|
|
18
|
-
_chunkZFNQ2P2Fcjs.assertNoProtect.call(void 0, options.protect, "html");
|
|
19
|
-
const spans = _chunk6KMUSOJLcjs.htmlSpans.call(void 0, input);
|
|
20
|
-
return _chunkZFNQ2P2Fcjs.runOverSpans.call(void 0, input, spans, planned, locale, "html", narrowTarget);
|
|
21
|
-
}
|
|
22
|
-
function analyzeHtmlPipeline(input, options) {
|
|
23
|
-
const narrowTarget = _chunkZFNQ2P2Fcjs.resolveNarrowTarget.call(void 0, options.narrowNbsp);
|
|
24
|
-
const planned = _chunkZFNQ2P2Fcjs.planRules.call(void 0, options.rules);
|
|
25
|
-
const locale = _chunkZFNQ2P2Fcjs.getLocaleData.call(void 0, options.locale);
|
|
26
|
-
_chunkZFNQ2P2Fcjs.assertNoProtect.call(void 0, options.protect, "html");
|
|
27
|
-
return _chunkZFNQ2P2Fcjs.analyzeOverSpans.call(void 0, input, _chunk6KMUSOJLcjs.htmlSpans.call(void 0, input), planned, locale, "html", narrowTarget);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
exports.runHtmlPipeline = runHtmlPipeline; exports.analyzeHtmlPipeline = analyzeHtmlPipeline;
|
|
34
|
-
//# sourceMappingURL=chunk-QDTN65K5.cjs.map
|