New:Socket for Asana Is Now Available.Learn more
Sign In

@stll/docx-core

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stll/docx-core - npm Package Compare versions

Comparing version
0.15.1
to
0.15.2
+10
-1
dist/index.d.ts

@@ -125,2 +125,10 @@ import { At as SectionProperties, M as DocumentBody, St as PositionalTab, Tt as RunContent, Ut as Table, Wt as TableCell, Zt as TextContent, _t as Paragraph, a as DocxPackage, b as BlockContent, i as DocxConformanceClass, n as Document, p as Style, qt as TableRow, t as DOCX_CONFORMANCE_CLASSES, vt as ParagraphContent, w as BreakContent, wt as Run } from "./document-ckW6arDW.js";

//#region src/validate/docx.d.ts
declare const DOCX_PACKAGE_ISSUE_CODES: {
readonly ArchiveBoundsExceeded: "archive_bounds_exceeded";
readonly InvalidArchive: "invalid_archive";
readonly InvalidDocumentRoot: "invalid_document_root";
readonly MissingNumberingPart: "missing_numbering_part";
readonly MissingPackagePart: "missing_package_part";
};
type DocxPackageIssueCode = (typeof DOCX_PACKAGE_ISSUE_CODES)[keyof typeof DOCX_PACKAGE_ISSUE_CODES];
type ValidateDocxPackageResult = {

@@ -130,2 +138,3 @@ valid: true;

valid: false;
code: DocxPackageIssueCode;
error: string;

@@ -146,2 +155,2 @@ };

//#endregion
export { type Autofix, type BlockContent, type BreakContent, type CompiledLegalDocument, DOCX_CONFORMANCE_CLASSES, type Document, type DocumentBody, type DocxConformanceClass, type DocxPackage, type LegalDraft, type LegalDraftBlock, type LegalDraftDiagnostic, type LegalSourceCompileOptions, type LegalSourceCompileResult, type LegalSourceDocxCompileResult, type LegalSourceParseResult, type Paragraph, type ParagraphContent, type PositionalTab, type Run, type RunContent, type SectionProperties, type Style, type Table, type TableCell, type TableRow, type TextContent, type ValidateDocumentModelIssue, type ValidateDocumentModelResult, type ValidateDocxPackageResult, assertValidDocumentModel, compileLegalSourceToDocument, compileLegalSourceToDocx, parseLegalSource, serializeDocumentToDocx, validateDocumentModel, validateDocxPackage, validateLegalDraft };
export { type Autofix, type BlockContent, type BreakContent, type CompiledLegalDocument, DOCX_CONFORMANCE_CLASSES, DOCX_PACKAGE_ISSUE_CODES, type Document, type DocumentBody, type DocxConformanceClass, type DocxPackage, type DocxPackageIssueCode, type LegalDraft, type LegalDraftBlock, type LegalDraftDiagnostic, type LegalSourceCompileOptions, type LegalSourceCompileResult, type LegalSourceDocxCompileResult, type LegalSourceParseResult, type Paragraph, type ParagraphContent, type PositionalTab, type Run, type RunContent, type SectionProperties, type Style, type Table, type TableCell, type TableRow, type TextContent, type ValidateDocumentModelIssue, type ValidateDocumentModelResult, type ValidateDocxPackageResult, assertValidDocumentModel, compileLegalSourceToDocument, compileLegalSourceToDocx, parseLegalSource, serializeDocumentToDocx, validateDocumentModel, validateDocxPackage, validateLegalDraft };
+2
-1
{
"name": "@stll/docx-core",
"version": "0.15.1",
"version": "0.15.2",
"description": "Typed OOXML/DOCX model, validation, serialization, legal-source compilation, and browser-native package projection.",

@@ -64,2 +64,3 @@ "keywords": [

"better-result": "3.0.1",
"fast-xml-parser": "^5.10.1",
"jszip": "3.10.1"

@@ -66,0 +67,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display