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,296 @@
|
|
|
1
|
+
// Copyright Joyent, Inc. and other Node contributors.
|
|
2
|
+
//
|
|
3
|
+
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
4
|
+
// copy of this software and associated documentation files (the
|
|
5
|
+
// "Software"), to deal in the Software without restriction, including
|
|
6
|
+
// without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
8
|
+
// persons to whom the Software is furnished to do so, subject to the
|
|
9
|
+
// following conditions:
|
|
10
|
+
//
|
|
11
|
+
// The above copyright notice and this permission notice shall be included
|
|
12
|
+
// in all copies or substantial portions of the Software.
|
|
13
|
+
//
|
|
14
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
15
|
+
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
|
17
|
+
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
18
|
+
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
19
|
+
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
20
|
+
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
+
|
|
22
|
+
'use strict';
|
|
23
|
+
|
|
24
|
+
/*<replacement>*/
|
|
25
|
+
|
|
26
|
+
var Buffer = require('safe-buffer').Buffer;
|
|
27
|
+
/*</replacement>*/
|
|
28
|
+
|
|
29
|
+
var isEncoding = Buffer.isEncoding || function (encoding) {
|
|
30
|
+
encoding = '' + encoding;
|
|
31
|
+
switch (encoding && encoding.toLowerCase()) {
|
|
32
|
+
case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw':
|
|
33
|
+
return true;
|
|
34
|
+
default:
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
function _normalizeEncoding(enc) {
|
|
40
|
+
if (!enc) return 'utf8';
|
|
41
|
+
var retried;
|
|
42
|
+
while (true) {
|
|
43
|
+
switch (enc) {
|
|
44
|
+
case 'utf8':
|
|
45
|
+
case 'utf-8':
|
|
46
|
+
return 'utf8';
|
|
47
|
+
case 'ucs2':
|
|
48
|
+
case 'ucs-2':
|
|
49
|
+
case 'utf16le':
|
|
50
|
+
case 'utf-16le':
|
|
51
|
+
return 'utf16le';
|
|
52
|
+
case 'latin1':
|
|
53
|
+
case 'binary':
|
|
54
|
+
return 'latin1';
|
|
55
|
+
case 'base64':
|
|
56
|
+
case 'ascii':
|
|
57
|
+
case 'hex':
|
|
58
|
+
return enc;
|
|
59
|
+
default:
|
|
60
|
+
if (retried) return; // undefined
|
|
61
|
+
enc = ('' + enc).toLowerCase();
|
|
62
|
+
retried = true;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
// Do not cache `Buffer.isEncoding` when checking encoding names as some
|
|
68
|
+
// modules monkey-patch it to support additional encodings
|
|
69
|
+
function normalizeEncoding(enc) {
|
|
70
|
+
var nenc = _normalizeEncoding(enc);
|
|
71
|
+
if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc);
|
|
72
|
+
return nenc || enc;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// StringDecoder provides an interface for efficiently splitting a series of
|
|
76
|
+
// buffers into a series of JS strings without breaking apart multi-byte
|
|
77
|
+
// characters.
|
|
78
|
+
exports.StringDecoder = StringDecoder;
|
|
79
|
+
function StringDecoder(encoding) {
|
|
80
|
+
this.encoding = normalizeEncoding(encoding);
|
|
81
|
+
var nb;
|
|
82
|
+
switch (this.encoding) {
|
|
83
|
+
case 'utf16le':
|
|
84
|
+
this.text = utf16Text;
|
|
85
|
+
this.end = utf16End;
|
|
86
|
+
nb = 4;
|
|
87
|
+
break;
|
|
88
|
+
case 'utf8':
|
|
89
|
+
this.fillLast = utf8FillLast;
|
|
90
|
+
nb = 4;
|
|
91
|
+
break;
|
|
92
|
+
case 'base64':
|
|
93
|
+
this.text = base64Text;
|
|
94
|
+
this.end = base64End;
|
|
95
|
+
nb = 3;
|
|
96
|
+
break;
|
|
97
|
+
default:
|
|
98
|
+
this.write = simpleWrite;
|
|
99
|
+
this.end = simpleEnd;
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
this.lastNeed = 0;
|
|
103
|
+
this.lastTotal = 0;
|
|
104
|
+
this.lastChar = Buffer.allocUnsafe(nb);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
StringDecoder.prototype.write = function (buf) {
|
|
108
|
+
if (buf.length === 0) return '';
|
|
109
|
+
var r;
|
|
110
|
+
var i;
|
|
111
|
+
if (this.lastNeed) {
|
|
112
|
+
r = this.fillLast(buf);
|
|
113
|
+
if (r === undefined) return '';
|
|
114
|
+
i = this.lastNeed;
|
|
115
|
+
this.lastNeed = 0;
|
|
116
|
+
} else {
|
|
117
|
+
i = 0;
|
|
118
|
+
}
|
|
119
|
+
if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i);
|
|
120
|
+
return r || '';
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
StringDecoder.prototype.end = utf8End;
|
|
124
|
+
|
|
125
|
+
// Returns only complete characters in a Buffer
|
|
126
|
+
StringDecoder.prototype.text = utf8Text;
|
|
127
|
+
|
|
128
|
+
// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer
|
|
129
|
+
StringDecoder.prototype.fillLast = function (buf) {
|
|
130
|
+
if (this.lastNeed <= buf.length) {
|
|
131
|
+
buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
|
|
132
|
+
return this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
133
|
+
}
|
|
134
|
+
buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
|
|
135
|
+
this.lastNeed -= buf.length;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a
|
|
139
|
+
// continuation byte. If an invalid byte is detected, -2 is returned.
|
|
140
|
+
function utf8CheckByte(byte) {
|
|
141
|
+
if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4;
|
|
142
|
+
return byte >> 6 === 0x02 ? -1 : -2;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// Checks at most 3 bytes at the end of a Buffer in order to detect an
|
|
146
|
+
// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4)
|
|
147
|
+
// needed to complete the UTF-8 character (if applicable) are returned.
|
|
148
|
+
function utf8CheckIncomplete(self, buf, i) {
|
|
149
|
+
var j = buf.length - 1;
|
|
150
|
+
if (j < i) return 0;
|
|
151
|
+
var nb = utf8CheckByte(buf[j]);
|
|
152
|
+
if (nb >= 0) {
|
|
153
|
+
if (nb > 0) self.lastNeed = nb - 1;
|
|
154
|
+
return nb;
|
|
155
|
+
}
|
|
156
|
+
if (--j < i || nb === -2) return 0;
|
|
157
|
+
nb = utf8CheckByte(buf[j]);
|
|
158
|
+
if (nb >= 0) {
|
|
159
|
+
if (nb > 0) self.lastNeed = nb - 2;
|
|
160
|
+
return nb;
|
|
161
|
+
}
|
|
162
|
+
if (--j < i || nb === -2) return 0;
|
|
163
|
+
nb = utf8CheckByte(buf[j]);
|
|
164
|
+
if (nb >= 0) {
|
|
165
|
+
if (nb > 0) {
|
|
166
|
+
if (nb === 2) nb = 0;else self.lastNeed = nb - 3;
|
|
167
|
+
}
|
|
168
|
+
return nb;
|
|
169
|
+
}
|
|
170
|
+
return 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Validates as many continuation bytes for a multi-byte UTF-8 character as
|
|
174
|
+
// needed or are available. If we see a non-continuation byte where we expect
|
|
175
|
+
// one, we "replace" the validated continuation bytes we've seen so far with
|
|
176
|
+
// a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding
|
|
177
|
+
// behavior. The continuation byte check is included three times in the case
|
|
178
|
+
// where all of the continuation bytes for a character exist in the same buffer.
|
|
179
|
+
// It is also done this way as a slight performance increase instead of using a
|
|
180
|
+
// loop.
|
|
181
|
+
function utf8CheckExtraBytes(self, buf, p) {
|
|
182
|
+
if ((buf[0] & 0xC0) !== 0x80) {
|
|
183
|
+
self.lastNeed = 0;
|
|
184
|
+
return '\ufffd';
|
|
185
|
+
}
|
|
186
|
+
if (self.lastNeed > 1 && buf.length > 1) {
|
|
187
|
+
if ((buf[1] & 0xC0) !== 0x80) {
|
|
188
|
+
self.lastNeed = 1;
|
|
189
|
+
return '\ufffd';
|
|
190
|
+
}
|
|
191
|
+
if (self.lastNeed > 2 && buf.length > 2) {
|
|
192
|
+
if ((buf[2] & 0xC0) !== 0x80) {
|
|
193
|
+
self.lastNeed = 2;
|
|
194
|
+
return '\ufffd';
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer.
|
|
201
|
+
function utf8FillLast(buf) {
|
|
202
|
+
var p = this.lastTotal - this.lastNeed;
|
|
203
|
+
var r = utf8CheckExtraBytes(this, buf, p);
|
|
204
|
+
if (r !== undefined) return r;
|
|
205
|
+
if (this.lastNeed <= buf.length) {
|
|
206
|
+
buf.copy(this.lastChar, p, 0, this.lastNeed);
|
|
207
|
+
return this.lastChar.toString(this.encoding, 0, this.lastTotal);
|
|
208
|
+
}
|
|
209
|
+
buf.copy(this.lastChar, p, 0, buf.length);
|
|
210
|
+
this.lastNeed -= buf.length;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a
|
|
214
|
+
// partial character, the character's bytes are buffered until the required
|
|
215
|
+
// number of bytes are available.
|
|
216
|
+
function utf8Text(buf, i) {
|
|
217
|
+
var total = utf8CheckIncomplete(this, buf, i);
|
|
218
|
+
if (!this.lastNeed) return buf.toString('utf8', i);
|
|
219
|
+
this.lastTotal = total;
|
|
220
|
+
var end = buf.length - (total - this.lastNeed);
|
|
221
|
+
buf.copy(this.lastChar, 0, end);
|
|
222
|
+
return buf.toString('utf8', i, end);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// For UTF-8, a replacement character is added when ending on a partial
|
|
226
|
+
// character.
|
|
227
|
+
function utf8End(buf) {
|
|
228
|
+
var r = buf && buf.length ? this.write(buf) : '';
|
|
229
|
+
if (this.lastNeed) return r + '\ufffd';
|
|
230
|
+
return r;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// UTF-16LE typically needs two bytes per character, but even if we have an even
|
|
234
|
+
// number of bytes available, we need to check if we end on a leading/high
|
|
235
|
+
// surrogate. In that case, we need to wait for the next two bytes in order to
|
|
236
|
+
// decode the last character properly.
|
|
237
|
+
function utf16Text(buf, i) {
|
|
238
|
+
if ((buf.length - i) % 2 === 0) {
|
|
239
|
+
var r = buf.toString('utf16le', i);
|
|
240
|
+
if (r) {
|
|
241
|
+
var c = r.charCodeAt(r.length - 1);
|
|
242
|
+
if (c >= 0xD800 && c <= 0xDBFF) {
|
|
243
|
+
this.lastNeed = 2;
|
|
244
|
+
this.lastTotal = 4;
|
|
245
|
+
this.lastChar[0] = buf[buf.length - 2];
|
|
246
|
+
this.lastChar[1] = buf[buf.length - 1];
|
|
247
|
+
return r.slice(0, -1);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return r;
|
|
251
|
+
}
|
|
252
|
+
this.lastNeed = 1;
|
|
253
|
+
this.lastTotal = 2;
|
|
254
|
+
this.lastChar[0] = buf[buf.length - 1];
|
|
255
|
+
return buf.toString('utf16le', i, buf.length - 1);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// For UTF-16LE we do not explicitly append special replacement characters if we
|
|
259
|
+
// end on a partial character, we simply let v8 handle that.
|
|
260
|
+
function utf16End(buf) {
|
|
261
|
+
var r = buf && buf.length ? this.write(buf) : '';
|
|
262
|
+
if (this.lastNeed) {
|
|
263
|
+
var end = this.lastTotal - this.lastNeed;
|
|
264
|
+
return r + this.lastChar.toString('utf16le', 0, end);
|
|
265
|
+
}
|
|
266
|
+
return r;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
function base64Text(buf, i) {
|
|
270
|
+
var n = (buf.length - i) % 3;
|
|
271
|
+
if (n === 0) return buf.toString('base64', i);
|
|
272
|
+
this.lastNeed = 3 - n;
|
|
273
|
+
this.lastTotal = 3;
|
|
274
|
+
if (n === 1) {
|
|
275
|
+
this.lastChar[0] = buf[buf.length - 1];
|
|
276
|
+
} else {
|
|
277
|
+
this.lastChar[0] = buf[buf.length - 2];
|
|
278
|
+
this.lastChar[1] = buf[buf.length - 1];
|
|
279
|
+
}
|
|
280
|
+
return buf.toString('base64', i, buf.length - n);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
function base64End(buf) {
|
|
284
|
+
var r = buf && buf.length ? this.write(buf) : '';
|
|
285
|
+
if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed);
|
|
286
|
+
return r;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex)
|
|
290
|
+
function simpleWrite(buf) {
|
|
291
|
+
return buf.toString(this.encoding);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
function simpleEnd(buf) {
|
|
295
|
+
return buf && buf.length ? this.write(buf) : '';
|
|
296
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "string_decoder",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "The string_decoder module from Node core",
|
|
5
|
+
"main": "lib/string_decoder.js",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"safe-buffer": "~5.1.0"
|
|
8
|
+
},
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"babel-polyfill": "^6.23.0",
|
|
11
|
+
"core-util-is": "^1.0.2",
|
|
12
|
+
"inherits": "^2.0.3",
|
|
13
|
+
"tap": "~0.4.8"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"test": "tap test/parallel/*.js && node test/verify-dependencies",
|
|
17
|
+
"ci": "tap test/parallel/*.js test/ours/*.js --tap | tee test.tap && node test/verify-dependencies.js"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git://github.com/nodejs/string_decoder.git"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/nodejs/string_decoder",
|
|
24
|
+
"keywords": [
|
|
25
|
+
"string",
|
|
26
|
+
"decoder",
|
|
27
|
+
"browser",
|
|
28
|
+
"browserify"
|
|
29
|
+
],
|
|
30
|
+
"license": "MIT"
|
|
31
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
1.0.2 / 2015-10-07
|
|
3
|
+
==================
|
|
4
|
+
|
|
5
|
+
* use try/catch when checking `localStorage` (#3, @kumavis)
|
|
6
|
+
|
|
7
|
+
1.0.1 / 2014-11-25
|
|
8
|
+
==================
|
|
9
|
+
|
|
10
|
+
* browser: use `console.warn()` for deprecation calls
|
|
11
|
+
* browser: more jsdocs
|
|
12
|
+
|
|
13
|
+
1.0.0 / 2014-04-30
|
|
14
|
+
==================
|
|
15
|
+
|
|
16
|
+
* initial commit
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person
|
|
6
|
+
obtaining a copy of this software and associated documentation
|
|
7
|
+
files (the "Software"), to deal in the Software without
|
|
8
|
+
restriction, including without limitation the rights to use,
|
|
9
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the
|
|
11
|
+
Software is furnished to do so, subject to the following
|
|
12
|
+
conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be
|
|
15
|
+
included in all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
18
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
19
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
20
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
21
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
22
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
23
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
24
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
util-deprecate
|
|
2
|
+
==============
|
|
3
|
+
### The Node.js `util.deprecate()` function with browser support
|
|
4
|
+
|
|
5
|
+
In Node.js, this module simply re-exports the `util.deprecate()` function.
|
|
6
|
+
|
|
7
|
+
In the web browser (i.e. via browserify), a browser-specific implementation
|
|
8
|
+
of the `util.deprecate()` function is used.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## API
|
|
12
|
+
|
|
13
|
+
A `deprecate()` function is the only thing exposed by this module.
|
|
14
|
+
|
|
15
|
+
``` javascript
|
|
16
|
+
// setup:
|
|
17
|
+
exports.foo = deprecate(foo, 'foo() is deprecated, use bar() instead');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
// users see:
|
|
21
|
+
foo();
|
|
22
|
+
// foo() is deprecated, use bar() instead
|
|
23
|
+
foo();
|
|
24
|
+
foo();
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
(The MIT License)
|
|
31
|
+
|
|
32
|
+
Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
|
|
33
|
+
|
|
34
|
+
Permission is hereby granted, free of charge, to any person
|
|
35
|
+
obtaining a copy of this software and associated documentation
|
|
36
|
+
files (the "Software"), to deal in the Software without
|
|
37
|
+
restriction, including without limitation the rights to use,
|
|
38
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
39
|
+
copies of the Software, and to permit persons to whom the
|
|
40
|
+
Software is furnished to do so, subject to the following
|
|
41
|
+
conditions:
|
|
42
|
+
|
|
43
|
+
The above copyright notice and this permission notice shall be
|
|
44
|
+
included in all copies or substantial portions of the Software.
|
|
45
|
+
|
|
46
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
47
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
48
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
49
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
50
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
51
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
52
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
53
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Module exports.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
module.exports = deprecate;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Mark that a method should not be used.
|
|
10
|
+
* Returns a modified function which warns once by default.
|
|
11
|
+
*
|
|
12
|
+
* If `localStorage.noDeprecation = true` is set, then it is a no-op.
|
|
13
|
+
*
|
|
14
|
+
* If `localStorage.throwDeprecation = true` is set, then deprecated functions
|
|
15
|
+
* will throw an Error when invoked.
|
|
16
|
+
*
|
|
17
|
+
* If `localStorage.traceDeprecation = true` is set, then deprecated functions
|
|
18
|
+
* will invoke `console.trace()` instead of `console.error()`.
|
|
19
|
+
*
|
|
20
|
+
* @param {Function} fn - the function to deprecate
|
|
21
|
+
* @param {String} msg - the string to print to the console when `fn` is invoked
|
|
22
|
+
* @returns {Function} a new "deprecated" version of `fn`
|
|
23
|
+
* @api public
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
function deprecate (fn, msg) {
|
|
27
|
+
if (config('noDeprecation')) {
|
|
28
|
+
return fn;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
var warned = false;
|
|
32
|
+
function deprecated() {
|
|
33
|
+
if (!warned) {
|
|
34
|
+
if (config('throwDeprecation')) {
|
|
35
|
+
throw new Error(msg);
|
|
36
|
+
} else if (config('traceDeprecation')) {
|
|
37
|
+
console.trace(msg);
|
|
38
|
+
} else {
|
|
39
|
+
console.warn(msg);
|
|
40
|
+
}
|
|
41
|
+
warned = true;
|
|
42
|
+
}
|
|
43
|
+
return fn.apply(this, arguments);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return deprecated;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Checks `localStorage` for boolean values for the given `name`.
|
|
51
|
+
*
|
|
52
|
+
* @param {String} name
|
|
53
|
+
* @returns {Boolean}
|
|
54
|
+
* @api private
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
function config (name) {
|
|
58
|
+
// accessing global.localStorage can trigger a DOMException in sandboxed iframes
|
|
59
|
+
try {
|
|
60
|
+
if (!global.localStorage) return false;
|
|
61
|
+
} catch (_) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
var val = global.localStorage[name];
|
|
65
|
+
if (null == val) return false;
|
|
66
|
+
return String(val).toLowerCase() === 'true';
|
|
67
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "util-deprecate",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "The Node.js `util.deprecate()` function with browser support",
|
|
5
|
+
"main": "node.js",
|
|
6
|
+
"browser": "browser.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git://github.com/TooTallNate/util-deprecate.git"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"util",
|
|
16
|
+
"deprecate",
|
|
17
|
+
"browserify",
|
|
18
|
+
"browser",
|
|
19
|
+
"node"
|
|
20
|
+
],
|
|
21
|
+
"author": "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/TooTallNate/util-deprecate/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/TooTallNate/util-deprecate"
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agreements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"workspaces": [
|
|
5
5
|
"packages/allure-test-factory",
|
|
6
6
|
"packages/contract-templates-mcp",
|
|
7
7
|
"packages/contracts-workspace",
|
|
8
8
|
"packages/contracts-workspace-mcp",
|
|
9
|
-
"packages/docx-core"
|
|
9
|
+
"packages/docx-core",
|
|
10
|
+
"packages/checklist-mcp"
|
|
10
11
|
],
|
|
11
12
|
"description": "Open-source legal template filling CLI and library",
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|
|
14
15
|
"url": "https://github.com/open-agreements/open-agreements.git"
|
|
15
16
|
},
|
|
16
|
-
"homepage": "https://
|
|
17
|
+
"homepage": "https://usejunior.com/developer-tools/open-agreements",
|
|
17
18
|
"bugs": {
|
|
18
19
|
"url": "https://github.com/open-agreements/open-agreements/issues"
|
|
19
20
|
},
|
|
@@ -35,13 +36,18 @@
|
|
|
35
36
|
"content/",
|
|
36
37
|
"skills/",
|
|
37
38
|
"README.md",
|
|
38
|
-
"LICENSE"
|
|
39
|
+
"LICENSE",
|
|
40
|
+
"server.json"
|
|
41
|
+
],
|
|
42
|
+
"bundleDependencies": [
|
|
43
|
+
"@usejunior/docx-core"
|
|
39
44
|
],
|
|
40
45
|
"scripts": {
|
|
41
46
|
"build": "tsc",
|
|
42
47
|
"build:workspace": "tsc -p packages/contracts-workspace/tsconfig.json",
|
|
43
48
|
"build:workspace-mcp": "tsc -p packages/contracts-workspace-mcp/tsconfig.json",
|
|
44
49
|
"build:contract-templates-mcp": "tsc -p packages/contract-templates-mcp/tsconfig.json",
|
|
50
|
+
"build:checklist-mcp": "tsc -p packages/checklist-mcp/tsconfig.json",
|
|
45
51
|
"dev": "tsc --watch",
|
|
46
52
|
"check:spec-coverage": "node scripts/validate_openspec_coverage.mjs",
|
|
47
53
|
"check:template-previews": "node scripts/check_template_previews.mjs",
|
|
@@ -123,6 +129,7 @@
|
|
|
123
129
|
"commander": "^13.1.0",
|
|
124
130
|
"docx-templates": "^4.13.0",
|
|
125
131
|
"js-yaml": "^4.1.0",
|
|
132
|
+
"@usejunior/docx-core": "*",
|
|
126
133
|
"zod": "^4.0.0"
|
|
127
134
|
},
|
|
128
135
|
"devDependencies": {
|
|
@@ -133,7 +140,6 @@
|
|
|
133
140
|
"@types/js-yaml": "^4.0.9",
|
|
134
141
|
"@types/node": "^22.13.0",
|
|
135
142
|
"@usejunior/allure-test-factory": "*",
|
|
136
|
-
"@usejunior/docx-core": "*",
|
|
137
143
|
"@vitest/coverage-v8": "^3.2.4",
|
|
138
144
|
"allure-vitest": "^3.4.5",
|
|
139
145
|
"docx": "^9.5.1",
|