open-agreements 0.3.1 → 0.5.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.de.md +6 -1
- package/README.es.md +6 -1
- package/README.md +13 -1
- package/README.pt-br.md +6 -1
- package/README.zh.md +6 -1
- package/content/external/yc-safe-discount/metadata.yaml +1 -1
- package/content/external/yc-safe-mfn/metadata.yaml +1 -1
- package/content/external/yc-safe-pro-rata-side-letter/metadata.yaml +1 -1
- package/content/external/yc-safe-valuation-cap/metadata.yaml +1 -1
- package/content/recipes/QUALITY_TRACKER.md +35 -0
- package/content/recipes/nvca-certificate-of-incorporation/clean.json +14 -2
- package/content/recipes/nvca-certificate-of-incorporation/computed.json +78 -0
- package/content/recipes/nvca-certificate-of-incorporation/metadata.yaml +115 -2
- package/content/recipes/nvca-certificate-of-incorporation/replacements.json +50 -2
- package/content/recipes/nvca-certificate-of-incorporation/selections-roadmap.md +47 -0
- package/content/recipes/nvca-indemnification-agreement/metadata.yaml +5 -1
- package/content/recipes/nvca-indemnification-agreement/replacements.json +30 -5
- package/content/recipes/nvca-investors-rights-agreement/clean.json +9 -1
- package/content/recipes/nvca-investors-rights-agreement/metadata.yaml +1 -1
- package/content/recipes/nvca-investors-rights-agreement/replacements.json +4 -1
- package/content/recipes/nvca-management-rights-letter/metadata.yaml +1 -1
- package/content/recipes/nvca-rofr-co-sale-agreement/clean.json +11 -1
- package/content/recipes/nvca-rofr-co-sale-agreement/metadata.yaml +5 -1
- package/content/recipes/nvca-rofr-co-sale-agreement/replacements.json +62 -3
- package/content/recipes/nvca-stock-purchase-agreement/clean.json +8 -3
- package/content/recipes/nvca-stock-purchase-agreement/metadata.yaml +6 -1
- package/content/recipes/nvca-stock-purchase-agreement/normalize.json +0 -16
- package/content/recipes/nvca-stock-purchase-agreement/replacements.json +15 -12
- package/content/recipes/nvca-stock-purchase-agreement/selections.json +17 -0
- package/content/recipes/nvca-voting-agreement/clean.json +11 -1
- package/content/recipes/nvca-voting-agreement/metadata.yaml +1 -1
- package/content/recipes/nvca-voting-agreement/replacements.json +2 -1
- package/content/templates/bonterms-mutual-nda/metadata.yaml +1 -1
- package/content/templates/bonterms-professional-services-agreement/metadata.yaml +1 -1
- package/content/templates/closing-checklist/metadata.yaml +1 -1
- package/content/templates/closing-checklist/template.docx +0 -0
- package/content/templates/common-paper-ai-addendum/metadata.yaml +1 -1
- package/content/templates/common-paper-ai-addendum-in-app/metadata.yaml +1 -1
- package/content/templates/common-paper-amendment/metadata.yaml +1 -1
- package/content/templates/common-paper-business-associate-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-cloud-service-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-csa-click-through/metadata.yaml +1 -1
- package/content/templates/common-paper-csa-with-ai/metadata.yaml +1 -1
- package/content/templates/common-paper-csa-with-sla/metadata.yaml +1 -1
- package/content/templates/common-paper-csa-without-sla/metadata.yaml +1 -1
- package/content/templates/common-paper-data-processing-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-design-partner-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-independent-contractor-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-letter-of-intent/metadata.yaml +1 -1
- package/content/templates/common-paper-mutual-nda/metadata.yaml +1 -1
- package/content/templates/common-paper-one-way-nda/metadata.yaml +1 -1
- package/content/templates/common-paper-order-form/metadata.yaml +1 -1
- package/content/templates/common-paper-order-form-with-sla/metadata.yaml +1 -1
- package/content/templates/common-paper-partnership-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-pilot-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-professional-services-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-software-license-agreement/metadata.yaml +1 -1
- package/content/templates/common-paper-statement-of-work/metadata.yaml +1 -1
- package/content/templates/common-paper-term-sheet/metadata.yaml +1 -1
- package/content/templates/openagreements-employee-ip-inventions-assignment/metadata.yaml +1 -1
- package/content/templates/openagreements-employment-confidentiality-acknowledgement/metadata.yaml +1 -1
- package/content/templates/openagreements-employment-offer-letter/metadata.yaml +1 -1
- package/content/templates/working-group-list/metadata.yaml +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +8 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/fill.js +3 -3
- package/dist/commands/fill.js.map +1 -1
- package/dist/commands/list.js +19 -15
- package/dist/commands/list.js.map +1 -1
- package/dist/core/checklist/docx-import.d.ts +50 -0
- package/dist/core/checklist/docx-import.d.ts.map +1 -0
- package/dist/core/checklist/docx-import.js +613 -0
- package/dist/core/checklist/docx-import.js.map +1 -0
- package/dist/core/checklist/docx-table-helpers.d.ts +33 -0
- package/dist/core/checklist/docx-table-helpers.d.ts.map +1 -0
- package/dist/core/checklist/docx-table-helpers.js +154 -0
- package/dist/core/checklist/docx-table-helpers.js.map +1 -0
- package/dist/core/checklist/format-checklist-docx.d.ts.map +1 -1
- package/dist/core/checklist/format-checklist-docx.js +37 -88
- package/dist/core/checklist/format-checklist-docx.js.map +1 -1
- package/dist/core/checklist/index.d.ts +15 -12
- package/dist/core/checklist/index.d.ts.map +1 -1
- package/dist/core/checklist/index.js +48 -30
- package/dist/core/checklist/index.js.map +1 -1
- package/dist/core/checklist/status-labels.d.ts +6 -0
- package/dist/core/checklist/status-labels.d.ts.map +1 -1
- package/dist/core/checklist/status-labels.js +8 -0
- package/dist/core/checklist/status-labels.js.map +1 -1
- package/dist/core/command-generation/adapters/claude.js +4 -4
- package/dist/core/employment/memo.js +3 -3
- package/dist/core/engine.js +1 -1
- package/dist/core/external/index.js +1 -1
- package/dist/core/fill-pipeline.d.ts +3 -3
- package/dist/core/fill-pipeline.js +6 -6
- package/dist/core/fill-pipeline.js.map +1 -1
- package/dist/core/metadata.d.ts +13 -3
- package/dist/core/metadata.d.ts.map +1 -1
- package/dist/core/metadata.js +19 -11
- package/dist/core/metadata.js.map +1 -1
- package/dist/core/recipe/bracket-normalizer.d.ts +4 -5
- package/dist/core/recipe/bracket-normalizer.d.ts.map +1 -1
- package/dist/core/recipe/bracket-normalizer.js +67 -149
- package/dist/core/recipe/bracket-normalizer.js.map +1 -1
- package/dist/core/recipe/cleaner.d.ts.map +1 -1
- package/dist/core/recipe/cleaner.js +91 -7
- package/dist/core/recipe/cleaner.js.map +1 -1
- package/dist/core/recipe/downloader.d.ts.map +1 -1
- package/dist/core/recipe/downloader.js +8 -3
- package/dist/core/recipe/downloader.js.map +1 -1
- package/dist/core/recipe/index.d.ts +2 -1
- package/dist/core/recipe/index.d.ts.map +1 -1
- package/dist/core/recipe/index.js +11 -4
- package/dist/core/recipe/index.js.map +1 -1
- package/dist/core/recipe/patcher.d.ts +9 -5
- package/dist/core/recipe/patcher.d.ts.map +1 -1
- package/dist/core/recipe/patcher.js +183 -136
- package/dist/core/recipe/patcher.js.map +1 -1
- package/dist/core/recipe/replacement-keys.d.ts +2 -7
- package/dist/core/recipe/replacement-keys.d.ts.map +1 -1
- package/dist/core/recipe/replacement-keys.js +3 -20
- package/dist/core/recipe/replacement-keys.js.map +1 -1
- package/dist/core/recipe/source-drift.js +1 -1
- package/dist/core/recipe/source-drift.js.map +1 -1
- package/dist/core/recipe/verifier.d.ts +7 -1
- package/dist/core/recipe/verifier.d.ts.map +1 -1
- package/dist/core/recipe/verifier.js +69 -3
- package/dist/core/recipe/verifier.js.map +1 -1
- package/dist/core/selector.d.ts +2 -0
- package/dist/core/selector.d.ts.map +1 -1
- package/dist/core/selector.js +97 -1
- package/dist/core/selector.js.map +1 -1
- package/dist/core/template-listing.d.ts +3 -1
- package/dist/core/template-listing.d.ts.map +1 -1
- package/dist/core/template-listing.js +4 -3
- package/dist/core/template-listing.js.map +1 -1
- package/dist/core/unified-pipeline.d.ts +1 -1
- package/dist/core/unified-pipeline.d.ts.map +1 -1
- package/dist/core/unified-pipeline.js +21 -3
- package/dist/core/unified-pipeline.js.map +1 -1
- package/dist/core/validation/external.d.ts.map +1 -1
- package/dist/core/validation/external.js +0 -2
- package/dist/core/validation/external.js.map +1 -1
- package/dist/core/validation/recipe.d.ts.map +1 -1
- package/dist/core/validation/recipe.js +0 -2
- package/dist/core/validation/recipe.js.map +1 -1
- package/dist/core/validation/scan-metadata.d.ts.map +1 -1
- package/dist/core/validation/scan-metadata.js +17 -1
- package/dist/core/validation/scan-metadata.js.map +1 -1
- package/dist/core/validation/template.js +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/node_modules/@usejunior/docx-core/dist/atomizer.d.ts +218 -0
- package/node_modules/@usejunior/docx-core/dist/atomizer.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/atomizer.js +869 -0
- package/node_modules/@usejunior/docx-core/dist/atomizer.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/atomLcs.d.ts +96 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/atomLcs.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/atomLcs.js +347 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/atomLcs.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/consumerCompatibility.d.ts +2 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/consumerCompatibility.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/consumerCompatibility.js +188 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/consumerCompatibility.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/debug.d.ts +41 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/debug.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/debug.js +85 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/debug.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/documentReconstructor.d.ts +64 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/documentReconstructor.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/documentReconstructor.js +985 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/documentReconstructor.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/hierarchicalLcs.d.ts +111 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/hierarchicalLcs.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/hierarchicalLcs.js +469 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/hierarchicalLcs.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.d.ts +277 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.js +2279 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/inPlaceModifier.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/numberingIntegration.d.ts +59 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/numberingIntegration.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/numberingIntegration.js +209 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/numberingIntegration.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.d.ts +69 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.js +910 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/pipeline.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/premergeRuns.d.ts +26 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/premergeRuns.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/premergeRuns.js +153 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/premergeRuns.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptor.d.ts +63 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptor.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptor.js +254 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptor.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptorAst.d.ts +64 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptorAst.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptorAst.js +616 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/trackChangesAcceptorAst.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/xmlToWmlElement.d.ts +65 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/xmlToWmlElement.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/xmlToWmlElement.js +95 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/atomizer/xmlToWmlElement.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DocxodusWasm.d.ts +51 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DocxodusWasm.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DocxodusWasm.js +83 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DocxodusWasm.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DotnetCli.d.ts +40 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DotnetCli.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DotnetCli.js +135 -0
- package/node_modules/@usejunior/docx-core/dist/baselines/wmlcomparer/DotnetCli.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/cli/compare-two.d.ts +28 -0
- package/node_modules/@usejunior/docx-core/dist/cli/compare-two.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/cli/compare-two.js +110 -0
- package/node_modules/@usejunior/docx-core/dist/cli/compare-two.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/cli/index.d.ts +3 -0
- package/node_modules/@usejunior/docx-core/dist/cli/index.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/cli/index.js +21 -0
- package/node_modules/@usejunior/docx-core/dist/cli/index.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/core-types.d.ts +296 -0
- package/node_modules/@usejunior/docx-core/dist/core-types.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/core-types.js +122 -0
- package/node_modules/@usejunior/docx-core/dist/core-types.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/footnotes.d.ts +144 -0
- package/node_modules/@usejunior/docx-core/dist/footnotes.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/footnotes.js +291 -0
- package/node_modules/@usejunior/docx-core/dist/footnotes.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/format-detection.d.ts +120 -0
- package/node_modules/@usejunior/docx-core/dist/format-detection.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/format-detection.js +338 -0
- package/node_modules/@usejunior/docx-core/dist/format-detection.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/index.d.ts +177 -0
- package/node_modules/@usejunior/docx-core/dist/index.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/index.js +55 -0
- package/node_modules/@usejunior/docx-core/dist/index.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/integration/output-artifacts.d.ts +6 -0
- package/node_modules/@usejunior/docx-core/dist/integration/output-artifacts.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/integration/output-artifacts.js +30 -0
- package/node_modules/@usejunior/docx-core/dist/integration/output-artifacts.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/move-detection.d.ts +211 -0
- package/node_modules/@usejunior/docx-core/dist/move-detection.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/move-detection.js +391 -0
- package/node_modules/@usejunior/docx-core/dist/move-detection.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/numbering.d.ts +136 -0
- package/node_modules/@usejunior/docx-core/dist/numbering.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/numbering.js +446 -0
- package/node_modules/@usejunior/docx-core/dist/numbering.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.d.ts +30 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.js +241 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/accept_changes.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/bookmarks.d.ts +12 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/bookmarks.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/bookmarks.js +248 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/bookmarks.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/comments.d.ts +88 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/comments.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/comments.js +703 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/comments.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document.d.ts +186 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document.js +555 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document_view.d.ts +97 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document_view.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document_view.js +749 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/document_view.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.d.ts +94 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.js +219 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/dom-helpers.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/errors.d.ts +7 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/errors.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/errors.js +10 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/errors.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/extract_revisions.d.ts +50 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/extract_revisions.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/extract_revisions.js +340 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/extract_revisions.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.d.ts +37 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.js +552 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/footnotes.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.d.ts +43 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.js +291 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/formatting_tags.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/index.d.ts +27 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/index.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/index.js +27 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/index.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/layout.d.ts +53 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/layout.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/layout.js +178 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/layout.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/list_labels.d.ts +19 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/list_labels.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/list_labels.js +57 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/list_labels.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/matching.d.ts +31 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/matching.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/matching.js +223 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/matching.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.d.ts +23 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.js +243 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/merge_runs.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.d.ts +91 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.js +108 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/namespaces.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/numbering.d.ts +27 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/numbering.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/numbering.js +182 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/numbering.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/prevent_double_elevation.d.ts +18 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/prevent_double_elevation.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/prevent_double_elevation.js +190 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/prevent_double_elevation.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.d.ts +27 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.js +371 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/reject_changes.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/relationships.d.ts +7 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/relationships.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/relationships.js +24 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/relationships.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.d.ts +17 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.js +58 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/semantic_tags.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/simplify_redlines.d.ts +19 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/simplify_redlines.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/simplify_redlines.js +94 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/simplify_redlines.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/styles.d.ts +36 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/styles.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/styles.js +205 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/styles.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/tables.d.ts +54 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/tables.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/tables.js +205 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/tables.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/text.d.ts +30 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/text.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/text.js +461 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/text.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/validate_document.d.ts +24 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/validate_document.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/validate_document.js +147 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/validate_document.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/xml.d.ts +5 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/xml.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/xml.js +19 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/xml.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/zip.d.ts +25 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/zip.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/zip.js +78 -0
- package/node_modules/@usejunior/docx-core/dist/primitives/zip.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/docx/DocxArchive.d.ts +94 -0
- package/node_modules/@usejunior/docx-core/dist/shared/docx/DocxArchive.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/docx/DocxArchive.js +169 -0
- package/node_modules/@usejunior/docx-core/dist/shared/docx/DocxArchive.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.d.ts +149 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.js +224 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/namespaces.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/types.d.ts +136 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/types.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/types.js +7 -0
- package/node_modules/@usejunior/docx-core/dist/shared/ooxml/types.js.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/validators/structural.d.ts +31 -0
- package/node_modules/@usejunior/docx-core/dist/shared/validators/structural.d.ts.map +1 -0
- package/node_modules/@usejunior/docx-core/dist/shared/validators/structural.js +110 -0
- package/node_modules/@usejunior/docx-core/dist/shared/validators/structural.js.map +1 -0
- package/node_modules/@usejunior/docx-core/package.json +26 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/diff-match-patch/LICENSE +202 -0
- package/node_modules/diff-match-patch/README.md +94 -0
- package/node_modules/diff-match-patch/index.js +2218 -0
- package/node_modules/diff-match-patch/package.json +22 -0
- package/node_modules/immediate/LICENSE.txt +20 -0
- package/node_modules/immediate/README.md +93 -0
- package/node_modules/immediate/dist/immediate.js +75 -0
- package/node_modules/immediate/dist/immediate.min.js +1 -0
- package/node_modules/immediate/lib/browser.js +69 -0
- package/node_modules/immediate/lib/index.js +73 -0
- package/node_modules/immediate/package.json +42 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jszip/.codeclimate.yml +16 -0
- package/node_modules/jszip/.editorconfig +8 -0
- package/node_modules/jszip/.eslintrc.js +43 -0
- package/node_modules/jszip/.github/workflows/pr.yaml +58 -0
- package/node_modules/jszip/.jekyll-metadata +0 -0
- package/node_modules/jszip/.travis.yml +17 -0
- package/node_modules/jszip/CHANGES.md +204 -0
- package/node_modules/jszip/LICENSE.markdown +651 -0
- package/node_modules/jszip/README.markdown +33 -0
- package/node_modules/jszip/deps.js +37 -0
- package/node_modules/jszip/dist/jszip.js +11577 -0
- package/node_modules/jszip/dist/jszip.min.js +13 -0
- package/node_modules/jszip/graph.svg +601 -0
- package/node_modules/jszip/index.d.ts +330 -0
- package/node_modules/jszip/lib/base64.js +106 -0
- package/node_modules/jszip/lib/compressedObject.js +74 -0
- package/node_modules/jszip/lib/compressions.js +14 -0
- package/node_modules/jszip/lib/crc32.js +77 -0
- package/node_modules/jszip/lib/defaults.js +11 -0
- package/node_modules/jszip/lib/external.js +18 -0
- package/node_modules/jszip/lib/flate.js +85 -0
- package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
- package/node_modules/jszip/lib/generate/index.js +57 -0
- package/node_modules/jszip/lib/index.js +55 -0
- package/node_modules/jszip/lib/license_header.js +11 -0
- package/node_modules/jszip/lib/load.js +88 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/node_modules/jszip/lib/object.js +384 -0
- package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
- package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/node_modules/jszip/lib/signature.js +7 -0
- package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
- package/node_modules/jszip/lib/support.js +38 -0
- package/node_modules/jszip/lib/utf8.js +275 -0
- package/node_modules/jszip/lib/utils.js +501 -0
- package/node_modules/jszip/lib/zipEntries.js +261 -0
- package/node_modules/jszip/lib/zipEntry.js +293 -0
- package/node_modules/jszip/lib/zipObject.js +133 -0
- package/node_modules/jszip/package.json +67 -0
- package/node_modules/jszip/sponsors.md +21 -0
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/node_modules/lie/README.md +62 -0
- package/node_modules/lie/dist/lie.js +350 -0
- package/node_modules/lie/dist/lie.min.js +1 -0
- package/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/node_modules/lie/lib/browser.js +273 -0
- package/node_modules/lie/lib/index.js +298 -0
- package/node_modules/lie/license.md +7 -0
- package/node_modules/lie/lie.d.ts +244 -0
- package/node_modules/lie/package.json +69 -0
- package/node_modules/lie/polyfill.js +4 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +191 -0
- package/node_modules/pako/dist/pako.js +6818 -0
- package/node_modules/pako/dist/pako.min.js +1 -0
- package/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +423 -0
- package/node_modules/pako/lib/utils/common.js +105 -0
- package/node_modules/pako/lib/utils/strings.js +187 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +44 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +52 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/setimmediate/LICENSE.txt +20 -0
- package/node_modules/setimmediate/package.json +30 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +31 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/package.json +11 -5
- package/packages/docx-core/node_modules/@xmldom/xmldom/CHANGELOG.md +468 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/LICENSE +8 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/index.d.ts +43 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/lib/conventions.js +203 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/lib/dom-parser.js +322 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/lib/dom.js +1879 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/lib/index.js +4 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/lib/sax.js +662 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/package.json +71 -0
- package/packages/docx-core/node_modules/@xmldom/xmldom/readme.md +356 -0
- package/server.json +31 -0
- package/skills/client-email/SKILL.md +143 -0
- package/skills/cloud-service-agreement/SKILL.md +8 -99
- package/skills/data-privacy-agreement/SKILL.md +10 -97
- package/skills/delaware-franchise-tax/SKILL.md +7 -1
- package/skills/edit-docx-agreement/SKILL.md +10 -3
- package/skills/employment-contract/SKILL.md +10 -95
- package/skills/iso-27001-evidence-collection/SKILL.md +7 -1
- package/skills/iso-27001-internal-audit/SKILL.md +6 -0
- package/skills/nda/SKILL.md +7 -99
- package/skills/open-agreements/CONNECTORS.md +1 -1
- package/skills/open-agreements/SKILL.md +17 -104
- package/skills/recipe-quality-audit/SKILL.md +116 -0
- package/skills/safe/SKILL.md +12 -97
- package/skills/services-agreement/SKILL.md +8 -99
- package/skills/shared/template-filling-execution.md +92 -0
- package/skills/soc2-readiness/SKILL.md +7 -1
- package/skills/unit-test-philosophy/SKILL.md +12 -1
- package/skills/venture-financing/SKILL.md +11 -96
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xmldom/xmldom",
|
|
3
|
+
"version": "0.8.11",
|
|
4
|
+
"description": "A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"w3c",
|
|
7
|
+
"dom",
|
|
8
|
+
"xml",
|
|
9
|
+
"parser",
|
|
10
|
+
"javascript",
|
|
11
|
+
"DOMParser",
|
|
12
|
+
"XMLSerializer",
|
|
13
|
+
"ponyfill"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/xmldom/xmldom",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git://github.com/xmldom/xmldom.git"
|
|
19
|
+
},
|
|
20
|
+
"main": "lib/index.js",
|
|
21
|
+
"types": "index.d.ts",
|
|
22
|
+
"files": [
|
|
23
|
+
"CHANGELOG.md",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"readme.md",
|
|
26
|
+
"SECURITY.md",
|
|
27
|
+
"index.d.ts",
|
|
28
|
+
"lib"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"lint": "eslint lib test",
|
|
32
|
+
"format": "prettier --write test",
|
|
33
|
+
"changelog": "auto-changelog --unreleased-only",
|
|
34
|
+
"start": "nodemon --watch package.json --watch lib --watch test --exec 'npm --silent run test && npm --silent run lint'",
|
|
35
|
+
"stryker": "stryker run",
|
|
36
|
+
"stryker:dry-run": "stryker run -m '' --reporters progress",
|
|
37
|
+
"test": "jest",
|
|
38
|
+
"testrelease": "npm test && eslint lib",
|
|
39
|
+
"version": "./changelog-has-version.sh",
|
|
40
|
+
"release": "np --no-yarn --test-script testrelease --branch release-0.8.x patch"
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=10.0.0"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@stryker-mutator/core": "5.6.1",
|
|
48
|
+
"auto-changelog": "2.4.0",
|
|
49
|
+
"eslint": "8.25.0",
|
|
50
|
+
"eslint-config-prettier": "8.5.0",
|
|
51
|
+
"eslint-plugin-es5": "1.5.0",
|
|
52
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
53
|
+
"get-stream": "6.0.1",
|
|
54
|
+
"jest": "27.5.1",
|
|
55
|
+
"nodemon": "2.0.20",
|
|
56
|
+
"np": "9.2.0",
|
|
57
|
+
"prettier": "2.7.1",
|
|
58
|
+
"xmltest": "1.5.0",
|
|
59
|
+
"yauzl": "2.10.0"
|
|
60
|
+
},
|
|
61
|
+
"bugs": {
|
|
62
|
+
"url": "https://github.com/xmldom/xmldom/issues"
|
|
63
|
+
},
|
|
64
|
+
"license": "MIT",
|
|
65
|
+
"auto-changelog": {
|
|
66
|
+
"prepend": true,
|
|
67
|
+
"remote": "upstream",
|
|
68
|
+
"tagPrefix": "",
|
|
69
|
+
"template": "./auto-changelog.hbs"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
# @xmldom/xmldom
|
|
2
|
+
|
|
3
|
+
***Since version 0.7.0 this package is published to npm as [`@xmldom/xmldom`](https://www.npmjs.com/package/@xmldom/xmldom) and no longer as [`xmldom`](https://www.npmjs.com/package/xmldom), because [we are no longer able to publish `xmldom`](https://github.com/xmldom/xmldom/issues/271).***
|
|
4
|
+
*For better readability in the docs we will continue to talk about this library as "xmldom".*
|
|
5
|
+
|
|
6
|
+
[](https://github.com/xmldom/xmldom/blob/master/LICENSE)
|
|
7
|
+
[](https://www.npmjs.com/package/@xmldom/xmldom)
|
|
8
|
+
[](https://snyk.io/advisor/npm-package/@xmldom/xmldom)
|
|
9
|
+
[](https://github.com/xmldom/xmldom/issues?q=is%3Aissue+is%3Aopen+label%3Abug)
|
|
10
|
+
[](https://github.com/xmldom/xmldom/issues?q=is%3Aissue+is%3Aopen+label%3Ahelp-wanted)
|
|
11
|
+
[](https://dashboard.stryker-mutator.io/reports/github.com/xmldom/xmldom/master)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
xmldom is a javascript [ponyfill](https://ponyfill.com/) to provide the following APIs [that are present in modern browsers](https://caniuse.com/xml-serializer) to other runtimes:
|
|
15
|
+
- convert an XML string into a DOM tree
|
|
16
|
+
```
|
|
17
|
+
new DOMParser().parseFromString(xml, mimeType) => Document
|
|
18
|
+
```
|
|
19
|
+
- create, access and modify a DOM tree
|
|
20
|
+
```
|
|
21
|
+
new DOMImplementation().createDocument(...) => Document
|
|
22
|
+
```
|
|
23
|
+
- serialize a DOM tree back into an XML string
|
|
24
|
+
```
|
|
25
|
+
new XMLSerializer().serializeToString(node) => string
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The target runtimes `xmldom` supports are currently Node >= v10 (ES5) and Rhino ([not tested as part of CI](https://github.com/xmldom/xmldom/discussions/214)).
|
|
29
|
+
|
|
30
|
+
When deciding how to fix bugs or implement features, `xmldom` tries to stay as close as possible to the various [related specifications/standards](#specs).
|
|
31
|
+
As indicated by the version starting with `0.`, this implementation is not feature complete and some implemented features differ from what the specifications describe.
|
|
32
|
+
**Issues and PRs for such differences are always welcome, even when they only provide a failing test case.**
|
|
33
|
+
|
|
34
|
+
This project was forked from it's [original source](https://github.com/jindw/xmldom) in 2019, more details about that transition can be found in the [CHANGELOG](CHANGELOG.md#maintainer-changes).
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
### Install:
|
|
39
|
+
|
|
40
|
+
> npm install @xmldom/xmldom
|
|
41
|
+
|
|
42
|
+
### Example:
|
|
43
|
+
|
|
44
|
+
[In NodeJS](examples/nodejs/src/index.js)
|
|
45
|
+
```javascript
|
|
46
|
+
const { DOMParser, XMLSerializer } = require('@xmldom/xmldom')
|
|
47
|
+
|
|
48
|
+
const source = `<xml xmlns="a">
|
|
49
|
+
<child>test</child>
|
|
50
|
+
<child/>
|
|
51
|
+
</xml>`
|
|
52
|
+
|
|
53
|
+
const doc = new DOMParser().parseFromString(source, 'text/xml')
|
|
54
|
+
|
|
55
|
+
const serialized = new XMLSerializer().serializeToString(doc)
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Note: in Typescript ~and ES6~(see #316) you can use the `import` approach, as follows:
|
|
59
|
+
|
|
60
|
+
```typescript
|
|
61
|
+
import { DOMParser } from '@xmldom/xmldom'
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## API Reference
|
|
65
|
+
|
|
66
|
+
* [DOMParser](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser):
|
|
67
|
+
|
|
68
|
+
```javascript
|
|
69
|
+
parseFromString(xmlsource,mimeType)
|
|
70
|
+
```
|
|
71
|
+
* **options extension** _by xmldom_ (not DOM standard!!)
|
|
72
|
+
|
|
73
|
+
```javascript
|
|
74
|
+
//added the options argument
|
|
75
|
+
new DOMParser(options)
|
|
76
|
+
|
|
77
|
+
//errorHandler is supported
|
|
78
|
+
new DOMParser({
|
|
79
|
+
/**
|
|
80
|
+
* locator is always need for error position info
|
|
81
|
+
*/
|
|
82
|
+
locator:{},
|
|
83
|
+
/**
|
|
84
|
+
* you can override the errorHandler for xml parser
|
|
85
|
+
* @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html
|
|
86
|
+
*/
|
|
87
|
+
errorHandler:{warning:function(w){console.warn(w)},error:callback,fatalError:callback}
|
|
88
|
+
//only callback model
|
|
89
|
+
//errorHandler:function(level,msg){console.log(level,msg)}
|
|
90
|
+
})
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
* [XMLSerializer](https://developer.mozilla.org/en-US/docs/Web/API/XMLSerializer)
|
|
95
|
+
|
|
96
|
+
```javascript
|
|
97
|
+
serializeToString(node)
|
|
98
|
+
```
|
|
99
|
+
### DOM level2 method and attribute:
|
|
100
|
+
|
|
101
|
+
* [Node](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1950641247)
|
|
102
|
+
|
|
103
|
+
readonly class properties (aka `NodeType`),
|
|
104
|
+
these can be accessed from any `Node` instance `node`:
|
|
105
|
+
`if (node.nodeType === node.ELEMENT_NODE) {...`
|
|
106
|
+
|
|
107
|
+
1. `ELEMENT_NODE` (`1`)
|
|
108
|
+
2. `ATTRIBUTE_NODE` (`2`)
|
|
109
|
+
3. `TEXT_NODE` (`3`)
|
|
110
|
+
4. `CDATA_SECTION_NODE` (`4`)
|
|
111
|
+
5. `ENTITY_REFERENCE_NODE` (`5`)
|
|
112
|
+
6. `ENTITY_NODE` (`6`)
|
|
113
|
+
7. `PROCESSING_INSTRUCTION_NODE` (`7`)
|
|
114
|
+
8. `COMMENT_NODE` (`8`)
|
|
115
|
+
9. `DOCUMENT_NODE` (`9`)
|
|
116
|
+
10. `DOCUMENT_TYPE_NODE` (`10`)
|
|
117
|
+
11. `DOCUMENT_FRAGMENT_NODE` (`11`)
|
|
118
|
+
12. `NOTATION_NODE` (`12`)
|
|
119
|
+
|
|
120
|
+
attribute:
|
|
121
|
+
- `nodeValue` | `prefix`
|
|
122
|
+
|
|
123
|
+
readonly attribute:
|
|
124
|
+
- `nodeName` | `nodeType` | `parentNode` | `childNodes` | `firstChild` | `lastChild` | `previousSibling` | `nextSibling` | `attributes` | `ownerDocument` | `namespaceURI` | `localName`
|
|
125
|
+
|
|
126
|
+
method:
|
|
127
|
+
* `insertBefore(newChild, refChild)`
|
|
128
|
+
* `replaceChild(newChild, oldChild)`
|
|
129
|
+
* `removeChild(oldChild)`
|
|
130
|
+
* `appendChild(newChild)`
|
|
131
|
+
* `hasChildNodes()`
|
|
132
|
+
* `cloneNode(deep)`
|
|
133
|
+
* `normalize()`
|
|
134
|
+
* `isSupported(feature, version)`
|
|
135
|
+
* `hasAttributes()`
|
|
136
|
+
* [DOMException](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/ecma-script-binding.html)
|
|
137
|
+
|
|
138
|
+
extends the Error type thrown as part of DOM API.
|
|
139
|
+
|
|
140
|
+
readonly class properties:
|
|
141
|
+
- `INDEX_SIZE_ERR` (`1`)
|
|
142
|
+
- `DOMSTRING_SIZE_ERR` (`2`)
|
|
143
|
+
- `HIERARCHY_REQUEST_ERR` (`3`)
|
|
144
|
+
- `WRONG_DOCUMENT_ERR` (`4`)
|
|
145
|
+
- `INVALID_CHARACTER_ERR` (`5`)
|
|
146
|
+
- `NO_DATA_ALLOWED_ERR` (`6`)
|
|
147
|
+
- `NO_MODIFICATION_ALLOWED_ERR` (`7`)
|
|
148
|
+
- `NOT_FOUND_ERR` (`8`)
|
|
149
|
+
- `NOT_SUPPORTED_ERR` (`9`)
|
|
150
|
+
- `INUSE_ATTRIBUTE_ERR` (`10`)
|
|
151
|
+
- `INVALID_STATE_ERR` (`11`)
|
|
152
|
+
- `SYNTAX_ERR` (`12`)
|
|
153
|
+
- `INVALID_MODIFICATION_ERR` (`13`)
|
|
154
|
+
- `NAMESPACE_ERR` (`14`)
|
|
155
|
+
- `INVALID_ACCESS_ERR` (`15`)
|
|
156
|
+
|
|
157
|
+
attributes:
|
|
158
|
+
- `code` with a value matching one of the above constants.
|
|
159
|
+
|
|
160
|
+
* [DOMImplementation](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-102161490)
|
|
161
|
+
|
|
162
|
+
method:
|
|
163
|
+
- `hasFeature(feature, version)`
|
|
164
|
+
- `createDocumentType(qualifiedName, publicId, systemId)`
|
|
165
|
+
- `createDocument(namespaceURI, qualifiedName, doctype)`
|
|
166
|
+
|
|
167
|
+
* [Document](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#i-Document) : Node
|
|
168
|
+
|
|
169
|
+
readonly attribute:
|
|
170
|
+
- `doctype` | `implementation` | `documentElement`
|
|
171
|
+
|
|
172
|
+
method:
|
|
173
|
+
- `createElement(tagName)`
|
|
174
|
+
- `createDocumentFragment()`
|
|
175
|
+
- `createTextNode(data)`
|
|
176
|
+
- `createComment(data)`
|
|
177
|
+
- `createCDATASection(data)`
|
|
178
|
+
- `createProcessingInstruction(target, data)`
|
|
179
|
+
- `createAttribute(name)`
|
|
180
|
+
- `createEntityReference(name)`
|
|
181
|
+
- `getElementsByTagName(tagname)`
|
|
182
|
+
- `importNode(importedNode, deep)`
|
|
183
|
+
- `createElementNS(namespaceURI, qualifiedName)`
|
|
184
|
+
- `createAttributeNS(namespaceURI, qualifiedName)`
|
|
185
|
+
- `getElementsByTagNameNS(namespaceURI, localName)`
|
|
186
|
+
- `getElementById(elementId)`
|
|
187
|
+
|
|
188
|
+
* [DocumentFragment](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-B63ED1A3) : Node
|
|
189
|
+
* [Element](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-745549614) : Node
|
|
190
|
+
|
|
191
|
+
readonly attribute:
|
|
192
|
+
- `tagName`
|
|
193
|
+
|
|
194
|
+
method:
|
|
195
|
+
- `getAttribute(name)`
|
|
196
|
+
- `setAttribute(name, value)`
|
|
197
|
+
- `removeAttribute(name)`
|
|
198
|
+
- `getAttributeNode(name)`
|
|
199
|
+
- `setAttributeNode(newAttr)`
|
|
200
|
+
- `removeAttributeNode(oldAttr)`
|
|
201
|
+
- `getElementsByTagName(name)`
|
|
202
|
+
- `getAttributeNS(namespaceURI, localName)`
|
|
203
|
+
- `setAttributeNS(namespaceURI, qualifiedName, value)`
|
|
204
|
+
- `removeAttributeNS(namespaceURI, localName)`
|
|
205
|
+
- `getAttributeNodeNS(namespaceURI, localName)`
|
|
206
|
+
- `setAttributeNodeNS(newAttr)`
|
|
207
|
+
- `getElementsByTagNameNS(namespaceURI, localName)`
|
|
208
|
+
- `hasAttribute(name)`
|
|
209
|
+
- `hasAttributeNS(namespaceURI, localName)`
|
|
210
|
+
|
|
211
|
+
* [Attr](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-637646024) : Node
|
|
212
|
+
|
|
213
|
+
attribute:
|
|
214
|
+
- `value`
|
|
215
|
+
|
|
216
|
+
readonly attribute:
|
|
217
|
+
- `name` | `specified` | `ownerElement`
|
|
218
|
+
|
|
219
|
+
* [NodeList](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-536297177)
|
|
220
|
+
|
|
221
|
+
readonly attribute:
|
|
222
|
+
- `length`
|
|
223
|
+
|
|
224
|
+
method:
|
|
225
|
+
- `item(index)`
|
|
226
|
+
|
|
227
|
+
* [NamedNodeMap](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1780488922)
|
|
228
|
+
|
|
229
|
+
readonly attribute:
|
|
230
|
+
- `length`
|
|
231
|
+
|
|
232
|
+
method:
|
|
233
|
+
- `getNamedItem(name)`
|
|
234
|
+
- `setNamedItem(arg)`
|
|
235
|
+
- `removeNamedItem(name)`
|
|
236
|
+
- `item(index)`
|
|
237
|
+
- `getNamedItemNS(namespaceURI, localName)`
|
|
238
|
+
- `setNamedItemNS(arg)`
|
|
239
|
+
- `removeNamedItemNS(namespaceURI, localName)`
|
|
240
|
+
|
|
241
|
+
* [CharacterData](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-FF21A306) : Node
|
|
242
|
+
|
|
243
|
+
method:
|
|
244
|
+
- `substringData(offset, count)`
|
|
245
|
+
- `appendData(arg)`
|
|
246
|
+
- `insertData(offset, arg)`
|
|
247
|
+
- `deleteData(offset, count)`
|
|
248
|
+
- `replaceData(offset, count, arg)`
|
|
249
|
+
|
|
250
|
+
* [Text](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1312295772) : CharacterData
|
|
251
|
+
|
|
252
|
+
method:
|
|
253
|
+
- `splitText(offset)`
|
|
254
|
+
|
|
255
|
+
* [CDATASection](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-667469212)
|
|
256
|
+
* [Comment](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1728279322) : CharacterData
|
|
257
|
+
|
|
258
|
+
* [DocumentType](http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-412266927)
|
|
259
|
+
|
|
260
|
+
readonly attribute:
|
|
261
|
+
- `name` | `entities` | `notations` | `publicId` | `systemId` | `internalSubset`
|
|
262
|
+
|
|
263
|
+
* Notation : Node
|
|
264
|
+
|
|
265
|
+
readonly attribute:
|
|
266
|
+
- `publicId` | `systemId`
|
|
267
|
+
|
|
268
|
+
* Entity : Node
|
|
269
|
+
|
|
270
|
+
readonly attribute:
|
|
271
|
+
- `publicId` | `systemId` | `notationName`
|
|
272
|
+
|
|
273
|
+
* EntityReference : Node
|
|
274
|
+
* ProcessingInstruction : Node
|
|
275
|
+
|
|
276
|
+
attribute:
|
|
277
|
+
- `data`
|
|
278
|
+
readonly attribute:
|
|
279
|
+
- `target`
|
|
280
|
+
|
|
281
|
+
### DOM level 3 support:
|
|
282
|
+
|
|
283
|
+
* [Node](http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent)
|
|
284
|
+
|
|
285
|
+
attribute:
|
|
286
|
+
- `textContent`
|
|
287
|
+
|
|
288
|
+
method:
|
|
289
|
+
- `isDefaultNamespace(namespaceURI)`
|
|
290
|
+
- `lookupNamespaceURI(prefix)`
|
|
291
|
+
|
|
292
|
+
### DOM extension by xmldom
|
|
293
|
+
|
|
294
|
+
* [Node] Source position extension;
|
|
295
|
+
|
|
296
|
+
attribute:
|
|
297
|
+
- `lineNumber` //number starting from `1`
|
|
298
|
+
- `columnNumber` //number starting from `1`
|
|
299
|
+
|
|
300
|
+
## Specs
|
|
301
|
+
|
|
302
|
+
The implementation is based on several specifications:
|
|
303
|
+
|
|
304
|
+
<!-- Should open in new tab and the links in the SVG should be clickable there! -->
|
|
305
|
+
<a href="https://raw.githubusercontent.com/xmldom/xmldom/master/docs/specs.svg" target="_blank" rel="noopener noreferrer nofollow" ></a>
|
|
306
|
+
|
|
307
|
+
### DOM Parsing and Serialization
|
|
308
|
+
|
|
309
|
+
From the [W3C DOM Parsing and Serialization (WD 2016)](https://www.w3.org/TR/2016/WD-DOM-Parsing-20160517/) `xmldom` provides an implementation for the interfaces:
|
|
310
|
+
- `DOMParser`
|
|
311
|
+
- `XMLSerializer`
|
|
312
|
+
|
|
313
|
+
Note that there are some known deviations between this implementation and the W3 specifications.
|
|
314
|
+
|
|
315
|
+
Note: [The latest version of this spec](https://w3c.github.io/DOM-Parsing/) has the status "Editors Draft", since it is under active development. One major change is that [the definition of the `DOMParser` interface has been moved to the HTML spec](https://w3c.github.io/DOM-Parsing/#the-domparser-interface)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
### DOM
|
|
319
|
+
|
|
320
|
+
The original author claims that xmldom implements [DOM Level 2] in a "fully compatible" way and some parts of [DOM Level 3], but there are not enough tests to prove this. Both Specifications are now superseded by the [DOM Level 4 aka Living standard] wich has a much broader scope than xmldom.
|
|
321
|
+
|
|
322
|
+
xmldom implements the following interfaces (most constructors are currently not exposed):
|
|
323
|
+
- `Attr`
|
|
324
|
+
- `CDATASection`
|
|
325
|
+
- `CharacterData`
|
|
326
|
+
- `Comment`
|
|
327
|
+
- `Document`
|
|
328
|
+
- `DocumentFragment`
|
|
329
|
+
- `DocumentType`
|
|
330
|
+
- `DOMException` (constructor exposed)
|
|
331
|
+
- `DOMImplementation` (constructor exposed)
|
|
332
|
+
- `Element`
|
|
333
|
+
- `Entity`
|
|
334
|
+
- `EntityReference`
|
|
335
|
+
- `LiveNodeList`
|
|
336
|
+
- `NamedNodeMap`
|
|
337
|
+
- `Node` (constructor exposed)
|
|
338
|
+
- `NodeList`
|
|
339
|
+
- `Notation`
|
|
340
|
+
- `ProcessingInstruction`
|
|
341
|
+
- `Text`
|
|
342
|
+
|
|
343
|
+
more details are available in the (incomplete) [API Reference](#api-reference) section.
|
|
344
|
+
|
|
345
|
+
### HTML
|
|
346
|
+
|
|
347
|
+
xmldom does not have any goal of supporting the full spec, but it has some capability to parse, report and serialize things differently when "detecting HTML" (by checking the default namespace).
|
|
348
|
+
There is an upcoming change to better align the implementation with the latest specs, related to <https://github.com/xmldom/xmldom/issues/203>.
|
|
349
|
+
|
|
350
|
+
### SAX, XML, XMLNS
|
|
351
|
+
|
|
352
|
+
xmldom has an own SAX parser implementation to do the actual parsing, which implements some interfaces in alignment with the Java interfaces SAX defines:
|
|
353
|
+
- `XMLReader`
|
|
354
|
+
- `DOMHandler`
|
|
355
|
+
|
|
356
|
+
There is an idea/proposal to make it possible to replace it with something else in <https://github.com/xmldom/xmldom/issues/55>
|
package/server.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.open-agreements/open-agreements",
|
|
4
|
+
"title": "Open Agreements",
|
|
5
|
+
"description": "Fill standard legal agreement templates (NDAs, SAFEs, NVCA docs, employment) as DOCX files.",
|
|
6
|
+
"version": "0.5.0",
|
|
7
|
+
"websiteUrl": "https://openagreements.ai",
|
|
8
|
+
"packages": [
|
|
9
|
+
{
|
|
10
|
+
"registryType": "npm",
|
|
11
|
+
"identifier": "@open-agreements/contract-templates-mcp",
|
|
12
|
+
"version": "0.5.0",
|
|
13
|
+
"transport": { "type": "stdio" },
|
|
14
|
+
"runtimeHint": "npx",
|
|
15
|
+
"environmentVariables": []
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"remotes": [
|
|
19
|
+
{
|
|
20
|
+
"type": "streamable-http",
|
|
21
|
+
"url": "https://openagreements.ai/api/mcp"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"repository": {
|
|
25
|
+
"url": "https://github.com/open-agreements/open-agreements",
|
|
26
|
+
"source": "github",
|
|
27
|
+
"id": "open-agreements/open-agreements"
|
|
28
|
+
},
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"tags": ["legal", "contracts", "templates", "docx", "nda", "safe", "nvca", "employment"]
|
|
31
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: client-email
|
|
3
|
+
description: >-
|
|
4
|
+
Draft client-facing emails for legal services — cover notes for contract
|
|
5
|
+
deliverables, redline summaries, deal status updates, and follow-ups.
|
|
6
|
+
Use when composing or revising outbound emails to clients about legal
|
|
7
|
+
work product. Triggers on "draft reply," "email to client," "cover note,"
|
|
8
|
+
"write back to," or any outbound email accompanying a legal deliverable.
|
|
9
|
+
license: MIT
|
|
10
|
+
metadata:
|
|
11
|
+
author: open-agreements
|
|
12
|
+
version: "0.1.0"
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# client-email
|
|
16
|
+
|
|
17
|
+
Style and formatting rules for drafting client-facing emails that accompany legal work product — contract redlines, new drafts, deal summaries, and follow-ups.
|
|
18
|
+
|
|
19
|
+
## Security model
|
|
20
|
+
|
|
21
|
+
- This skill is **guidance only** — it does not send emails, call APIs, or access external systems.
|
|
22
|
+
- All output is draft text for the user to review and send manually.
|
|
23
|
+
- Do not include credentials, API keys, or passwords in email body text, even if the user asks.
|
|
24
|
+
|
|
25
|
+
## When to use
|
|
26
|
+
|
|
27
|
+
Apply these rules when drafting or revising an outbound email from a lawyer or legal services provider to a client. Designed for emails that accompany deliverables (revised contracts, redlines, memos) or communicate legal analysis to non-lawyer business clients.
|
|
28
|
+
|
|
29
|
+
Do NOT apply to internal emails, emails to opposing counsel, or marketing copy.
|
|
30
|
+
|
|
31
|
+
## Email structure
|
|
32
|
+
|
|
33
|
+
The numbered-list structure below is for substantive cover notes with multiple topics. Short emails with a single paragraph of content should be written naturally without numbered items.
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
[Cover line: 1-3 sentences. Bold and name any open decision / action item
|
|
37
|
+
so the reader sees it immediately without reading further.
|
|
38
|
+
E.g., "the **one open item (indemnity cap)** that needs your input."]
|
|
39
|
+
|
|
40
|
+
1. **Declarative heading that conveys the takeaway.** Discussion.
|
|
41
|
+
|
|
42
|
+
**_a. Bold-italic lettered sub-item_**_._ Discussion of sub-point.
|
|
43
|
+
**_b. Another sub-item_**_._ Discussion.
|
|
44
|
+
|
|
45
|
+
2. **Another declarative heading.** Discussion. Not every item needs sub-points.
|
|
46
|
+
|
|
47
|
+
3. **Third heading.** And so forth.
|
|
48
|
+
|
|
49
|
+
[Short closing line]
|
|
50
|
+
|
|
51
|
+
[Name]
|
|
52
|
+
|
|
53
|
+
__________________
|
|
54
|
+
|
|
55
|
+
[1] Footnote text with citations and links.
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Formatting rules
|
|
59
|
+
|
|
60
|
+
1. **No markdown headings (###).** They render too large in Outlook and Gmail. Use **bold lead-in text** on numbered items instead.
|
|
61
|
+
|
|
62
|
+
2. **Lead-ins are declarative statements, not questions.** The reader should get the main point just from scanning the bold text. The heading alone should convey the takeaway.
|
|
63
|
+
- Good: "Limitation of liability capped at 12 months of fees; mutual carve-outs added."
|
|
64
|
+
- Bad: "What did we do about the liability cap?"
|
|
65
|
+
|
|
66
|
+
3. **Sub-items are lettered and bold-italic.** Format: `**_a. Lead-in_**_._` — bold-italic, lettered a/b/c/d, period outside the formatting. Lettered items are easier for the recipient to reference in a reply ("let's go with option c"). Bold-italic gives more visual weight than italic alone.
|
|
67
|
+
|
|
68
|
+
4. **Footnotes for legal sourcing.** Use `[1]` markers in body text. Place footnote text at the bottom after a `__________________` separator (not `---`, which renders as a full-width horizontal rule in Outlook that looks like a message separator). Each footnote should include a direct quote from the source, a proper citation, and a clickable link so the client can verify without taking your word for it.
|
|
69
|
+
|
|
70
|
+
## Tone and voice
|
|
71
|
+
|
|
72
|
+
5. **Concise.** Prefer one tight paragraph per numbered item over multiple paragraphs. Cut filler.
|
|
73
|
+
|
|
74
|
+
6. **Professional but direct.** Not stiff. Slightly conversational — "here's," "your call," "happy to" are fine. Avoid legalese in the email body; save technical precision for the document itself.
|
|
75
|
+
|
|
76
|
+
7. **No title block by default.** Sign off with just your name. Add a title block manually for first-contact situations where the recipient doesn't know you yet.
|
|
77
|
+
|
|
78
|
+
## Client relationship principles
|
|
79
|
+
|
|
80
|
+
8. **Surface action items in the cover line.** If there's an open decision or action item, bold it and name it specifically in the opening sentence. The reader shouldn't have to hunt for what they need to do.
|
|
81
|
+
|
|
82
|
+
9. **Defer on business decisions.** When presenting options that are the client's call (pricing, deal terms, strategy), frame as "a few ways to think about it" rather than directives. Use language like "defer to you" or "happy to [do X] once you decide." The lawyer advises; the client decides.
|
|
83
|
+
|
|
84
|
+
10. **Service-oriented closings on action items.** Offer to do the work rather than assigning it back. "Am happy to fill in the fields" not "fill in the fields." Signal that you're there to execute, not just advise.
|
|
85
|
+
|
|
86
|
+
11. **Signal proposals as proposals.** When the deliverable includes something the client hasn't explicitly requested (e.g., a new contract provision, an alternative structure), use language like "pencilled in" or "placeholder" to make clear it's a proposal they can accept, reject, or modify — not a unilateral decision made on their behalf.
|
|
87
|
+
|
|
88
|
+
12. **Keep procedural detail in footnotes.** Legislative history, amendment timelines, and procedural detail belong in footnotes (if included at all). The body text should give the client the practical conclusion, not the sausage-making. Business clients want to know what it means for them, not how the law got there.
|
|
89
|
+
|
|
90
|
+
## Example
|
|
91
|
+
|
|
92
|
+
> **Note:** The following is an entirely fictional example created to
|
|
93
|
+
> illustrate the formatting rules above. All names, companies, facts,
|
|
94
|
+
> and legal citations are invented. Any resemblance to actual persons,
|
|
95
|
+
> entities, or matters is coincidental.
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
Jane,
|
|
99
|
+
|
|
100
|
+
Attached is the revised supply agreement for Acme Corp along with a
|
|
101
|
+
redline against their last draft. Here's a summary of our changes and
|
|
102
|
+
the **one open item (liability cap amount)** that needs your input.
|
|
103
|
+
|
|
104
|
+
1. **Indemnity narrowed to third-party claims only.** Their draft
|
|
105
|
+
covered "any claim arising from the products," which was overbroad.
|
|
106
|
+
We've pencilled in language limiting the indemnity to claims brought
|
|
107
|
+
by third parties — not internal disputes between Acme and Doe
|
|
108
|
+
Industries.
|
|
109
|
+
|
|
110
|
+
2. **Liability cap amount — your call.** Their draft was uncapped.
|
|
111
|
+
We've bracketed a placeholder. A few ways to think about it:
|
|
112
|
+
|
|
113
|
+
**_a. Match the contract value_**_._ Cap at total fees under the
|
|
114
|
+
purchase order — typical for deals this size.
|
|
115
|
+
|
|
116
|
+
**_b. Multiple of annual spend_**_._ If this is a multi-year
|
|
117
|
+
relationship, a 1-2x annual spend cap gives more room.
|
|
118
|
+
|
|
119
|
+
**_c. Uncapped for the indemnity only_**_._ Some suppliers expect
|
|
120
|
+
product liability indemnity to remain uncapped even when general
|
|
121
|
+
liability is capped. Depends on your risk appetite.
|
|
122
|
+
|
|
123
|
+
3. **Governing law changed to match your other vendor agreements.**
|
|
124
|
+
Their form defaulted to State X. We changed to State Y to keep your
|
|
125
|
+
vendor portfolio consistent (e.g., your Apex Inc. and Globe Ltd.
|
|
126
|
+
agreements are both State Y).[1]
|
|
127
|
+
|
|
128
|
+
4. **Fixed a stale cross-reference in Section 8.** The termination
|
|
129
|
+
clause referenced "Section 12" — should have been Section 9.
|
|
130
|
+
Corrected.
|
|
131
|
+
|
|
132
|
+
Am happy to fill in the cap amount once you decide, or we can
|
|
133
|
+
discuss on a call.
|
|
134
|
+
|
|
135
|
+
John
|
|
136
|
+
|
|
137
|
+
__________________
|
|
138
|
+
|
|
139
|
+
[1] State Y's statute of limitations for contract claims is six years.
|
|
140
|
+
See State Y Com. Code § 2-725 ("An action for breach of any contract
|
|
141
|
+
for sale must be commenced within [six] years after the cause of action
|
|
142
|
+
has accrued."). Full text: https://example.com/state-y-ucc-2-725
|
|
143
|
+
```
|