@prismicio/client 7.7.3 → 7.7.5-alpha.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/README.md +3 -3
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs +63 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js +63 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs +12 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.js +12 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs +127 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js +127 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs +23 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs.map +1 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.js +23 -0
- package/dist/_node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
- package/dist/_node_modules/bail/index.cjs +9 -0
- package/dist/_node_modules/bail/index.cjs.map +1 -0
- package/dist/_node_modules/bail/index.js +9 -0
- package/dist/_node_modules/bail/index.js.map +1 -0
- package/dist/_node_modules/bcp-47-match/index.cjs +74 -0
- package/dist/_node_modules/bcp-47-match/index.cjs.map +1 -0
- package/dist/_node_modules/bcp-47-match/index.js +74 -0
- package/dist/_node_modules/bcp-47-match/index.js.map +1 -0
- package/dist/_node_modules/boolbase/index.cjs +13 -0
- package/dist/_node_modules/boolbase/index.cjs.map +1 -0
- package/dist/_node_modules/boolbase/index.js +14 -0
- package/dist/_node_modules/boolbase/index.js.map +1 -0
- package/dist/_node_modules/ccount/index.cjs +17 -0
- package/dist/_node_modules/ccount/index.cjs.map +1 -0
- package/dist/_node_modules/ccount/index.js +17 -0
- package/dist/_node_modules/ccount/index.js.map +1 -0
- package/dist/_node_modules/character-entities/index.cjs +2131 -0
- package/dist/_node_modules/character-entities/index.cjs.map +1 -0
- package/dist/_node_modules/character-entities/index.js +2131 -0
- package/dist/_node_modules/character-entities/index.js.map +1 -0
- package/dist/_node_modules/character-entities-html4/index.cjs +258 -0
- package/dist/_node_modules/character-entities-html4/index.cjs.map +1 -0
- package/dist/_node_modules/character-entities-html4/index.js +258 -0
- package/dist/_node_modules/character-entities-html4/index.js.map +1 -0
- package/dist/_node_modules/character-entities-legacy/index.cjs +112 -0
- package/dist/_node_modules/character-entities-legacy/index.cjs.map +1 -0
- package/dist/_node_modules/character-entities-legacy/index.js +112 -0
- package/dist/_node_modules/character-entities-legacy/index.js.map +1 -0
- package/dist/_node_modules/comma-separated-tokens/index.cjs +32 -0
- package/dist/_node_modules/comma-separated-tokens/index.cjs.map +1 -0
- package/dist/_node_modules/comma-separated-tokens/index.js +32 -0
- package/dist/_node_modules/comma-separated-tokens/index.js.map +1 -0
- package/dist/_node_modules/devlop/lib/default.cjs +6 -0
- package/dist/_node_modules/devlop/lib/default.cjs.map +1 -0
- package/dist/_node_modules/devlop/lib/default.js +6 -0
- package/dist/_node_modules/devlop/lib/default.js.map +1 -0
- package/dist/_node_modules/direction/index.cjs +12 -0
- package/dist/_node_modules/direction/index.cjs.map +1 -0
- package/dist/_node_modules/direction/index.js +12 -0
- package/dist/_node_modules/direction/index.js.map +1 -0
- package/dist/_node_modules/extend/index.cjs +89 -0
- package/dist/_node_modules/extend/index.cjs.map +1 -0
- package/dist/_node_modules/extend/index.js +90 -0
- package/dist/_node_modules/extend/index.js.map +1 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.cjs +14 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.js +14 -0
- package/dist/_node_modules/hast-util-embedded/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.cjs +317 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.cjs.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.js +317 -0
- package/dist/_node_modules/hast-util-from-html/lib/errors.js.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.cjs +96 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.js +96 -0
- package/dist/_node_modules/hast-util-from-html/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs +187 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.js +187 -0
- package/dist/_node_modules/hast-util-from-parse5/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.cjs +9 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.js +9 -0
- package/dist/_node_modules/hast-util-has-property/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.cjs +102 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.js +102 -0
- package/dist/_node_modules/hast-util-is-element/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs +40 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.js +40 -0
- package/dist/_node_modules/hast-util-parse-selector/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.cjs +67 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.js +67 -0
- package/dist/_node_modules/hast-util-select/lib/attribute.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.cjs +12 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.js +12 -0
- package/dist/_node_modules/hast-util-select/lib/class-name.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.cjs +79 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.js +79 -0
- package/dist/_node_modules/hast-util-select/lib/enter-state.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/id.cjs +7 -0
- package/dist/_node_modules/hast-util-select/lib/id.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/id.js +7 -0
- package/dist/_node_modules/hast-util-select/lib/id.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/index.cjs +38 -0
- package/dist/_node_modules/hast-util-select/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/index.js +38 -0
- package/dist/_node_modules/hast-util-select/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/name.cjs +7 -0
- package/dist/_node_modules/hast-util-select/lib/name.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/name.js +7 -0
- package/dist/_node_modules/hast-util-select/lib/name.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/parse.cjs +12 -0
- package/dist/_node_modules/hast-util-select/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/parse.js +12 -0
- package/dist/_node_modules/hast-util-select/lib/parse.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.cjs +231 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.js +231 -0
- package/dist/_node_modules/hast-util-select/lib/pseudo.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/test.cjs +27 -0
- package/dist/_node_modules/hast-util-select/lib/test.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/test.js +27 -0
- package/dist/_node_modules/hast-util-select/lib/test.js.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/walk.cjs +132 -0
- package/dist/_node_modules/hast-util-select/lib/walk.cjs.map +1 -0
- package/dist/_node_modules/hast-util-select/lib/walk.js +132 -0
- package/dist/_node_modules/hast-util-select/lib/walk.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs +137 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.js +137 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/element.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs +26 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.js +26 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/index.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs +8 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js +8 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.js +7 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/root.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs +14 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.js +14 -0
- package/dist/_node_modules/hast-util-to-html/lib/handle/text.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.cjs +62 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.js +62 -0
- package/dist/_node_modules/hast-util-to-html/lib/index.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs +92 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js +92 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs +11 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js +11 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs +52 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js +52 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js +24 -0
- package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js.map +1 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.cjs +24 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.js +24 -0
- package/dist/_node_modules/hast-util-to-string/lib/index.js.map +1 -0
- package/dist/_node_modules/hastscript/lib/create-h.cjs +159 -0
- package/dist/_node_modules/hastscript/lib/create-h.cjs.map +1 -0
- package/dist/_node_modules/hastscript/lib/create-h.js +159 -0
- package/dist/_node_modules/hastscript/lib/create-h.js.map +1 -0
- package/dist/_node_modules/hastscript/lib/index.cjs +10 -0
- package/dist/_node_modules/hastscript/lib/index.cjs.map +1 -0
- package/dist/_node_modules/hastscript/lib/index.js +10 -0
- package/dist/_node_modules/hastscript/lib/index.js.map +1 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs +45 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.map +1 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +45 -0
- package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js.map +1 -0
- package/dist/_node_modules/html-void-elements/index.cjs +26 -0
- package/dist/_node_modules/html-void-elements/index.cjs.map +1 -0
- package/dist/_node_modules/html-void-elements/index.js +26 -0
- package/dist/_node_modules/html-void-elements/index.js.map +1 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs +720 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.js +720 -0
- package/dist/_node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs +116 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/footer.js +116 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs +9 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js +9 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs +25 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js +25 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs +42 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +42 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs +12 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js +12 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs +20 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +20 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs +17 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js +17 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs +60 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js +60 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs +16 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +16 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs +25 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +25 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs +19 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js +19 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs +65 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js +65 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs +27 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js +27 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs +9 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js +9 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs +15 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +15 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs +36 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js +36 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs +40 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js +40 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs +10 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js +10 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +14 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs +16 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/index.js +16 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs +30 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/revert.js +30 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs +149 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/state.js +149 -0
- package/dist/_node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.cjs +39 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.cjs.map +1 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.js +39 -0
- package/dist/_node_modules/mdast-util-to-string/lib/index.js.map +1 -0
- package/dist/_node_modules/micromark/lib/constructs.cjs +94 -0
- package/dist/_node_modules/micromark/lib/constructs.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/constructs.js +94 -0
- package/dist/_node_modules/micromark/lib/constructs.js.map +1 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.cjs +316 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.js +316 -0
- package/dist/_node_modules/micromark/lib/create-tokenizer.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/content.cjs +58 -0
- package/dist/_node_modules/micromark/lib/initialize/content.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/content.js +58 -0
- package/dist/_node_modules/micromark/lib/initialize/content.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/document.cjs +212 -0
- package/dist/_node_modules/micromark/lib/initialize/document.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/document.js +212 -0
- package/dist/_node_modules/micromark/lib/initialize/document.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.cjs +55 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.js +55 -0
- package/dist/_node_modules/micromark/lib/initialize/flow.js.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/text.cjs +143 -0
- package/dist/_node_modules/micromark/lib/initialize/text.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/initialize/text.js +143 -0
- package/dist/_node_modules/micromark/lib/initialize/text.js.map +1 -0
- package/dist/_node_modules/micromark/lib/parse.cjs +35 -0
- package/dist/_node_modules/micromark/lib/parse.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/parse.js +35 -0
- package/dist/_node_modules/micromark/lib/parse.js.map +1 -0
- package/dist/_node_modules/micromark/lib/postprocess.cjs +10 -0
- package/dist/_node_modules/micromark/lib/postprocess.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/postprocess.js +10 -0
- package/dist/_node_modules/micromark/lib/postprocess.js.map +1 -0
- package/dist/_node_modules/micromark/lib/preprocess.cjs +81 -0
- package/dist/_node_modules/micromark/lib/preprocess.cjs.map +1 -0
- package/dist/_node_modules/micromark/lib/preprocess.js +81 -0
- package/dist/_node_modules/micromark/lib/preprocess.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs +116 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.js +116 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs +104 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js +104 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs +19 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js +19 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs +62 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js +62 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs +29 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js +29 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs +69 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js +69 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs +187 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js +187 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs +68 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js +68 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs +117 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js +117 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs +76 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.js +76 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs +95 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.js +95 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +24 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js +24 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs +96 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js +96 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs +384 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js +384 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs +310 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js +310 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs +219 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js +219 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs +34 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js +34 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs +25 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js +25 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs +18 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js +18 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs +136 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.js +136 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs +90 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js +90 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs +43 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs.map +1 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js +43 -0
- package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
- package/dist/_node_modules/micromark-factory-destination/index.cjs +95 -0
- package/dist/_node_modules/micromark-factory-destination/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-destination/index.js +95 -0
- package/dist/_node_modules/micromark-factory-destination/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-label/index.cjs +64 -0
- package/dist/_node_modules/micromark-factory-label/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-label/index.js +64 -0
- package/dist/_node_modules/micromark-factory-label/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-space/index.cjs +25 -0
- package/dist/_node_modules/micromark-factory-space/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-space/index.js +25 -0
- package/dist/_node_modules/micromark-factory-space/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-title/index.cjs +66 -0
- package/dist/_node_modules/micromark-factory-title/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-title/index.js +66 -0
- package/dist/_node_modules/micromark-factory-title/index.js.map +1 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.cjs +27 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.js +27 -0
- package/dist/_node_modules/micromark-factory-whitespace/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-character/index.cjs +45 -0
- package/dist/_node_modules/micromark-util-character/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-character/index.js +45 -0
- package/dist/_node_modules/micromark-util-character/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-chunked/index.cjs +37 -0
- package/dist/_node_modules/micromark-util-chunked/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-chunked/index.js +37 -0
- package/dist/_node_modules/micromark-util-chunked/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-classify-character/index.cjs +13 -0
- package/dist/_node_modules/micromark-util-classify-character/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-classify-character/index.js +13 -0
- package/dist/_node_modules/micromark-util-classify-character/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.cjs +42 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.js +42 -0
- package/dist/_node_modules/micromark-util-combine-extensions/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs +20 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js +20 -0
- package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-decode-string/index.cjs +22 -0
- package/dist/_node_modules/micromark-util-decode-string/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-decode-string/index.js +22 -0
- package/dist/_node_modules/micromark-util-decode-string/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.cjs +70 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.js +70 -0
- package/dist/_node_modules/micromark-util-html-tag-name/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs +7 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.js +7 -0
- package/dist/_node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.cjs +16 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.js +16 -0
- package/dist/_node_modules/micromark-util-resolve-all/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs +42 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.js +42 -0
- package/dist/_node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.cjs +149 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.js +149 -0
- package/dist/_node_modules/micromark-util-subtokenize/index.js.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +195 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs.map +1 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js +195 -0
- package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.cjs +20 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.cjs.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.js +20 -0
- package/dist/_node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/index.cjs +11 -0
- package/dist/_node_modules/nth-check/lib/esm/index.cjs.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/index.js +11 -0
- package/dist/_node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.cjs +59 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.cjs.map +1 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.js +59 -0
- package/dist/_node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/dist/_node_modules/property-information/index.cjs +14 -0
- package/dist/_node_modules/property-information/index.cjs.map +1 -0
- package/dist/_node_modules/property-information/index.js +14 -0
- package/dist/_node_modules/property-information/index.js.map +1 -0
- package/dist/_node_modules/property-information/lib/aria.cjs +62 -0
- package/dist/_node_modules/property-information/lib/aria.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/aria.js +62 -0
- package/dist/_node_modules/property-information/lib/aria.js.map +1 -0
- package/dist/_node_modules/property-information/lib/find.cjs +41 -0
- package/dist/_node_modules/property-information/lib/find.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/find.js +41 -0
- package/dist/_node_modules/property-information/lib/find.js.map +1 -0
- package/dist/_node_modules/property-information/lib/html.cjs +369 -0
- package/dist/_node_modules/property-information/lib/html.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/html.js +369 -0
- package/dist/_node_modules/property-information/lib/html.js.map +1 -0
- package/dist/_node_modules/property-information/lib/normalize.cjs +7 -0
- package/dist/_node_modules/property-information/lib/normalize.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/normalize.js +7 -0
- package/dist/_node_modules/property-information/lib/normalize.js.map +1 -0
- package/dist/_node_modules/property-information/lib/svg.cjs +567 -0
- package/dist/_node_modules/property-information/lib/svg.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/svg.js +567 -0
- package/dist/_node_modules/property-information/lib/svg.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs +8 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js +8 -0
- package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs +7 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js +7 -0
- package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/create.cjs +31 -0
- package/dist/_node_modules/property-information/lib/util/create.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/create.js +31 -0
- package/dist/_node_modules/property-information/lib/util/create.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.cjs +33 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.js +33 -0
- package/dist/_node_modules/property-information/lib/util/defined-info.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/info.cjs +25 -0
- package/dist/_node_modules/property-information/lib/util/info.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/info.js +25 -0
- package/dist/_node_modules/property-information/lib/util/info.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/merge.cjs +15 -0
- package/dist/_node_modules/property-information/lib/util/merge.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/merge.js +15 -0
- package/dist/_node_modules/property-information/lib/util/merge.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/schema.cjs +22 -0
- package/dist/_node_modules/property-information/lib/util/schema.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/schema.js +22 -0
- package/dist/_node_modules/property-information/lib/util/schema.js.map +1 -0
- package/dist/_node_modules/property-information/lib/util/types.cjs +21 -0
- package/dist/_node_modules/property-information/lib/util/types.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/util/types.js +21 -0
- package/dist/_node_modules/property-information/lib/util/types.js.map +1 -0
- package/dist/_node_modules/property-information/lib/xlink.cjs +20 -0
- package/dist/_node_modules/property-information/lib/xlink.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/xlink.js +20 -0
- package/dist/_node_modules/property-information/lib/xlink.js.map +1 -0
- package/dist/_node_modules/property-information/lib/xml.cjs +12 -0
- package/dist/_node_modules/property-information/lib/xml.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/xml.js +12 -0
- package/dist/_node_modules/property-information/lib/xml.js.map +1 -0
- package/dist/_node_modules/property-information/lib/xmlns.cjs +12 -0
- package/dist/_node_modules/property-information/lib/xmlns.cjs.map +1 -0
- package/dist/_node_modules/property-information/lib/xmlns.js +12 -0
- package/dist/_node_modules/property-information/lib/xmlns.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs +122 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.js +122 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/block.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs +11 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.js +11 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/content.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs +169 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.js +170 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/index.js.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs +24 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs.map +1 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js +24 -0
- package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js.map +1 -0
- package/dist/_node_modules/rehype-parse/lib/index.cjs +21 -0
- package/dist/_node_modules/rehype-parse/lib/index.cjs.map +1 -0
- package/dist/_node_modules/rehype-parse/lib/index.js +22 -0
- package/dist/_node_modules/rehype-parse/lib/index.js.map +1 -0
- package/dist/_node_modules/remark-parse/lib/index.cjs +19 -0
- package/dist/_node_modules/remark-parse/lib/index.cjs.map +1 -0
- package/dist/_node_modules/remark-parse/lib/index.js +20 -0
- package/dist/_node_modules/remark-parse/lib/index.js.map +1 -0
- package/dist/_node_modules/remark-rehype/lib/index.cjs +21 -0
- package/dist/_node_modules/remark-rehype/lib/index.cjs.map +1 -0
- package/dist/_node_modules/remark-rehype/lib/index.js +22 -0
- package/dist/_node_modules/remark-rehype/lib/index.js.map +1 -0
- package/dist/_node_modules/space-separated-tokens/index.cjs +12 -0
- package/dist/_node_modules/space-separated-tokens/index.cjs.map +1 -0
- package/dist/_node_modules/space-separated-tokens/index.js +12 -0
- package/dist/_node_modules/space-separated-tokens/index.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs +14 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js +14 -0
- package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/core.cjs +52 -0
- package/dist/_node_modules/stringify-entities/lib/core.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/core.js +52 -0
- package/dist/_node_modules/stringify-entities/lib/core.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/index.cjs +9 -0
- package/dist/_node_modules/stringify-entities/lib/index.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/index.js +9 -0
- package/dist/_node_modules/stringify-entities/lib/index.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs +26 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.js +26 -0
- package/dist/_node_modules/stringify-entities/lib/util/format-smart.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js +9 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs +28 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs.map +1 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.js +28 -0
- package/dist/_node_modules/stringify-entities/lib/util/to-named.js.map +1 -0
- package/dist/_node_modules/trim-lines/index.cjs +42 -0
- package/dist/_node_modules/trim-lines/index.cjs.map +1 -0
- package/dist/_node_modules/trim-lines/index.js +42 -0
- package/dist/_node_modules/trim-lines/index.js.map +1 -0
- package/dist/_node_modules/trough/lib/index.cjs +87 -0
- package/dist/_node_modules/trough/lib/index.cjs.map +1 -0
- package/dist/_node_modules/trough/lib/index.js +87 -0
- package/dist/_node_modules/trough/lib/index.js.map +1 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs +10 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs.map +1 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js +11 -0
- package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js.map +1 -0
- package/dist/_node_modules/unified/lib/callable-instance.cjs +31 -0
- package/dist/_node_modules/unified/lib/callable-instance.cjs.map +1 -0
- package/dist/_node_modules/unified/lib/callable-instance.js +31 -0
- package/dist/_node_modules/unified/lib/callable-instance.js.map +1 -0
- package/dist/_node_modules/unified/lib/index.cjs +637 -0
- package/dist/_node_modules/unified/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unified/lib/index.js +637 -0
- package/dist/_node_modules/unified/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-is/lib/index.cjs +94 -0
- package/dist/_node_modules/unist-util-is/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-is/lib/index.js +94 -0
- package/dist/_node_modules/unist-util-is/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-position/lib/index.cjs +28 -0
- package/dist/_node_modules/unist-util-position/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-position/lib/index.js +28 -0
- package/dist/_node_modules/unist-util-position/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-remove/lib/index.cjs +39 -0
- package/dist/_node_modules/unist-util-remove/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-remove/lib/index.js +39 -0
- package/dist/_node_modules/unist-util-remove/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs +28 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.js +28 -0
- package/dist/_node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs +28 -0
- package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js +29 -0
- package/dist/_node_modules/unist-util-visit/lib/index.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs +7 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.js +7 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +84 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js +84 -0
- package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
- package/dist/_node_modules/vfile/lib/index.cjs +463 -0
- package/dist/_node_modules/vfile/lib/index.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/index.js +463 -0
- package/dist/_node_modules/vfile/lib/index.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.cjs +215 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.js +215 -0
- package/dist/_node_modules/vfile/lib/minpath.browser.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.cjs +8 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.js +8 -0
- package/dist/_node_modules/vfile/lib/minproc.browser.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.cjs +47 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.js +47 -0
- package/dist/_node_modules/vfile/lib/minurl.browser.js.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.cjs +10 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.cjs.map +1 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.js +10 -0
- package/dist/_node_modules/vfile/lib/minurl.shared.js.map +1 -0
- package/dist/_node_modules/vfile-location/lib/index.cjs +50 -0
- package/dist/_node_modules/vfile-location/lib/index.cjs.map +1 -0
- package/dist/_node_modules/vfile-location/lib/index.js +50 -0
- package/dist/_node_modules/vfile-location/lib/index.js.map +1 -0
- package/dist/_node_modules/vfile-message/lib/index.cjs +139 -0
- package/dist/_node_modules/vfile-message/lib/index.cjs.map +1 -0
- package/dist/_node_modules/vfile-message/lib/index.js +139 -0
- package/dist/_node_modules/vfile-message/lib/index.js.map +1 -0
- package/dist/_node_modules/web-namespaces/index.cjs +12 -0
- package/dist/_node_modules/web-namespaces/index.cjs.map +1 -0
- package/dist/_node_modules/web-namespaces/index.js +12 -0
- package/dist/_node_modules/web-namespaces/index.js.map +1 -0
- package/dist/_node_modules/zwitch/index.cjs +23 -0
- package/dist/_node_modules/zwitch/index.cjs.map +1 -0
- package/dist/_node_modules/zwitch/index.js +23 -0
- package/dist/_node_modules/zwitch/index.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.cjs +7 -0
- package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +7 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/index.cjs +9 -0
- package/dist/_virtual/index.cjs.map +1 -0
- package/dist/_virtual/index.js +9 -0
- package/dist/_virtual/index.js.map +1 -0
- package/dist/buildQueryURL.cjs.map +1 -1
- package/dist/buildQueryURL.d.ts +1 -1
- package/dist/buildQueryURL.js.map +1 -1
- package/dist/cookie.cjs.map +1 -1
- package/dist/cookie.js.map +1 -1
- package/dist/createClient.cjs +31 -31
- package/dist/createClient.cjs.map +1 -1
- package/dist/createClient.d.ts +35 -35
- package/dist/createClient.js +31 -31
- package/dist/createClient.js.map +1 -1
- package/dist/errors/ForbiddenError.cjs.map +1 -1
- package/dist/errors/ForbiddenError.js.map +1 -1
- package/dist/errors/NotFoundError.cjs.map +1 -1
- package/dist/errors/NotFoundError.js.map +1 -1
- package/dist/errors/ParsingError.cjs.map +1 -1
- package/dist/errors/ParsingError.js.map +1 -1
- package/dist/errors/PreviewTokenExpired.cjs.map +1 -1
- package/dist/errors/PreviewTokenExpired.js.map +1 -1
- package/dist/errors/PrismicError.cjs.map +1 -1
- package/dist/errors/PrismicError.js.map +1 -1
- package/dist/errors/PrismicRichTextSerializerError.cjs.map +1 -1
- package/dist/errors/PrismicRichTextSerializerError.js.map +1 -1
- package/dist/errors/RefExpiredError.cjs.map +1 -1
- package/dist/errors/RefExpiredError.js.map +1 -1
- package/dist/errors/RefNotFoundError.cjs.map +1 -1
- package/dist/errors/RefNotFoundError.js.map +1 -1
- package/dist/errors/RepositoryNotFoundError.cjs.map +1 -1
- package/dist/errors/RepositoryNotFoundError.js.map +1 -1
- package/dist/filter.cjs.map +1 -1
- package/dist/filter.js.map +1 -1
- package/dist/getGraphQLEndpoint.cjs.map +1 -1
- package/dist/getGraphQLEndpoint.js.map +1 -1
- package/dist/getRepositoryEndpoint.cjs.map +1 -1
- package/dist/getRepositoryEndpoint.js.map +1 -1
- package/dist/getRepositoryName.cjs.map +1 -1
- package/dist/getRepositoryName.js.map +1 -1
- package/dist/getToolbarSrc.cjs.map +1 -1
- package/dist/getToolbarSrc.js.map +1 -1
- package/dist/helpers/asDate.cjs.map +1 -1
- package/dist/helpers/asDate.js.map +1 -1
- package/dist/helpers/asHTML.cjs.map +1 -1
- package/dist/helpers/asHTML.d.ts +2 -2
- package/dist/helpers/asHTML.js.map +1 -1
- package/dist/helpers/asImagePixelDensitySrcSet.cjs.map +1 -1
- package/dist/helpers/asImagePixelDensitySrcSet.d.ts +2 -2
- package/dist/helpers/asImagePixelDensitySrcSet.js.map +1 -1
- package/dist/helpers/asImageSrc.cjs.map +1 -1
- package/dist/helpers/asImageSrc.d.ts +2 -2
- package/dist/helpers/asImageSrc.js.map +1 -1
- package/dist/helpers/asImageWidthSrcSet.cjs.map +1 -1
- package/dist/helpers/asImageWidthSrcSet.d.ts +2 -2
- package/dist/helpers/asImageWidthSrcSet.js.map +1 -1
- package/dist/helpers/asLink.cjs.map +1 -1
- package/dist/helpers/asLink.d.ts +2 -4
- package/dist/helpers/asLink.js.map +1 -1
- package/dist/helpers/asLinkAttrs.cjs.map +1 -1
- package/dist/helpers/asLinkAttrs.d.ts +2 -2
- package/dist/helpers/asLinkAttrs.js.map +1 -1
- package/dist/helpers/asText.cjs.map +1 -1
- package/dist/helpers/asText.d.ts +1 -1
- package/dist/helpers/asText.js.map +1 -1
- package/dist/helpers/documentToLinkField.cjs.map +1 -1
- package/dist/helpers/documentToLinkField.js.map +1 -1
- package/dist/helpers/isFilled.cjs.map +1 -1
- package/dist/helpers/isFilled.js.map +1 -1
- package/dist/helpers/mapSliceZone.cjs.map +1 -1
- package/dist/helpers/mapSliceZone.d.ts +1 -1
- package/dist/helpers/mapSliceZone.js.map +1 -1
- package/dist/helpers/unstable_htmlAsRichText.cjs +3 -3
- package/dist/helpers/unstable_htmlAsRichText.cjs.map +1 -1
- package/dist/helpers/unstable_htmlAsRichText.d.ts +4 -4
- package/dist/helpers/unstable_htmlAsRichText.js +2 -2
- package/dist/helpers/unstable_htmlAsRichText.js.map +1 -1
- package/dist/helpers/unstable_markdownAsRichText.cjs +4 -4
- package/dist/helpers/unstable_markdownAsRichText.cjs.map +1 -1
- package/dist/helpers/unstable_markdownAsRichText.d.ts +2 -2
- package/dist/helpers/unstable_markdownAsRichText.js +3 -3
- package/dist/helpers/unstable_markdownAsRichText.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/isRepositoryEndpoint.cjs.map +1 -1
- package/dist/isRepositoryEndpoint.js.map +1 -1
- package/dist/isRepositoryName.cjs.map +1 -1
- package/dist/isRepositoryName.js.map +1 -1
- package/dist/lib/RichTextFieldBuilder.cjs.map +1 -1
- package/dist/lib/RichTextFieldBuilder.d.ts +1 -1
- package/dist/lib/RichTextFieldBuilder.js.map +1 -1
- package/dist/lib/appendFilters.cjs.map +1 -1
- package/dist/lib/appendFilters.js.map +1 -1
- package/dist/lib/castArray.cjs.map +1 -1
- package/dist/lib/castArray.js.map +1 -1
- package/dist/lib/castThunk.cjs.map +1 -1
- package/dist/lib/castThunk.js.map +1 -1
- package/dist/lib/devMsg.cjs.map +1 -1
- package/dist/lib/devMsg.d.ts +1 -1
- package/dist/lib/devMsg.js.map +1 -1
- package/dist/lib/escapeHTML.cjs.map +1 -1
- package/dist/lib/escapeHTML.js.map +1 -1
- package/dist/lib/everyTagFilter.cjs.map +1 -1
- package/dist/lib/everyTagFilter.js.map +1 -1
- package/dist/lib/filterRichTextField.cjs.map +1 -1
- package/dist/lib/filterRichTextField.d.ts +3 -3
- package/dist/lib/filterRichTextField.js.map +1 -1
- package/dist/lib/findMasterRef.cjs.map +1 -1
- package/dist/lib/findMasterRef.d.ts +1 -1
- package/dist/lib/findMasterRef.js.map +1 -1
- package/dist/lib/findRef.cjs.map +1 -1
- package/dist/lib/findRef.d.ts +1 -1
- package/dist/lib/findRef.js.map +1 -1
- package/dist/lib/findRefByID.cjs.map +1 -1
- package/dist/lib/findRefByID.d.ts +1 -1
- package/dist/lib/findRefByID.js.map +1 -1
- package/dist/lib/findRefByLabel.cjs.map +1 -1
- package/dist/lib/findRefByLabel.d.ts +1 -1
- package/dist/lib/findRefByLabel.js.map +1 -1
- package/dist/lib/getPreviewCookie.cjs.map +1 -1
- package/dist/lib/getPreviewCookie.js.map +1 -1
- package/dist/lib/hastSerializerHelpers.cjs +2 -2
- package/dist/lib/hastSerializerHelpers.cjs.map +1 -1
- package/dist/lib/hastSerializerHelpers.d.ts +3 -3
- package/dist/lib/hastSerializerHelpers.js +1 -1
- package/dist/lib/hastSerializerHelpers.js.map +1 -1
- package/dist/lib/hastToRichText.cjs +6 -7
- package/dist/lib/hastToRichText.cjs.map +1 -1
- package/dist/lib/hastToRichText.d.ts +4 -4
- package/dist/lib/hastToRichText.js +3 -4
- package/dist/lib/hastToRichText.js.map +1 -1
- package/dist/lib/isInternalURL.cjs.map +1 -1
- package/dist/lib/isInternalURL.js.map +1 -1
- package/dist/lib/minifyGraphQLQuery.cjs.map +1 -1
- package/dist/lib/minifyGraphQLQuery.js.map +1 -1
- package/dist/lib/rehypeRichText.cjs +13 -12
- package/dist/lib/rehypeRichText.cjs.map +1 -1
- package/dist/lib/rehypeRichText.d.ts +5 -5
- package/dist/lib/rehypeRichText.js +5 -4
- package/dist/lib/rehypeRichText.js.map +1 -1
- package/dist/lib/serializerHelpers.cjs.map +1 -1
- package/dist/lib/serializerHelpers.d.ts +2 -2
- package/dist/lib/serializerHelpers.js.map +1 -1
- package/dist/lib/someTagsFilter.cjs.map +1 -1
- package/dist/lib/someTagsFilter.js.map +1 -1
- package/dist/lib/typeFilter.cjs.map +1 -1
- package/dist/lib/typeFilter.js.map +1 -1
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.js +1 -1
- package/dist/richtext/asText.cjs.map +1 -1
- package/dist/richtext/asText.d.ts +1 -1
- package/dist/richtext/asText.js.map +1 -1
- package/dist/richtext/asTree.cjs.map +1 -1
- package/dist/richtext/asTree.d.ts +2 -2
- package/dist/richtext/asTree.js.map +1 -1
- package/dist/richtext/composeSerializers.cjs.map +1 -1
- package/dist/richtext/composeSerializers.d.ts +1 -1
- package/dist/richtext/composeSerializers.js.map +1 -1
- package/dist/richtext/serialize.cjs.map +1 -1
- package/dist/richtext/serialize.d.ts +1 -1
- package/dist/richtext/serialize.js.map +1 -1
- package/dist/richtext/types.cjs.map +1 -1
- package/dist/richtext/types.d.ts +1 -1
- package/dist/richtext/types.js.map +1 -1
- package/dist/richtext/wrapMapSerializer.cjs.map +1 -1
- package/dist/richtext/wrapMapSerializer.d.ts +1 -1
- package/dist/richtext/wrapMapSerializer.js.map +1 -1
- package/dist/types/api/query.d.ts +1 -1
- package/dist/types/api/release.d.ts +1 -1
- package/dist/types/api/repository.d.ts +1 -1
- package/dist/types/model/customType.d.ts +1 -1
- package/dist/types/model/link.cjs.map +1 -1
- package/dist/types/model/link.js.map +1 -1
- package/dist/types/model/slice.cjs.map +1 -1
- package/dist/types/model/slice.js.map +1 -1
- package/dist/types/model/sliceZone.cjs.map +1 -1
- package/dist/types/model/sliceZone.js.map +1 -1
- package/dist/types/model/title.d.ts +1 -1
- package/dist/types/model/types.cjs.map +1 -1
- package/dist/types/model/types.js.map +1 -1
- package/dist/types/value/document.d.ts +4 -4
- package/dist/types/value/embed.cjs.map +1 -1
- package/dist/types/value/embed.js.map +1 -1
- package/dist/types/value/link.cjs.map +1 -1
- package/dist/types/value/link.js.map +1 -1
- package/dist/types/value/richText.cjs.map +1 -1
- package/dist/types/value/richText.js.map +1 -1
- package/dist/types/webhook/apiUpdate.d.ts +1 -1
- package/dist/types/webhook/testTrigger.d.ts +1 -1
- package/dist/types/webhook/types.cjs.map +1 -1
- package/dist/types/webhook/types.d.ts +2 -2
- package/dist/types/webhook/types.js.map +1 -1
- package/package.json +15 -13
- package/src/buildQueryURL.ts +51 -51
- package/src/cookie.ts +1 -1
- package/src/createClient.ts +293 -293
- package/src/errors/ForbiddenError.ts +6 -6
- package/src/errors/NotFoundError.ts +1 -1
- package/src/errors/ParsingError.ts +8 -8
- package/src/errors/PreviewTokenExpired.ts +4 -4
- package/src/errors/PrismicError.ts +5 -5
- package/src/errors/PrismicRichTextSerializerError.ts +1 -1
- package/src/errors/RefExpiredError.ts +4 -4
- package/src/errors/RefNotFoundError.ts +4 -4
- package/src/errors/RepositoryNotFoundError.ts +1 -1
- package/src/filter.ts +22 -22
- package/src/getGraphQLEndpoint.ts +5 -5
- package/src/getRepositoryEndpoint.ts +5 -5
- package/src/getRepositoryName.ts +4 -4
- package/src/getToolbarSrc.ts +5 -5
- package/src/helpers/asDate.ts +7 -7
- package/src/helpers/asHTML.ts +54 -56
- package/src/helpers/asImagePixelDensitySrcSet.ts +14 -17
- package/src/helpers/asImageSrc.ts +9 -8
- package/src/helpers/asImageWidthSrcSet.ts +19 -22
- package/src/helpers/asLink.ts +26 -27
- package/src/helpers/asLinkAttrs.ts +30 -29
- package/src/helpers/asText.ts +15 -15
- package/src/helpers/documentToLinkField.ts +6 -6
- package/src/helpers/isFilled.ts +53 -53
- package/src/helpers/mapSliceZone.ts +34 -34
- package/src/helpers/unstable_htmlAsRichText.ts +23 -22
- package/src/helpers/unstable_markdownAsRichText.ts +14 -13
- package/src/index.ts +119 -119
- package/src/isRepositoryEndpoint.ts +4 -4
- package/src/isRepositoryName.ts +2 -2
- package/src/lib/RichTextFieldBuilder.ts +36 -41
- package/src/lib/appendFilters.ts +4 -4
- package/src/lib/castArray.ts +2 -2
- package/src/lib/castThunk.ts +2 -2
- package/src/lib/devMsg.ts +4 -4
- package/src/lib/escapeHTML.ts +24 -24
- package/src/lib/everyTagFilter.ts +4 -4
- package/src/lib/filterRichTextField.ts +31 -31
- package/src/lib/findMasterRef.ts +4 -4
- package/src/lib/findRef.ts +6 -6
- package/src/lib/findRefByID.ts +4 -4
- package/src/lib/findRefByLabel.ts +4 -4
- package/src/lib/getPreviewCookie.ts +11 -11
- package/src/lib/hastSerializerHelpers.ts +41 -37
- package/src/lib/hastToRichText.ts +74 -73
- package/src/lib/isInternalURL.ts +4 -4
- package/src/lib/minifyGraphQLQuery.ts +2 -2
- package/src/lib/rehypeRichText.ts +42 -41
- package/src/lib/serializerHelpers.ts +53 -54
- package/src/lib/someTagsFilter.ts +4 -4
- package/src/lib/typeFilter.ts +3 -3
- package/src/richtext/asText.ts +5 -5
- package/src/richtext/asTree.ts +53 -53
- package/src/richtext/composeSerializers.ts +6 -6
- package/src/richtext/index.ts +7 -7
- package/src/richtext/serialize.ts +11 -11
- package/src/richtext/types.ts +38 -38
- package/src/richtext/wrapMapSerializer.ts +6 -9
- package/src/types/api/query.ts +9 -9
- package/src/types/api/ref.ts +5 -5
- package/src/types/api/release.ts +2 -2
- package/src/types/api/repository.ts +24 -24
- package/src/types/api/tags.ts +1 -1
- package/src/types/model/boolean.ts +7 -7
- package/src/types/model/color.ts +5 -5
- package/src/types/model/contentRelationship.ts +9 -9
- package/src/types/model/customType.ts +9 -9
- package/src/types/model/date.ts +6 -6
- package/src/types/model/embed.ts +5 -5
- package/src/types/model/geoPoint.ts +4 -4
- package/src/types/model/group.ts +6 -6
- package/src/types/model/image.ts +9 -9
- package/src/types/model/integration.ts +6 -6
- package/src/types/model/keyText.ts +5 -5
- package/src/types/model/link.ts +8 -8
- package/src/types/model/linkToMedia.ts +7 -7
- package/src/types/model/number.ts +7 -7
- package/src/types/model/range.ts +8 -8
- package/src/types/model/richText.ts +16 -16
- package/src/types/model/select.ts +7 -7
- package/src/types/model/separator.ts +4 -4
- package/src/types/model/sharedSlice.ts +7 -7
- package/src/types/model/sharedSliceVariation.ts +9 -9
- package/src/types/model/slice.ts +12 -12
- package/src/types/model/sliceZone.ts +11 -11
- package/src/types/model/timestamp.ts +6 -6
- package/src/types/model/title.ts +2 -2
- package/src/types/model/types.ts +26 -26
- package/src/types/model/uid.ts +5 -5
- package/src/types/value/boolean.ts +1 -1
- package/src/types/value/color.ts +2 -2
- package/src/types/value/contentRelationship.ts +15 -15
- package/src/types/value/date.ts +2 -2
- package/src/types/value/document.ts +23 -23
- package/src/types/value/embed.ts +33 -33
- package/src/types/value/geoPoint.ts +4 -4
- package/src/types/value/group.ts +3 -3
- package/src/types/value/image.ts +21 -21
- package/src/types/value/integration.ts +2 -2
- package/src/types/value/keyText.ts +2 -2
- package/src/types/value/link.ts +12 -12
- package/src/types/value/linkToMedia.ts +11 -11
- package/src/types/value/number.ts +2 -2
- package/src/types/value/richText.ts +58 -58
- package/src/types/value/select.ts +2 -2
- package/src/types/value/sharedSlice.ts +5 -5
- package/src/types/value/sharedSliceVariation.ts +5 -5
- package/src/types/value/slice.ts +6 -6
- package/src/types/value/sliceZone.ts +4 -4
- package/src/types/value/timestamp.ts +3 -3
- package/src/types/value/title.ts +4 -4
- package/src/types/value/types.ts +22 -22
- package/src/types/webhook/apiUpdate.ts +18 -18
- package/src/types/webhook/testTrigger.ts +2 -2
- package/src/types/webhook/types.ts +8 -8
package/src/index.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
// Imports are used for deprecations.
|
|
2
|
-
import type { CustomTypeModelIntegrationField } from "./types/model/integration"
|
|
3
|
-
import type { IntegrationField } from "./types/value/integration"
|
|
4
|
-
import { RichTextNodeType } from "./types/value/richText"
|
|
2
|
+
import type { CustomTypeModelIntegrationField } from "./types/model/integration"
|
|
3
|
+
import type { IntegrationField } from "./types/value/integration"
|
|
4
|
+
import { RichTextNodeType } from "./types/value/richText"
|
|
5
5
|
|
|
6
6
|
import type {
|
|
7
7
|
HTMLRichTextFunctionSerializer,
|
|
8
8
|
HTMLRichTextMapSerializer,
|
|
9
|
-
} from "./helpers/asHTML"
|
|
10
|
-
import { mapSliceZone } from "./helpers/mapSliceZone"
|
|
9
|
+
} from "./helpers/asHTML"
|
|
10
|
+
import { mapSliceZone } from "./helpers/mapSliceZone"
|
|
11
11
|
|
|
12
|
-
import { filter } from "./filter"
|
|
12
|
+
import { filter } from "./filter"
|
|
13
13
|
|
|
14
14
|
//=============================================================================
|
|
15
15
|
// Client - Query content from Prismic.
|
|
16
16
|
//=============================================================================
|
|
17
17
|
|
|
18
18
|
// Primary Client API.
|
|
19
|
-
export { createClient, Client } from "./createClient"
|
|
19
|
+
export { createClient, Client } from "./createClient"
|
|
20
20
|
|
|
21
21
|
// API endpoint helpers.
|
|
22
|
-
export { getRepositoryEndpoint } from "./getRepositoryEndpoint"
|
|
23
|
-
export { getRepositoryName } from "./getRepositoryName"
|
|
24
|
-
export { getGraphQLEndpoint } from "./getGraphQLEndpoint"
|
|
25
|
-
export { isRepositoryName } from "./isRepositoryName"
|
|
26
|
-
export { isRepositoryEndpoint } from "./isRepositoryEndpoint"
|
|
27
|
-
export { buildQueryURL } from "./buildQueryURL"
|
|
22
|
+
export { getRepositoryEndpoint } from "./getRepositoryEndpoint"
|
|
23
|
+
export { getRepositoryName } from "./getRepositoryName"
|
|
24
|
+
export { getGraphQLEndpoint } from "./getGraphQLEndpoint"
|
|
25
|
+
export { isRepositoryName } from "./isRepositoryName"
|
|
26
|
+
export { isRepositoryEndpoint } from "./isRepositoryEndpoint"
|
|
27
|
+
export { buildQueryURL } from "./buildQueryURL"
|
|
28
28
|
|
|
29
29
|
// Toolbar helpers.
|
|
30
|
-
export { getToolbarSrc } from "./getToolbarSrc"
|
|
30
|
+
export { getToolbarSrc } from "./getToolbarSrc"
|
|
31
31
|
|
|
32
32
|
// Query filters API.
|
|
33
33
|
/**
|
|
34
34
|
* @deprecated Renamed to `filter`
|
|
35
35
|
*/
|
|
36
36
|
// TODO: Remove when we remove support for deprecated `predicate` export.
|
|
37
|
-
const predicate = filter
|
|
38
|
-
export { filter, predicate }
|
|
37
|
+
const predicate = filter
|
|
38
|
+
export { filter, predicate }
|
|
39
39
|
|
|
40
40
|
// A collection of well-known cookie names shared between Prismic libraries and systems.
|
|
41
|
-
export * as cookie from "./cookie"
|
|
41
|
+
export * as cookie from "./cookie"
|
|
42
42
|
|
|
43
43
|
// General types used to query content from Prismic. These are made public to allow users to better type their projects.
|
|
44
44
|
export type {
|
|
@@ -49,79 +49,79 @@ export type {
|
|
|
49
49
|
HttpRequestLike,
|
|
50
50
|
RequestInitLike,
|
|
51
51
|
ResponseLike,
|
|
52
|
-
} from "./createClient"
|
|
52
|
+
} from "./createClient"
|
|
53
53
|
export type {
|
|
54
54
|
BuildQueryURLArgs,
|
|
55
55
|
Ordering,
|
|
56
56
|
QueryParams,
|
|
57
57
|
Route,
|
|
58
|
-
} from "./buildQueryURL"
|
|
58
|
+
} from "./buildQueryURL"
|
|
59
59
|
|
|
60
60
|
//=============================================================================
|
|
61
61
|
// Helpers - Manipulate content from Prismic.
|
|
62
62
|
//=============================================================================
|
|
63
63
|
|
|
64
64
|
// Primary Helpers API.
|
|
65
|
-
export { asDate } from "./helpers/asDate"
|
|
66
|
-
export { asLink } from "./helpers/asLink"
|
|
67
|
-
export { asLinkAttrs } from "./helpers/asLinkAttrs"
|
|
68
|
-
export { asText } from "./helpers/asText"
|
|
69
|
-
export { asHTML } from "./helpers/asHTML"
|
|
70
|
-
export { asImageSrc } from "./helpers/asImageSrc"
|
|
71
|
-
export { asImageWidthSrcSet } from "./helpers/asImageWidthSrcSet"
|
|
72
|
-
export { asImagePixelDensitySrcSet } from "./helpers/asImagePixelDensitySrcSet"
|
|
73
|
-
export * as isFilled from "./helpers/isFilled"
|
|
65
|
+
export { asDate } from "./helpers/asDate"
|
|
66
|
+
export { asLink } from "./helpers/asLink"
|
|
67
|
+
export { asLinkAttrs } from "./helpers/asLinkAttrs"
|
|
68
|
+
export { asText } from "./helpers/asText"
|
|
69
|
+
export { asHTML } from "./helpers/asHTML"
|
|
70
|
+
export { asImageSrc } from "./helpers/asImageSrc"
|
|
71
|
+
export { asImageWidthSrcSet } from "./helpers/asImageWidthSrcSet"
|
|
72
|
+
export { asImagePixelDensitySrcSet } from "./helpers/asImagePixelDensitySrcSet"
|
|
73
|
+
export * as isFilled from "./helpers/isFilled"
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @deprecated Renamed to `mapSliceZone`
|
|
77
77
|
*/
|
|
78
|
-
const unstable_mapSliceZone = mapSliceZone
|
|
79
|
-
export { mapSliceZone, unstable_mapSliceZone }
|
|
78
|
+
const unstable_mapSliceZone = mapSliceZone
|
|
79
|
+
export { mapSliceZone, unstable_mapSliceZone }
|
|
80
80
|
|
|
81
81
|
// Conversion helper.
|
|
82
|
-
export { documentToLinkField } from "./helpers/documentToLinkField"
|
|
83
|
-
export { unstable_htmlAsRichText } from "./helpers/unstable_htmlAsRichText"
|
|
84
|
-
export { unstable_markdownAsRichText } from "./helpers/unstable_markdownAsRichText"
|
|
82
|
+
export { documentToLinkField } from "./helpers/documentToLinkField"
|
|
83
|
+
export { unstable_htmlAsRichText } from "./helpers/unstable_htmlAsRichText"
|
|
84
|
+
export { unstable_markdownAsRichText } from "./helpers/unstable_markdownAsRichText"
|
|
85
85
|
|
|
86
|
-
export type { LinkResolverFunction } from "./helpers/asLink"
|
|
87
|
-
export type { AsLinkAttrsConfig } from "./helpers/asLinkAttrs"
|
|
88
|
-
export type { SliceMapper } from "./helpers/mapSliceZone"
|
|
86
|
+
export type { LinkResolverFunction } from "./helpers/asLink"
|
|
87
|
+
export type { AsLinkAttrsConfig } from "./helpers/asLinkAttrs"
|
|
88
|
+
export type { SliceMapper } from "./helpers/mapSliceZone"
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* @deprecated Renamed to `HTMLRichTextMapSerializer`
|
|
92
92
|
*/
|
|
93
|
-
type HTMLMapSerializer = HTMLRichTextMapSerializer
|
|
93
|
+
type HTMLMapSerializer = HTMLRichTextMapSerializer
|
|
94
94
|
/**
|
|
95
95
|
* @deprecated Renamed to `HTMLRichTextFunctionSerializer`
|
|
96
96
|
*/
|
|
97
|
-
type HTMLFunctionSerializer = HTMLRichTextFunctionSerializer
|
|
97
|
+
type HTMLFunctionSerializer = HTMLRichTextFunctionSerializer
|
|
98
98
|
export type {
|
|
99
99
|
HTMLRichTextMapSerializer,
|
|
100
100
|
HTMLRichTextFunctionSerializer,
|
|
101
101
|
HTMLMapSerializer,
|
|
102
102
|
HTMLFunctionSerializer,
|
|
103
|
-
}
|
|
104
|
-
export type { HTMLRichTextSerializer } from "./helpers/asHTML"
|
|
103
|
+
}
|
|
104
|
+
export type { HTMLRichTextSerializer } from "./helpers/asHTML"
|
|
105
105
|
|
|
106
|
-
export type { RichTextHTMLMapSerializer } from "./helpers/unstable_htmlAsRichText"
|
|
106
|
+
export type { RichTextHTMLMapSerializer } from "./helpers/unstable_htmlAsRichText"
|
|
107
107
|
|
|
108
108
|
//=============================================================================
|
|
109
109
|
// Errors - Custom errors for Prismic APIs.
|
|
110
110
|
//=============================================================================
|
|
111
111
|
|
|
112
112
|
// Client Errors
|
|
113
|
-
export { PrismicError } from "./errors/PrismicError"
|
|
114
|
-
export { ForbiddenError } from "./errors/ForbiddenError"
|
|
115
|
-
export { NotFoundError } from "./errors/NotFoundError"
|
|
116
|
-
export { RefNotFoundError } from "./errors/RefNotFoundError"
|
|
117
|
-
export { RefExpiredError } from "./errors/RefExpiredError"
|
|
118
|
-
export { PreviewTokenExpiredError } from "./errors/PreviewTokenExpired"
|
|
119
|
-
export { ParsingError } from "./errors/ParsingError"
|
|
120
|
-
export { RepositoryNotFoundError } from "./errors/RepositoryNotFoundError"
|
|
113
|
+
export { PrismicError } from "./errors/PrismicError"
|
|
114
|
+
export { ForbiddenError } from "./errors/ForbiddenError"
|
|
115
|
+
export { NotFoundError } from "./errors/NotFoundError"
|
|
116
|
+
export { RefNotFoundError } from "./errors/RefNotFoundError"
|
|
117
|
+
export { RefExpiredError } from "./errors/RefExpiredError"
|
|
118
|
+
export { PreviewTokenExpiredError } from "./errors/PreviewTokenExpired"
|
|
119
|
+
export { ParsingError } from "./errors/ParsingError"
|
|
120
|
+
export { RepositoryNotFoundError } from "./errors/RepositoryNotFoundError"
|
|
121
121
|
|
|
122
122
|
// Rich Text Errors
|
|
123
|
-
export { PrismicRichTextError } from "./errors/PrismicRichTextError"
|
|
124
|
-
export { PrismicRichTextSerializerError } from "./errors/PrismicRichTextSerializerError"
|
|
123
|
+
export { PrismicRichTextError } from "./errors/PrismicRichTextError"
|
|
124
|
+
export { PrismicRichTextSerializerError } from "./errors/PrismicRichTextSerializerError"
|
|
125
125
|
|
|
126
126
|
//=============================================================================
|
|
127
127
|
// Types - Types representing Prismic content, models, and API payloads.
|
|
@@ -132,10 +132,10 @@ export { PrismicRichTextSerializerError } from "./errors/PrismicRichTextSerializ
|
|
|
132
132
|
* @deprecated Use {@link RichTextNodeType} instead.
|
|
133
133
|
*/
|
|
134
134
|
// TODO: Remove in v8.
|
|
135
|
-
const Element = RichTextNodeType
|
|
136
|
-
export { RichTextNodeType, Element }
|
|
137
|
-
export { LinkType } from "./types/value/link"
|
|
138
|
-
export { OEmbedType } from "./types/value/embed"
|
|
135
|
+
const Element = RichTextNodeType
|
|
136
|
+
export { RichTextNodeType, Element }
|
|
137
|
+
export { LinkType } from "./types/value/link"
|
|
138
|
+
export { OEmbedType } from "./types/value/embed"
|
|
139
139
|
|
|
140
140
|
export type {
|
|
141
141
|
PrismicDocument,
|
|
@@ -143,7 +143,7 @@ export type {
|
|
|
143
143
|
PrismicDocumentWithoutUID,
|
|
144
144
|
PrismicDocumentHeader,
|
|
145
145
|
AlternateLanguage,
|
|
146
|
-
} from "./types/value/document"
|
|
146
|
+
} from "./types/value/document"
|
|
147
147
|
|
|
148
148
|
export type {
|
|
149
149
|
// RichText & Title
|
|
@@ -181,29 +181,29 @@ export type {
|
|
|
181
181
|
RTInlineNode,
|
|
182
182
|
RTAnyNode,
|
|
183
183
|
RichTextNodeTypes,
|
|
184
|
-
} from "./types/value/richText"
|
|
185
|
-
export type { TitleField } from "./types/value/title"
|
|
184
|
+
} from "./types/value/richText"
|
|
185
|
+
export type { TitleField } from "./types/value/title"
|
|
186
186
|
|
|
187
187
|
export type {
|
|
188
188
|
ImageField,
|
|
189
189
|
ImageFieldImage,
|
|
190
190
|
FilledImageFieldImage,
|
|
191
191
|
EmptyImageFieldImage,
|
|
192
|
-
} from "./types/value/image"
|
|
192
|
+
} from "./types/value/image"
|
|
193
193
|
|
|
194
194
|
export type {
|
|
195
195
|
EmptyLinkField,
|
|
196
196
|
LinkField,
|
|
197
197
|
FilledLinkToWebField,
|
|
198
|
-
} from "./types/value/link"
|
|
198
|
+
} from "./types/value/link"
|
|
199
199
|
export type {
|
|
200
200
|
ContentRelationshipField,
|
|
201
201
|
FilledContentRelationshipField,
|
|
202
|
-
} from "./types/value/contentRelationship"
|
|
202
|
+
} from "./types/value/contentRelationship"
|
|
203
203
|
export type {
|
|
204
204
|
LinkToMediaField,
|
|
205
205
|
FilledLinkToMediaField,
|
|
206
|
-
} from "./types/value/linkToMedia"
|
|
206
|
+
} from "./types/value/linkToMedia"
|
|
207
207
|
|
|
208
208
|
export type {
|
|
209
209
|
OEmbedExtra,
|
|
@@ -213,135 +213,135 @@ export type {
|
|
|
213
213
|
RichOEmbed,
|
|
214
214
|
AnyOEmbed,
|
|
215
215
|
EmbedField,
|
|
216
|
-
} from "./types/value/embed"
|
|
216
|
+
} from "./types/value/embed"
|
|
217
217
|
|
|
218
|
-
export type { BooleanField } from "./types/value/boolean"
|
|
219
|
-
export type { ColorField } from "./types/value/color"
|
|
220
|
-
export type { DateField } from "./types/value/date"
|
|
221
|
-
export type { KeyTextField } from "./types/value/keyText"
|
|
222
|
-
export type { NumberField } from "./types/value/number"
|
|
223
|
-
export type { SelectField } from "./types/value/select"
|
|
224
|
-
export type { TimestampField } from "./types/value/timestamp"
|
|
225
|
-
export type { GeoPointField } from "./types/value/geoPoint"
|
|
218
|
+
export type { BooleanField } from "./types/value/boolean"
|
|
219
|
+
export type { ColorField } from "./types/value/color"
|
|
220
|
+
export type { DateField } from "./types/value/date"
|
|
221
|
+
export type { KeyTextField } from "./types/value/keyText"
|
|
222
|
+
export type { NumberField } from "./types/value/number"
|
|
223
|
+
export type { SelectField } from "./types/value/select"
|
|
224
|
+
export type { TimestampField } from "./types/value/timestamp"
|
|
225
|
+
export type { GeoPointField } from "./types/value/geoPoint"
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* @deprecated Renamed to `IntegrationField`
|
|
229
229
|
*/
|
|
230
230
|
// TODO: Remove when we remove support for deprecated `IntegrationFields` export.
|
|
231
|
-
type IntegrationFields = IntegrationField
|
|
232
|
-
export { IntegrationField, IntegrationFields }
|
|
231
|
+
type IntegrationFields = IntegrationField
|
|
232
|
+
export { IntegrationField, IntegrationFields }
|
|
233
233
|
|
|
234
|
-
export type { GroupField, NestedGroupField } from "./types/value/group"
|
|
234
|
+
export type { GroupField, NestedGroupField } from "./types/value/group"
|
|
235
235
|
|
|
236
|
-
export type { SliceZone } from "./types/value/sliceZone"
|
|
237
|
-
export type { Slice } from "./types/value/slice"
|
|
238
|
-
export type { SharedSlice } from "./types/value/sharedSlice"
|
|
239
|
-
export type { SharedSliceVariation } from "./types/value/sharedSliceVariation"
|
|
236
|
+
export type { SliceZone } from "./types/value/sliceZone"
|
|
237
|
+
export type { Slice } from "./types/value/slice"
|
|
238
|
+
export type { SharedSlice } from "./types/value/sharedSlice"
|
|
239
|
+
export type { SharedSliceVariation } from "./types/value/sharedSliceVariation"
|
|
240
240
|
|
|
241
241
|
export type {
|
|
242
242
|
FieldState,
|
|
243
243
|
AnyRegularField,
|
|
244
244
|
AnySlicePrimaryField,
|
|
245
|
-
} from "./types/value/types"
|
|
245
|
+
} from "./types/value/types"
|
|
246
246
|
|
|
247
247
|
// Models - Types representing Prismic content models.
|
|
248
|
-
export { CustomTypeModelFieldType } from "./types/model/types"
|
|
249
|
-
export { CustomTypeModelLinkSelectType } from "./types/model/link"
|
|
250
|
-
export { CustomTypeModelSliceType } from "./types/model/sliceZone"
|
|
251
|
-
export { CustomTypeModelSliceDisplay } from "./types/model/slice"
|
|
248
|
+
export { CustomTypeModelFieldType } from "./types/model/types"
|
|
249
|
+
export { CustomTypeModelLinkSelectType } from "./types/model/link"
|
|
250
|
+
export { CustomTypeModelSliceType } from "./types/model/sliceZone"
|
|
251
|
+
export { CustomTypeModelSliceDisplay } from "./types/model/slice"
|
|
252
252
|
|
|
253
253
|
export type {
|
|
254
254
|
CustomTypeModel,
|
|
255
255
|
CustomTypeModelDefinition,
|
|
256
256
|
CustomTypeModelTab,
|
|
257
|
-
} from "./types/model/customType"
|
|
257
|
+
} from "./types/model/customType"
|
|
258
258
|
|
|
259
259
|
export type {
|
|
260
260
|
CustomTypeModelRichTextField,
|
|
261
261
|
CustomTypeModelRichTextMultiField,
|
|
262
262
|
CustomTypeModelRichTextSingleField,
|
|
263
|
-
} from "./types/model/richText"
|
|
264
|
-
export type { CustomTypeModelTitleField } from "./types/model/title"
|
|
263
|
+
} from "./types/model/richText"
|
|
264
|
+
export type { CustomTypeModelTitleField } from "./types/model/title"
|
|
265
265
|
|
|
266
266
|
export type {
|
|
267
267
|
CustomTypeModelImageField,
|
|
268
268
|
CustomTypeModelImageConstraint,
|
|
269
269
|
CustomTypeModelImageThumbnail,
|
|
270
|
-
} from "./types/model/image"
|
|
270
|
+
} from "./types/model/image"
|
|
271
271
|
|
|
272
|
-
export type { CustomTypeModelContentRelationshipField } from "./types/model/contentRelationship"
|
|
273
|
-
export type { CustomTypeModelLinkField } from "./types/model/link"
|
|
274
|
-
export type { CustomTypeModelLinkToMediaField } from "./types/model/linkToMedia"
|
|
272
|
+
export type { CustomTypeModelContentRelationshipField } from "./types/model/contentRelationship"
|
|
273
|
+
export type { CustomTypeModelLinkField } from "./types/model/link"
|
|
274
|
+
export type { CustomTypeModelLinkToMediaField } from "./types/model/linkToMedia"
|
|
275
275
|
|
|
276
|
-
export type { CustomTypeModelEmbedField } from "./types/model/embed"
|
|
276
|
+
export type { CustomTypeModelEmbedField } from "./types/model/embed"
|
|
277
277
|
|
|
278
|
-
export type { CustomTypeModelBooleanField } from "./types/model/boolean"
|
|
279
|
-
export type { CustomTypeModelColorField } from "./types/model/color"
|
|
280
|
-
export type { CustomTypeModelDateField } from "./types/model/date"
|
|
281
|
-
export type { CustomTypeModelKeyTextField } from "./types/model/keyText"
|
|
282
|
-
export type { CustomTypeModelNumberField } from "./types/model/number"
|
|
283
|
-
export type { CustomTypeModelSelectField } from "./types/model/select"
|
|
284
|
-
export type { CustomTypeModelTimestampField } from "./types/model/timestamp"
|
|
285
|
-
export type { CustomTypeModelGeoPointField } from "./types/model/geoPoint"
|
|
278
|
+
export type { CustomTypeModelBooleanField } from "./types/model/boolean"
|
|
279
|
+
export type { CustomTypeModelColorField } from "./types/model/color"
|
|
280
|
+
export type { CustomTypeModelDateField } from "./types/model/date"
|
|
281
|
+
export type { CustomTypeModelKeyTextField } from "./types/model/keyText"
|
|
282
|
+
export type { CustomTypeModelNumberField } from "./types/model/number"
|
|
283
|
+
export type { CustomTypeModelSelectField } from "./types/model/select"
|
|
284
|
+
export type { CustomTypeModelTimestampField } from "./types/model/timestamp"
|
|
285
|
+
export type { CustomTypeModelGeoPointField } from "./types/model/geoPoint"
|
|
286
286
|
|
|
287
287
|
/**
|
|
288
288
|
* @deprecated Renamed to `CustomTypeModelIntegrationField`.
|
|
289
289
|
*/
|
|
290
290
|
// TODO: Remove when we remove support for deprecated `CustomTypeModelIntegrationField` export.
|
|
291
|
-
type CustomTypeModelIntegrationFieldsField = CustomTypeModelIntegrationField
|
|
291
|
+
type CustomTypeModelIntegrationFieldsField = CustomTypeModelIntegrationField
|
|
292
292
|
export {
|
|
293
293
|
CustomTypeModelIntegrationField,
|
|
294
294
|
CustomTypeModelIntegrationFieldsField,
|
|
295
|
-
}
|
|
295
|
+
}
|
|
296
296
|
export type {
|
|
297
297
|
CustomTypeModelGroupField,
|
|
298
298
|
CustomTypeModelNestedGroupField,
|
|
299
|
-
} from "./types/model/group"
|
|
299
|
+
} from "./types/model/group"
|
|
300
300
|
export type {
|
|
301
301
|
CustomTypeModelSliceZoneField,
|
|
302
302
|
CustomTypeModelSliceLabel,
|
|
303
303
|
CustomTypeModelSharedSlice,
|
|
304
|
-
} from "./types/model/sliceZone"
|
|
304
|
+
} from "./types/model/sliceZone"
|
|
305
305
|
export type {
|
|
306
306
|
CustomTypeModelSlice,
|
|
307
307
|
CustomTypeModelLegacySlice,
|
|
308
|
-
} from "./types/model/slice"
|
|
309
|
-
export type { SharedSliceModel } from "./types/model/sharedSlice"
|
|
310
|
-
export type { SharedSliceModelVariation } from "./types/model/sharedSliceVariation"
|
|
308
|
+
} from "./types/model/slice"
|
|
309
|
+
export type { SharedSliceModel } from "./types/model/sharedSlice"
|
|
310
|
+
export type { SharedSliceModelVariation } from "./types/model/sharedSliceVariation"
|
|
311
311
|
|
|
312
|
-
export type { CustomTypeModelUIDField } from "./types/model/uid"
|
|
312
|
+
export type { CustomTypeModelUIDField } from "./types/model/uid"
|
|
313
313
|
|
|
314
|
-
export type { CustomTypeModelRangeField } from "./types/model/range"
|
|
315
|
-
export type { CustomTypeModelSeparatorField } from "./types/model/separator"
|
|
314
|
+
export type { CustomTypeModelRangeField } from "./types/model/range"
|
|
315
|
+
export type { CustomTypeModelSeparatorField } from "./types/model/separator"
|
|
316
316
|
|
|
317
317
|
export type {
|
|
318
318
|
CustomTypeModelField,
|
|
319
319
|
CustomTypeModelFieldForGroup,
|
|
320
320
|
CustomTypeModelFieldForNestedGroup,
|
|
321
321
|
CustomTypeModelFieldForSlicePrimary,
|
|
322
|
-
} from "./types/model/types"
|
|
322
|
+
} from "./types/model/types"
|
|
323
323
|
|
|
324
324
|
// API - Types representing Prismic Rest API V2 responses.
|
|
325
|
-
export type { Query } from "./types/api/query"
|
|
325
|
+
export type { Query } from "./types/api/query"
|
|
326
326
|
|
|
327
|
-
export type { Ref } from "./types/api/ref"
|
|
327
|
+
export type { Ref } from "./types/api/ref"
|
|
328
328
|
|
|
329
|
-
export type { Release } from "./types/api/release"
|
|
329
|
+
export type { Release } from "./types/api/release"
|
|
330
330
|
|
|
331
331
|
export type {
|
|
332
332
|
Repository,
|
|
333
333
|
Language,
|
|
334
334
|
Form,
|
|
335
335
|
FormField,
|
|
336
|
-
} from "./types/api/repository"
|
|
336
|
+
} from "./types/api/repository"
|
|
337
337
|
|
|
338
|
-
export type { Tags } from "./types/api/tags"
|
|
338
|
+
export type { Tags } from "./types/api/tags"
|
|
339
339
|
|
|
340
340
|
// Webhook - Types representing Prismic webhooks.
|
|
341
|
-
export { WebhookType } from "./types/webhook/types"
|
|
341
|
+
export { WebhookType } from "./types/webhook/types"
|
|
342
342
|
|
|
343
|
-
export type { WebhookBody } from "./types/webhook/types"
|
|
343
|
+
export type { WebhookBody } from "./types/webhook/types"
|
|
344
344
|
|
|
345
|
-
export type { WebhookBodyAPIUpdate } from "./types/webhook/apiUpdate"
|
|
345
|
+
export type { WebhookBodyAPIUpdate } from "./types/webhook/apiUpdate"
|
|
346
346
|
|
|
347
|
-
export type { WebhookBodyTestTrigger } from "./types/webhook/testTrigger"
|
|
347
|
+
export type { WebhookBodyTestTrigger } from "./types/webhook/testTrigger"
|
package/src/isRepositoryName.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
RTInlineNode,
|
|
3
3
|
RTLinkNode,
|
|
4
4
|
RTNode,
|
|
5
5
|
RTTextNode,
|
|
6
6
|
RichTextField,
|
|
7
|
-
} from "../types/value/richText"
|
|
7
|
+
} from "../types/value/richText"
|
|
8
8
|
|
|
9
|
-
import { PrismicRichTextError } from "../errors/PrismicRichTextError"
|
|
9
|
+
import { PrismicRichTextError } from "../errors/PrismicRichTextError"
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Omits keys from a type, distributing the operation over a union.
|
|
@@ -18,27 +18,24 @@ import { PrismicRichTextError } from "../errors/PrismicRichTextError";
|
|
|
18
18
|
type DistributedOmit<
|
|
19
19
|
ObjectType,
|
|
20
20
|
KeyType extends keyof ObjectType,
|
|
21
|
-
> = ObjectType extends unknown ? Omit<ObjectType, KeyType> : never
|
|
21
|
+
> = ObjectType extends unknown ? Omit<ObjectType, KeyType> : never
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* An inline node without its `start` and `end` properties.
|
|
25
25
|
*/
|
|
26
|
-
export type RTPartialInlineNode = DistributedOmit<
|
|
27
|
-
RTInlineNode,
|
|
28
|
-
"start" | "end"
|
|
29
|
-
>;
|
|
26
|
+
export type RTPartialInlineNode = DistributedOmit<RTInlineNode, "start" | "end">
|
|
30
27
|
|
|
31
28
|
export class RichTextFieldBuilder {
|
|
32
|
-
#nodes: RTNode[] = []
|
|
29
|
+
#nodes: RTNode[] = []
|
|
33
30
|
|
|
34
31
|
get #last(): RTNode | undefined {
|
|
35
|
-
return this.#nodes[this.#nodes.length - 1]
|
|
32
|
+
return this.#nodes[this.#nodes.length - 1]
|
|
36
33
|
}
|
|
37
34
|
|
|
38
35
|
appendNode(node: RTNode): void {
|
|
39
|
-
this.cleanupLast()
|
|
36
|
+
this.cleanupLast()
|
|
40
37
|
|
|
41
|
-
this.#nodes.push(node)
|
|
38
|
+
this.#nodes.push(node)
|
|
42
39
|
}
|
|
43
40
|
|
|
44
41
|
appendTextNode(
|
|
@@ -50,48 +47,48 @@ export class RichTextFieldBuilder {
|
|
|
50
47
|
text: "",
|
|
51
48
|
spans: [],
|
|
52
49
|
direction,
|
|
53
|
-
})
|
|
50
|
+
})
|
|
54
51
|
}
|
|
55
52
|
|
|
56
|
-
appendSpan(span: RTInlineNode): void
|
|
57
|
-
appendSpan(partialSpan: RTPartialInlineNode, length: number): void
|
|
53
|
+
appendSpan(span: RTInlineNode): void
|
|
54
|
+
appendSpan(partialSpan: RTPartialInlineNode, length: number): void
|
|
58
55
|
appendSpan(
|
|
59
56
|
spanOrPartialSpan: RTInlineNode | RTPartialInlineNode,
|
|
60
57
|
length?: number,
|
|
61
58
|
): void {
|
|
62
59
|
if (!this.isTextNode(this.#last)) {
|
|
63
|
-
throw new PrismicRichTextError("Cannot add span to non-text last node")
|
|
60
|
+
throw new PrismicRichTextError("Cannot add span to non-text last node")
|
|
64
61
|
}
|
|
65
62
|
|
|
66
|
-
let span: RTInlineNode
|
|
63
|
+
let span: RTInlineNode
|
|
67
64
|
if ("start" in spanOrPartialSpan && "end" in spanOrPartialSpan) {
|
|
68
|
-
span = spanOrPartialSpan
|
|
65
|
+
span = spanOrPartialSpan
|
|
69
66
|
} else {
|
|
70
|
-
const lastLength = this.#last.text.length
|
|
67
|
+
const lastLength = this.#last.text.length
|
|
71
68
|
|
|
72
69
|
span = {
|
|
73
70
|
...spanOrPartialSpan,
|
|
74
71
|
start: lastLength,
|
|
75
72
|
end: lastLength + length!,
|
|
76
|
-
}
|
|
73
|
+
}
|
|
77
74
|
}
|
|
78
75
|
|
|
79
|
-
let lastIdenticalSpanIndex = -1
|
|
76
|
+
let lastIdenticalSpanIndex = -1
|
|
80
77
|
for (let i = this.#last.spans.length - 1; i >= 0; i--) {
|
|
81
|
-
const lastSpan = this.#last.spans[i]
|
|
78
|
+
const lastSpan = this.#last.spans[i]
|
|
82
79
|
|
|
83
80
|
if (span.type === "strong" || span.type === "em") {
|
|
84
81
|
if (lastSpan.type === span.type) {
|
|
85
|
-
lastIdenticalSpanIndex = i
|
|
86
|
-
break
|
|
82
|
+
lastIdenticalSpanIndex = i
|
|
83
|
+
break
|
|
87
84
|
}
|
|
88
85
|
} else if (span.type === "label") {
|
|
89
86
|
if (
|
|
90
87
|
lastSpan.type === "label" &&
|
|
91
88
|
lastSpan.data.label === span.data.label
|
|
92
89
|
) {
|
|
93
|
-
lastIdenticalSpanIndex = i
|
|
94
|
-
break
|
|
90
|
+
lastIdenticalSpanIndex = i
|
|
91
|
+
break
|
|
95
92
|
}
|
|
96
93
|
} else if (span.type === "hyperlink") {
|
|
97
94
|
if (lastSpan.type === "hyperlink") {
|
|
@@ -100,11 +97,11 @@ export class RichTextFieldBuilder {
|
|
|
100
97
|
// match with content relationship.
|
|
101
98
|
const isSameLink = (
|
|
102
99
|
Object.entries(span.data) as [keyof RTLinkNode["data"], unknown][]
|
|
103
|
-
).every(([key, value]) => lastSpan.data[key] === value)
|
|
100
|
+
).every(([key, value]) => lastSpan.data[key] === value)
|
|
104
101
|
|
|
105
102
|
if (isSameLink) {
|
|
106
|
-
lastIdenticalSpanIndex = i
|
|
107
|
-
break
|
|
103
|
+
lastIdenticalSpanIndex = i
|
|
104
|
+
break
|
|
108
105
|
}
|
|
109
106
|
}
|
|
110
107
|
}
|
|
@@ -112,39 +109,37 @@ export class RichTextFieldBuilder {
|
|
|
112
109
|
|
|
113
110
|
// Ignore empty spans.
|
|
114
111
|
if (span.start === span.end) {
|
|
115
|
-
return
|
|
112
|
+
return
|
|
116
113
|
}
|
|
117
114
|
|
|
118
115
|
// Prefer to extend the last span of the same type end
|
|
119
116
|
// position if it ends at the start of the new span.
|
|
120
117
|
if (this.#last.spans[lastIdenticalSpanIndex]?.end === span.start) {
|
|
121
|
-
this.#last.spans[lastIdenticalSpanIndex].end = span.end
|
|
118
|
+
this.#last.spans[lastIdenticalSpanIndex].end = span.end
|
|
122
119
|
} else {
|
|
123
|
-
this.#last.spans.push(span)
|
|
120
|
+
this.#last.spans.push(span)
|
|
124
121
|
}
|
|
125
122
|
}
|
|
126
123
|
|
|
127
124
|
appendText(text: string): void {
|
|
128
125
|
if (!this.isTextNode(this.#last)) {
|
|
129
|
-
throw new PrismicRichTextError(
|
|
130
|
-
"Cannot append text to non-text last node",
|
|
131
|
-
);
|
|
126
|
+
throw new PrismicRichTextError("Cannot append text to non-text last node")
|
|
132
127
|
}
|
|
133
128
|
|
|
134
129
|
if (this.#last.text) {
|
|
135
|
-
this.#last.text += text
|
|
130
|
+
this.#last.text += text
|
|
136
131
|
} else {
|
|
137
|
-
this.#last.text = text.trimStart()
|
|
132
|
+
this.#last.text = text.trimStart()
|
|
138
133
|
}
|
|
139
134
|
}
|
|
140
135
|
|
|
141
136
|
build(): RichTextField {
|
|
142
137
|
// Ensure that the last text node is trimmed.
|
|
143
|
-
this.cleanupLast()
|
|
138
|
+
this.cleanupLast()
|
|
144
139
|
|
|
145
140
|
// Because `RichTextField` is defined as a non-empty
|
|
146
141
|
// array, we have to cast `RTNode[]` to `RichTextField`.
|
|
147
|
-
return this.#nodes as RichTextField
|
|
142
|
+
return this.#nodes as RichTextField
|
|
148
143
|
}
|
|
149
144
|
|
|
150
145
|
/**
|
|
@@ -152,7 +147,7 @@ export class RichTextFieldBuilder {
|
|
|
152
147
|
*/
|
|
153
148
|
private cleanupLast(): void {
|
|
154
149
|
if (this.isTextNode(this.#last)) {
|
|
155
|
-
this.#last.text = this.#last.text.trimEnd()
|
|
150
|
+
this.#last.text = this.#last.text.trimEnd()
|
|
156
151
|
}
|
|
157
152
|
}
|
|
158
153
|
|
|
@@ -164,6 +159,6 @@ export class RichTextFieldBuilder {
|
|
|
164
159
|
* @returns `true` if `node` is a text node, `false` otherwise.
|
|
165
160
|
*/
|
|
166
161
|
private isTextNode(node?: RTNode): node is RTTextNode {
|
|
167
|
-
return !!node && node.type !== "image" && node.type !== "embed"
|
|
162
|
+
return !!node && node.type !== "image" && node.type !== "embed"
|
|
168
163
|
}
|
|
169
164
|
}
|
package/src/lib/appendFilters.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { castArray } from "./castArray"
|
|
1
|
+
import { castArray } from "./castArray"
|
|
2
2
|
|
|
3
3
|
interface WithFilters {
|
|
4
|
-
filters?: string | string[]
|
|
4
|
+
filters?: string | string[]
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -22,5 +22,5 @@ export const appendFilters = <T extends WithFilters>(
|
|
|
22
22
|
return {
|
|
23
23
|
...objWithFilters,
|
|
24
24
|
filters: [...(objWithFilters.filters || []), ...castArray(filters)],
|
|
25
|
-
}
|
|
26
|
-
}
|
|
25
|
+
}
|
|
26
|
+
}
|