Socket
Socket
Sign inDemoInstall

docx

Package Overview
Dependencies
19
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.2.4 to 8.3.0

2

build/export/packer/next-compiler.d.ts

@@ -9,4 +9,4 @@ import JSZip from "jszip";

constructor();
compile(file: File, prettifyXml?: PrettifyType): JSZip;
compile(file: File, prettifyXml?: (typeof PrettifyType)[keyof typeof PrettifyType]): JSZip;
private xmlifyFile;
}

@@ -5,15 +5,15 @@ /// <reference types="node" />

import { File } from '../../file/file';
export declare enum PrettifyType {
NONE = "",
WITH_2_BLANKS = " ",
WITH_4_BLANKS = " ",
WITH_TAB = "\t"
}
export declare const PrettifyType: {
readonly NONE: "";
readonly WITH_2_BLANKS: " ";
readonly WITH_4_BLANKS: " ";
readonly WITH_TAB: "\t";
};
export declare class Packer {
static toString(file: File, prettify?: boolean | PrettifyType): Promise<string>;
static toBuffer(file: File, prettify?: boolean | PrettifyType): Promise<Buffer>;
static toBase64String(file: File, prettify?: boolean | PrettifyType): Promise<string>;
static toBlob(file: File, prettify?: boolean | PrettifyType): Promise<Blob>;
static toStream(file: File, prettify?: boolean | PrettifyType): Stream;
static toString(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<string>;
static toBuffer(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<Buffer>;
static toBase64String(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<string>;
static toBlob(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Promise<Blob>;
static toStream(file: File, prettify?: boolean | (typeof PrettifyType)[keyof typeof PrettifyType]): Stream;
private static readonly compiler;
}
import { XmlComponent } from '../xml-components';
export interface IBorderOptions {
readonly style: BorderStyle;
readonly style: (typeof BorderStyle)[keyof typeof BorderStyle];
readonly color?: string;

@@ -11,30 +11,30 @@ readonly size?: number;

}
export declare enum BorderStyle {
SINGLE = "single",
DASH_DOT_STROKED = "dashDotStroked",
DASHED = "dashed",
DASH_SMALL_GAP = "dashSmallGap",
DOT_DASH = "dotDash",
DOT_DOT_DASH = "dotDotDash",
DOTTED = "dotted",
DOUBLE = "double",
DOUBLE_WAVE = "doubleWave",
INSET = "inset",
NIL = "nil",
NONE = "none",
OUTSET = "outset",
THICK = "thick",
THICK_THIN_LARGE_GAP = "thickThinLargeGap",
THICK_THIN_MEDIUM_GAP = "thickThinMediumGap",
THICK_THIN_SMALL_GAP = "thickThinSmallGap",
THIN_THICK_LARGE_GAP = "thinThickLargeGap",
THIN_THICK_MEDIUM_GAP = "thinThickMediumGap",
THIN_THICK_SMALL_GAP = "thinThickSmallGap",
THIN_THICK_THIN_LARGE_GAP = "thinThickThinLargeGap",
THIN_THICK_THIN_MEDIUM_GAP = "thinThickThinMediumGap",
THIN_THICK_THIN_SMALL_GAP = "thinThickThinSmallGap",
THREE_D_EMBOSS = "threeDEmboss",
THREE_D_ENGRAVE = "threeDEngrave",
TRIPLE = "triple",
WAVE = "wave"
}
export declare const BorderStyle: {
readonly SINGLE: "single";
readonly DASH_DOT_STROKED: "dashDotStroked";
readonly DASHED: "dashed";
readonly DASH_SMALL_GAP: "dashSmallGap";
readonly DOT_DASH: "dotDash";
readonly DOT_DOT_DASH: "dotDotDash";
readonly DOTTED: "dotted";
readonly DOUBLE: "double";
readonly DOUBLE_WAVE: "doubleWave";
readonly INSET: "inset";
readonly NIL: "nil";
readonly NONE: "none";
readonly OUTSET: "outset";
readonly THICK: "thick";
readonly THICK_THIN_LARGE_GAP: "thickThinLargeGap";
readonly THICK_THIN_MEDIUM_GAP: "thickThinMediumGap";
readonly THICK_THIN_SMALL_GAP: "thickThinSmallGap";
readonly THIN_THICK_LARGE_GAP: "thinThickLargeGap";
readonly THIN_THICK_MEDIUM_GAP: "thinThickMediumGap";
readonly THIN_THICK_SMALL_GAP: "thinThickSmallGap";
readonly THIN_THICK_THIN_LARGE_GAP: "thinThickThinLargeGap";
readonly THIN_THICK_THIN_MEDIUM_GAP: "thinThickThinMediumGap";
readonly THIN_THICK_THIN_SMALL_GAP: "thinThickThinSmallGap";
readonly THREE_D_EMBOSS: "threeDEmboss";
readonly THREE_D_ENGRAVE: "threeDEngrave";
readonly TRIPLE: "triple";
readonly WAVE: "wave";
};
import { XmlAttributeComponent, XmlComponent } from '../../../../xml-components';
export declare enum DocumentGridType {
DEFAULT = "default",
LINES = "lines",
LINES_AND_CHARS = "linesAndChars",
SNAP_TO_CHARS = "snapToChars"
}
export declare const DocumentGridType: {
readonly DEFAULT: "default";
readonly LINES: "lines";
readonly LINES_AND_CHARS: "linesAndChars";
readonly SNAP_TO_CHARS: "snapToChars";
};
export interface IDocGridAttributesProperties {
readonly type?: DocumentGridType;
readonly type?: (typeof DocumentGridType)[keyof typeof DocumentGridType];
readonly linePitch?: number;

@@ -21,3 +21,3 @@ readonly charSpace?: number;

export declare class DocumentGrid extends XmlComponent {
constructor(linePitch: number, charSpace?: number, type?: DocumentGridType);
constructor(linePitch: number, charSpace?: number, type?: (typeof DocumentGridType)[keyof typeof DocumentGridType]);
}
import { XmlComponent } from '../../../../xml-components';
export declare enum HeaderFooterReferenceType {
DEFAULT = "default",
FIRST = "first",
EVEN = "even"
}
export declare const HeaderFooterReferenceType: {
readonly DEFAULT: "default";
readonly FIRST: "first";
readonly EVEN: "even";
};
export interface IHeaderFooterOptions {
readonly type?: HeaderFooterReferenceType;
readonly type?: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
readonly id?: number;
}
export declare enum HeaderFooterType {
HEADER = "w:headerReference",
FOOTER = "w:footerReference"
}
export declare const HeaderFooterType: {
readonly HEADER: "w:headerReference";
readonly FOOTER: "w:footerReference";
};
export declare class HeaderFooterReference extends XmlComponent {
constructor(type: HeaderFooterType, options: IHeaderFooterOptions);
constructor(type: (typeof HeaderFooterType)[keyof typeof HeaderFooterType], options: IHeaderFooterOptions);
}
import { XmlComponent } from '../../../../xml-components';
import { PositiveUniversalMeasure } from '../../../../../util/values';
export declare enum LineNumberRestartFormat {
NEW_PAGE = "newPage",
NEW_SECTION = "newSection",
CONTINUOUS = "continuous"
}
export declare const LineNumberRestartFormat: {
readonly NEW_PAGE: "newPage";
readonly NEW_SECTION: "newSection";
readonly CONTINUOUS: "continuous";
};
export interface ILineNumberAttributes {
readonly countBy?: number;
readonly start?: number;
readonly restart?: LineNumberRestartFormat;
readonly restart?: (typeof LineNumberRestartFormat)[keyof typeof LineNumberRestartFormat];
readonly distance?: number | PositiveUniversalMeasure;

@@ -13,0 +13,0 @@ }

import { IBorderOptions } from '../../../../border';
import { IgnoreIfEmptyXmlComponent } from '../../../../xml-components';
export declare enum PageBorderDisplay {
ALL_PAGES = "allPages",
FIRST_PAGE = "firstPage",
NOT_FIRST_PAGE = "notFirstPage"
}
export declare enum PageBorderOffsetFrom {
PAGE = "page",
TEXT = "text"
}
export declare enum PageBorderZOrder {
BACK = "back",
FRONT = "front"
}
export declare const PageBorderDisplay: {
readonly ALL_PAGES: "allPages";
readonly FIRST_PAGE: "firstPage";
readonly NOT_FIRST_PAGE: "notFirstPage";
};
export declare const PageBorderOffsetFrom: {
readonly PAGE: "page";
readonly TEXT: "text";
};
export declare const PageBorderZOrder: {
readonly BACK: "back";
readonly FRONT: "front";
};
export interface IPageBorderAttributes {
readonly display?: PageBorderDisplay;
readonly offsetFrom?: PageBorderOffsetFrom;
readonly zOrder?: PageBorderZOrder;
readonly display?: (typeof PageBorderDisplay)[keyof typeof PageBorderDisplay];
readonly offsetFrom?: (typeof PageBorderOffsetFrom)[keyof typeof PageBorderOffsetFrom];
readonly zOrder?: (typeof PageBorderZOrder)[keyof typeof PageBorderZOrder];
}

@@ -21,0 +21,0 @@ export interface IPageBordersOptions {

import { NumberFormat } from '../../../../shared/number-format';
import { XmlAttributeComponent, XmlComponent } from '../../../../xml-components';
export declare enum PageNumberSeparator {
HYPHEN = "hyphen",
PERIOD = "period",
COLON = "colon",
EM_DASH = "emDash",
EN_DASH = "endash"
}
export declare const PageNumberSeparator: {
readonly HYPHEN: "hyphen";
readonly PERIOD: "period";
readonly COLON: "colon";
readonly EM_DASH: "emDash";
readonly EN_DASH: "endash";
};
export interface IPageNumberTypeAttributes {
readonly start?: number;
readonly formatType?: NumberFormat;
readonly separator?: PageNumberSeparator;
readonly formatType?: (typeof NumberFormat)[keyof typeof NumberFormat];
readonly separator?: (typeof PageNumberSeparator)[keyof typeof PageNumberSeparator];
}

@@ -15,0 +15,0 @@ export declare class PageNumberTypeAttributes extends XmlAttributeComponent<IPageNumberTypeAttributes> {

import { XmlComponent } from '../../../../xml-components';
import { PositiveUniversalMeasure } from '../../../../../util/values';
export declare enum PageOrientation {
PORTRAIT = "portrait",
LANDSCAPE = "landscape"
}
export declare const PageOrientation: {
readonly PORTRAIT: "portrait";
readonly LANDSCAPE: "landscape";
};
export type IPageSizeAttributes = {
readonly width?: number | PositiveUniversalMeasure;
readonly height?: number | PositiveUniversalMeasure;
readonly orientation?: PageOrientation;
readonly orientation?: (typeof PageOrientation)[keyof typeof PageOrientation];
};
export declare class PageSize extends XmlComponent {
constructor(width: number | PositiveUniversalMeasure, height: number | PositiveUniversalMeasure, orientation: PageOrientation);
constructor(width: number | PositiveUniversalMeasure, height: number | PositiveUniversalMeasure, orientation: (typeof PageOrientation)[keyof typeof PageOrientation]);
}
import { XmlComponent } from '../../../../xml-components';
export declare enum PageTextDirectionType {
LEFT_TO_RIGHT_TOP_TO_BOTTOM = "lrTb",
TOP_TO_BOTTOM_RIGHT_TO_LEFT = "tbRl"
}
export declare const PageTextDirectionType: {
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
};
export declare class PageTextDirection extends XmlComponent {
constructor(value: PageTextDirectionType);
constructor(value: (typeof PageTextDirectionType)[keyof typeof PageTextDirectionType]);
}
import { XmlAttributeComponent, XmlComponent } from '../../../../xml-components';
export declare enum SectionType {
NEXT_PAGE = "nextPage",
NEXT_COLUMN = "nextColumn",
CONTINUOUS = "continuous",
EVEN_PAGE = "evenPage",
ODD_PAGE = "oddPage"
}
export declare const SectionType: {
readonly NEXT_PAGE: "nextPage";
readonly NEXT_COLUMN: "nextColumn";
readonly CONTINUOUS: "continuous";
readonly EVEN_PAGE: "evenPage";
readonly ODD_PAGE: "oddPage";
};
export declare class SectionTypeAttributes extends XmlAttributeComponent<{
readonly val: SectionType;
readonly val: (typeof SectionType)[keyof typeof SectionType];
}> {

@@ -17,3 +17,3 @@ protected readonly xmlKeys: {

export declare class Type extends XmlComponent {
constructor(value: SectionType);
constructor(value: (typeof SectionType)[keyof typeof SectionType]);
}

@@ -11,3 +11,3 @@ import { FooterWrapper } from '../../../footer-wrapper';

import { IPageNumberTypeAttributes } from "./properties/page-number";
import { IPageSizeAttributes, PageOrientation } from "./properties/page-size";
import { IPageSizeAttributes } from "./properties/page-size";
import { PageTextDirectionType } from "./properties/page-text-direction";

@@ -26,3 +26,3 @@ import { SectionType } from "./properties/section-type";

readonly borders?: IPageBordersOptions;
readonly textDirection?: PageTextDirectionType;
readonly textDirection?: (typeof PageTextDirectionType)[keyof typeof PageTextDirectionType];
};

@@ -34,5 +34,5 @@ readonly grid?: IDocGridAttributesProperties;

readonly titlePage?: boolean;
readonly verticalAlign?: VerticalAlign;
readonly verticalAlign?: (typeof VerticalAlign)[keyof typeof VerticalAlign];
readonly column?: IColumnsAttributes;
readonly type?: SectionType;
readonly type?: (typeof SectionType)[keyof typeof SectionType];
}

@@ -51,3 +51,3 @@ export declare const sectionMarginDefaults: {

HEIGHT: number;
ORIENTATION: PageOrientation;
ORIENTATION: "portrait";
};

@@ -54,0 +54,0 @@ export declare class SectionProperties extends XmlComponent {

import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
import { XmlComponent } from '../../xml-components';
export declare class Align extends XmlComponent {
constructor(value: HorizontalPositionAlign | VerticalPositionAlign);
constructor(value: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign] | (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign]);
}
import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
import { ITextWrapping } from "../text-wrap";
export declare enum HorizontalPositionRelativeFrom {
CHARACTER = "character",
COLUMN = "column",
INSIDE_MARGIN = "insideMargin",
LEFT_MARGIN = "leftMargin",
MARGIN = "margin",
OUTSIDE_MARGIN = "outsideMargin",
PAGE = "page",
RIGHT_MARGIN = "rightMargin"
}
export declare enum VerticalPositionRelativeFrom {
BOTTOM_MARGIN = "bottomMargin",
INSIDE_MARGIN = "insideMargin",
LINE = "line",
MARGIN = "margin",
OUTSIDE_MARGIN = "outsideMargin",
PAGE = "page",
PARAGRAPH = "paragraph",
TOP_MARGIN = "topMargin"
}
export declare const HorizontalPositionRelativeFrom: {
readonly CHARACTER: "character";
readonly COLUMN: "column";
readonly INSIDE_MARGIN: "insideMargin";
readonly LEFT_MARGIN: "leftMargin";
readonly MARGIN: "margin";
readonly OUTSIDE_MARGIN: "outsideMargin";
readonly PAGE: "page";
readonly RIGHT_MARGIN: "rightMargin";
};
export declare const VerticalPositionRelativeFrom: {
readonly BOTTOM_MARGIN: "bottomMargin";
readonly INSIDE_MARGIN: "insideMargin";
readonly LINE: "line";
readonly MARGIN: "margin";
readonly OUTSIDE_MARGIN: "outsideMargin";
readonly PAGE: "page";
readonly PARAGRAPH: "paragraph";
readonly TOP_MARGIN: "topMargin";
};
export interface IHorizontalPositionOptions {
readonly relative?: HorizontalPositionRelativeFrom;
readonly align?: HorizontalPositionAlign;
readonly relative?: (typeof HorizontalPositionRelativeFrom)[keyof typeof HorizontalPositionRelativeFrom];
readonly align?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
readonly offset?: number;
}
export interface IVerticalPositionOptions {
readonly relative?: VerticalPositionRelativeFrom;
readonly align?: VerticalPositionAlign;
readonly relative?: (typeof VerticalPositionRelativeFrom)[keyof typeof VerticalPositionRelativeFrom];
readonly align?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
readonly offset?: number;

@@ -32,0 +32,0 @@ }

import { IDistance } from "../drawing";
export declare enum TextWrappingType {
NONE = 0,
SQUARE = 1,
TIGHT = 2,
TOP_AND_BOTTOM = 3
}
export declare enum TextWrappingSide {
BOTH_SIDES = "bothSides",
LEFT = "left",
RIGHT = "right",
LARGEST = "largest"
}
export declare const TextWrappingType: {
readonly NONE: 0;
readonly SQUARE: 1;
readonly TIGHT: 2;
readonly TOP_AND_BOTTOM: 3;
};
export declare const TextWrappingSide: {
readonly BOTH_SIDES: "bothSides";
readonly LEFT: "left";
readonly RIGHT: "right";
readonly LARGEST: "largest";
};
export interface ITextWrapping {
readonly type: TextWrappingType;
readonly side?: TextWrappingSide;
readonly type: (typeof TextWrappingType)[keyof typeof TextWrappingType];
readonly side?: (typeof TextWrappingSide)[keyof typeof TextWrappingSide];
readonly margins?: IDistance;
}

@@ -11,3 +11,3 @@ import { XmlComponent } from './xml-components';

readonly footer: FooterWrapper;
readonly type: HeaderFooterReferenceType;
readonly type: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
}

@@ -14,0 +14,0 @@ export declare class FooterWrapper implements IViewWrapper {

import { Paragraph } from '../../paragraph';
import { XmlComponent } from '../../xml-components';
export declare enum FootnoteType {
SEPERATOR = "separator",
CONTINUATION_SEPERATOR = "continuationSeparator"
}
export declare const FootnoteType: {
readonly SEPERATOR: "separator";
readonly CONTINUATION_SEPERATOR: "continuationSeparator";
};
export interface IFootnoteOptions {
readonly id: number;
readonly type?: FootnoteType;
readonly type?: (typeof FootnoteType)[keyof typeof FootnoteType];
readonly children: readonly Paragraph[];

@@ -11,0 +11,0 @@ }

@@ -11,3 +11,3 @@ import { XmlComponent } from './xml-components';

readonly header: HeaderWrapper;
readonly type: HeaderFooterReferenceType;
readonly type: (typeof HeaderFooterReferenceType)[keyof typeof HeaderFooterReferenceType];
}

@@ -14,0 +14,0 @@ export declare class HeaderWrapper implements IViewWrapper {

@@ -5,79 +5,79 @@ import { XmlComponent } from '../xml-components';

import { IRunStylePropertiesOptions } from "../paragraph/run/properties";
export declare enum LevelFormat {
DECIMAL = "decimal",
UPPER_ROMAN = "upperRoman",
LOWER_ROMAN = "lowerRoman",
UPPER_LETTER = "upperLetter",
LOWER_LETTER = "lowerLetter",
ORDINAL = "ordinal",
CARDINAL_TEXT = "cardinalText",
ORDINAL_TEXT = "ordinalText",
HEX = "hex",
CHICAGO = "chicago",
IDEOGRAPH__DIGITAL = "ideographDigital",
JAPANESE_COUNTING = "japaneseCounting",
AIUEO = "aiueo",
IROHA = "iroha",
DECIMAL_FULL_WIDTH = "decimalFullWidth",
DECIMAL_HALF_WIDTH = "decimalHalfWidth",
JAPANESE_LEGAL = "japaneseLegal",
JAPANESE_DIGITAL_TEN_THOUSAND = "japaneseDigitalTenThousand",
DECIMAL_ENCLOSED_CIRCLE = "decimalEnclosedCircle",
DECIMAL_FULL_WIDTH2 = "decimalFullWidth2",
AIUEO_FULL_WIDTH = "aiueoFullWidth",
IROHA_FULL_WIDTH = "irohaFullWidth",
DECIMAL_ZERO = "decimalZero",
BULLET = "bullet",
GANADA = "ganada",
CHOSUNG = "chosung",
DECIMAL_ENCLOSED_FULLSTOP = "decimalEnclosedFullstop",
DECIMAL_ENCLOSED_PARENTHESES = "decimalEnclosedParen",
DECIMAL_ENCLOSED_CIRCLE_CHINESE = "decimalEnclosedCircleChinese",
IDEOGRAPH_ENCLOSED_CIRCLE = "ideographEnclosedCircle",
IDEOGRAPH_TRADITIONAL = "ideographTraditional",
IDEOGRAPH_ZODIAC = "ideographZodiac",
IDEOGRAPH_ZODIAC_TRADITIONAL = "ideographZodiacTraditional",
TAIWANESE_COUNTING = "taiwaneseCounting",
IDEOGRAPH_LEGAL_TRADITIONAL = "ideographLegalTraditional",
TAIWANESE_COUNTING_THOUSAND = "taiwaneseCountingThousand",
TAIWANESE_DIGITAL = "taiwaneseDigital",
CHINESE_COUNTING = "chineseCounting",
CHINESE_LEGAL_SIMPLIFIED = "chineseLegalSimplified",
CHINESE_COUNTING_THOUSAND = "chineseCountingThousand",
KOREAN_DIGITAL = "koreanDigital",
KOREAN_COUNTING = "koreanCounting",
KOREAN_LEGAL = "koreanLegal",
KOREAN_DIGITAL2 = "koreanDigital2",
VIETNAMESE_COUNTING = "vietnameseCounting",
RUSSIAN_LOWER = "russianLower",
RUSSIAN_UPPER = "russianUpper",
NONE = "none",
NUMBER_IN_DASH = "numberInDash",
HEBREW1 = "hebrew1",
HEBREW2 = "hebrew2",
ARABIC_ALPHA = "arabicAlpha",
ARABIC_ABJAD = "arabicAbjad",
HINDI_VOWELS = "hindiVowels",
HINDI_CONSONANTS = "hindiConsonants",
HINDI_NUMBERS = "hindiNumbers",
HINDI_COUNTING = "hindiCounting",
THAI_LETTERS = "thaiLetters",
THAI_NUMBERS = "thaiNumbers",
THAI_COUNTING = "thaiCounting",
BAHT_TEXT = "bahtText",
DOLLAR_TEXT = "dollarText",
CUSTOM = "custom"
}
export declare enum LevelSuffix {
NOTHING = "nothing",
SPACE = "space",
TAB = "tab"
}
export declare const LevelFormat: {
readonly DECIMAL: "decimal";
readonly UPPER_ROMAN: "upperRoman";
readonly LOWER_ROMAN: "lowerRoman";
readonly UPPER_LETTER: "upperLetter";
readonly LOWER_LETTER: "lowerLetter";
readonly ORDINAL: "ordinal";
readonly CARDINAL_TEXT: "cardinalText";
readonly ORDINAL_TEXT: "ordinalText";
readonly HEX: "hex";
readonly CHICAGO: "chicago";
readonly IDEOGRAPH__DIGITAL: "ideographDigital";
readonly JAPANESE_COUNTING: "japaneseCounting";
readonly AIUEO: "aiueo";
readonly IROHA: "iroha";
readonly DECIMAL_FULL_WIDTH: "decimalFullWidth";
readonly DECIMAL_HALF_WIDTH: "decimalHalfWidth";
readonly JAPANESE_LEGAL: "japaneseLegal";
readonly JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand";
readonly DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle";
readonly DECIMAL_FULL_WIDTH2: "decimalFullWidth2";
readonly AIUEO_FULL_WIDTH: "aiueoFullWidth";
readonly IROHA_FULL_WIDTH: "irohaFullWidth";
readonly DECIMAL_ZERO: "decimalZero";
readonly BULLET: "bullet";
readonly GANADA: "ganada";
readonly CHOSUNG: "chosung";
readonly DECIMAL_ENCLOSED_FULLSTOP: "decimalEnclosedFullstop";
readonly DECIMAL_ENCLOSED_PARENTHESES: "decimalEnclosedParen";
readonly DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese";
readonly IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle";
readonly IDEOGRAPH_TRADITIONAL: "ideographTraditional";
readonly IDEOGRAPH_ZODIAC: "ideographZodiac";
readonly IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional";
readonly TAIWANESE_COUNTING: "taiwaneseCounting";
readonly IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional";
readonly TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand";
readonly TAIWANESE_DIGITAL: "taiwaneseDigital";
readonly CHINESE_COUNTING: "chineseCounting";
readonly CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified";
readonly CHINESE_COUNTING_THOUSAND: "chineseCountingThousand";
readonly KOREAN_DIGITAL: "koreanDigital";
readonly KOREAN_COUNTING: "koreanCounting";
readonly KOREAN_LEGAL: "koreanLegal";
readonly KOREAN_DIGITAL2: "koreanDigital2";
readonly VIETNAMESE_COUNTING: "vietnameseCounting";
readonly RUSSIAN_LOWER: "russianLower";
readonly RUSSIAN_UPPER: "russianUpper";
readonly NONE: "none";
readonly NUMBER_IN_DASH: "numberInDash";
readonly HEBREW1: "hebrew1";
readonly HEBREW2: "hebrew2";
readonly ARABIC_ALPHA: "arabicAlpha";
readonly ARABIC_ABJAD: "arabicAbjad";
readonly HINDI_VOWELS: "hindiVowels";
readonly HINDI_CONSONANTS: "hindiConsonants";
readonly HINDI_NUMBERS: "hindiNumbers";
readonly HINDI_COUNTING: "hindiCounting";
readonly THAI_LETTERS: "thaiLetters";
readonly THAI_NUMBERS: "thaiNumbers";
readonly THAI_COUNTING: "thaiCounting";
readonly BAHT_TEXT: "bahtText";
readonly DOLLAR_TEXT: "dollarText";
readonly CUSTOM: "custom";
};
export declare const LevelSuffix: {
readonly NOTHING: "nothing";
readonly SPACE: "space";
readonly TAB: "tab";
};
export interface ILevelsOptions {
readonly level: number;
readonly format?: LevelFormat;
readonly format?: (typeof LevelFormat)[keyof typeof LevelFormat];
readonly text?: string;
readonly alignment?: AlignmentType;
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
readonly start?: number;
readonly suffix?: LevelSuffix;
readonly suffix?: (typeof LevelSuffix)[keyof typeof LevelSuffix];
readonly isLegalNumberingStyle?: boolean;

@@ -84,0 +84,0 @@ readonly style?: {

import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
export declare enum AlignmentType {
START = "start",
CENTER = "center",
END = "end",
BOTH = "both",
MEDIUM_KASHIDA = "mediumKashida",
DISTRIBUTE = "distribute",
NUM_TAB = "numTab",
HIGH_KASHIDA = "highKashida",
LOW_KASHIDA = "lowKashida",
THAI_DISTRIBUTE = "thaiDistribute",
LEFT = "left",
RIGHT = "right",
JUSTIFIED = "both"
}
export declare const AlignmentType: {
readonly START: "start";
readonly CENTER: "center";
readonly END: "end";
readonly BOTH: "both";
readonly MEDIUM_KASHIDA: "mediumKashida";
readonly DISTRIBUTE: "distribute";
readonly NUM_TAB: "numTab";
readonly HIGH_KASHIDA: "highKashida";
readonly LOW_KASHIDA: "lowKashida";
readonly THAI_DISTRIBUTE: "thaiDistribute";
readonly LEFT: "left";
readonly RIGHT: "right";
readonly JUSTIFIED: "both";
};
export declare class AlignmentAttributes extends XmlAttributeComponent<{
readonly val: AlignmentType;
readonly val: (typeof AlignmentType)[keyof typeof AlignmentType];
}> {

@@ -25,3 +25,3 @@ protected readonly xmlKeys: {

export declare class Alignment extends XmlComponent {
constructor(type: AlignmentType);
constructor(type: (typeof AlignmentType)[keyof typeof AlignmentType]);
}
import { XmlComponent } from '../../xml-components';
export declare enum LineRuleType {
AT_LEAST = "atLeast",
EXACTLY = "exactly",
EXACT = "exact",
AUTO = "auto"
}
export declare const LineRuleType: {
readonly AT_LEAST: "atLeast";
readonly EXACTLY: "exactly";
readonly EXACT: "exact";
readonly AUTO: "auto";
};
export interface ISpacingProperties {

@@ -12,3 +12,3 @@ readonly after?: number;

readonly line?: number;
readonly lineRule?: LineRuleType;
readonly lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
readonly beforeAutoSpacing?: boolean;

@@ -15,0 +15,0 @@ readonly afterAutoSpacing?: boolean;

import { XmlComponent } from '../../xml-components';
export declare enum HeadingLevel {
HEADING_1 = "Heading1",
HEADING_2 = "Heading2",
HEADING_3 = "Heading3",
HEADING_4 = "Heading4",
HEADING_5 = "Heading5",
HEADING_6 = "Heading6",
TITLE = "Title"
}
export declare const HeadingLevel: {
readonly HEADING_1: "Heading1";
readonly HEADING_2: "Heading2";
readonly HEADING_3: "Heading3";
readonly HEADING_4: "Heading4";
readonly HEADING_5: "Heading5";
readonly HEADING_6: "Heading6";
readonly TITLE: "Title";
};
export declare class Style extends XmlComponent {
constructor(styleId: string);
}
import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
export interface TabStopDefinition {
readonly type: TabStopType;
readonly position: number | TabStopPosition;
readonly leader?: LeaderType;
readonly type: (typeof TabStopType)[keyof typeof TabStopType];
readonly position: number | (typeof TabStopPosition)[keyof typeof TabStopPosition];
readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
}

@@ -10,27 +10,27 @@ export declare class TabStop extends XmlComponent {

}
export declare enum TabStopType {
LEFT = "left",
RIGHT = "right",
CENTER = "center",
BAR = "bar",
CLEAR = "clear",
DECIMAL = "decimal",
END = "end",
NUM = "num",
START = "start"
}
export declare enum LeaderType {
DOT = "dot",
HYPHEN = "hyphen",
MIDDLE_DOT = "middleDot",
NONE = "none",
UNDERSCORE = "underscore"
}
export declare enum TabStopPosition {
MAX = 9026
}
export declare const TabStopType: {
readonly LEFT: "left";
readonly RIGHT: "right";
readonly CENTER: "center";
readonly BAR: "bar";
readonly CLEAR: "clear";
readonly DECIMAL: "decimal";
readonly END: "end";
readonly NUM: "num";
readonly START: "start";
};
export declare const LeaderType: {
readonly DOT: "dot";
readonly HYPHEN: "hyphen";
readonly MIDDLE_DOT: "middleDot";
readonly NONE: "none";
readonly UNDERSCORE: "underscore";
};
export declare const TabStopPosition: {
readonly MAX: 9026;
};
export declare class TabAttributes extends XmlAttributeComponent<{
readonly val: TabStopType;
readonly val: (typeof TabStopType)[keyof typeof TabStopType];
readonly pos: string | number;
readonly leader?: LeaderType;
readonly leader?: (typeof LeaderType)[keyof typeof LeaderType];
}> {

@@ -37,0 +37,0 @@ protected readonly xmlKeys: {

import { HorizontalPositionAlign, VerticalPositionAlign } from '../../shared/alignment';
import { HeightRule } from '../../table';
import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
export declare enum DropCapType {
NONE = "none",
DROP = "drop",
MARGIN = "margin"
}
export declare enum FrameAnchorType {
MARGIN = "margin",
PAGE = "page",
TEXT = "text"
}
export declare enum FrameWrap {
AROUND = "around",
AUTO = "auto",
NONE = "none",
NOT_BESIDE = "notBeside",
THROUGH = "through",
TIGHT = "tight"
}
export declare const DropCapType: {
readonly NONE: "none";
readonly DROP: "drop";
readonly MARGIN: "margin";
};
export declare const FrameAnchorType: {
readonly MARGIN: "margin";
readonly PAGE: "page";
readonly TEXT: "text";
};
export declare const FrameWrap: {
readonly AROUND: "around";
readonly AUTO: "auto";
readonly NONE: "none";
readonly NOT_BESIDE: "notBeside";
readonly THROUGH: "through";
readonly TIGHT: "tight";
};
interface IBaseFrameOptions {
readonly anchorLock?: boolean;
readonly dropCap?: DropCapType;
readonly dropCap?: (typeof DropCapType)[keyof typeof DropCapType];
readonly width: number;
readonly height: number;
readonly wrap?: FrameWrap;
readonly wrap?: (typeof FrameWrap)[keyof typeof FrameWrap];
readonly lines?: number;
readonly anchor: {
readonly horizontal: FrameAnchorType;
readonly vertical: FrameAnchorType;
readonly horizontal: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
readonly vertical: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
};

@@ -37,3 +37,3 @@ readonly space?: {

};
readonly rule?: HeightRule;
readonly rule?: (typeof HeightRule)[keyof typeof HeightRule];
}

@@ -48,4 +48,4 @@ export interface IXYFrameOptions extends IBaseFrameOptions {

readonly alignment: {
readonly x: HorizontalPositionAlign;
readonly y: VerticalPositionAlign;
readonly x: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
readonly y: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
};

@@ -56,3 +56,3 @@ }

readonly anchorLock?: boolean;
readonly dropCap?: DropCapType;
readonly dropCap?: (typeof DropCapType)[keyof typeof DropCapType];
readonly width: number;

@@ -62,11 +62,11 @@ readonly height: number;

readonly y?: number;
readonly wrap?: FrameWrap;
readonly wrap?: (typeof FrameWrap)[keyof typeof FrameWrap];
readonly lines?: number;
readonly anchorHorizontal?: FrameAnchorType;
readonly anchorVertical?: FrameAnchorType;
readonly anchorHorizontal?: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
readonly anchorVertical?: (typeof FrameAnchorType)[keyof typeof FrameAnchorType];
readonly spaceHorizontal?: number;
readonly spaceVertical?: number;
readonly rule?: HeightRule;
readonly alignmentX?: HorizontalPositionAlign;
readonly alignmentY?: VerticalPositionAlign;
readonly rule?: (typeof HeightRule)[keyof typeof HeightRule];
readonly alignmentX?: (typeof HorizontalPositionAlign)[keyof typeof HorizontalPositionAlign];
readonly alignmentY?: (typeof VerticalPositionAlign)[keyof typeof VerticalPositionAlign];
}> {

@@ -73,0 +73,0 @@ protected readonly xmlKeys: {

import { XmlComponent } from '../../xml-components';
import { ParagraphChild } from "../paragraph";
export declare enum HyperlinkType {
INTERNAL = "INTERNAL",
EXTERNAL = "EXTERNAL"
}
export declare const HyperlinkType: {
readonly INTERNAL: "INTERNAL";
readonly EXTERNAL: "EXTERNAL";
};
export declare class ConcreteHyperlink extends XmlComponent {

@@ -8,0 +8,0 @@ readonly linkId: string;

@@ -10,4 +10,5 @@ import { IContext, IgnoreIfEmptyXmlComponent, IXmlableObject, XmlComponent } from '../xml-components';

import { IFrameOptions } from "./frame/frame-properties";
import { IRunOptions } from ".";
export interface ILevelParagraphStylePropertiesOptions {
readonly alignment?: AlignmentType;
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
readonly thematicBreak?: boolean;

@@ -33,3 +34,3 @@ readonly contextualSpacing?: boolean;

readonly border?: IBordersOptions;
readonly heading?: HeadingLevel;
readonly heading?: (typeof HeadingLevel)[keyof typeof HeadingLevel];
readonly bidirectional?: boolean;

@@ -49,2 +50,3 @@ readonly pageBreakBefore?: boolean;

readonly autoSpaceEastAsianText?: boolean;
readonly run?: IRunOptions;
}

@@ -51,0 +53,0 @@ export declare class ParagraphProperties extends IgnoreIfEmptyXmlComponent {

import { XmlComponent } from '../../xml-components';
export declare enum EmphasisMarkType {
DOT = "dot"
}
export declare const EmphasisMarkType: {
readonly DOT: "dot";
};
export declare abstract class BaseEmphasisMark extends XmlComponent {
protected constructor(emphasisMarkType: EmphasisMarkType);
protected constructor(emphasisMarkType: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType]);
}
export declare class EmphasisMark extends BaseEmphasisMark {
constructor(emphasisMarkType?: EmphasisMarkType);
constructor(emphasisMarkType?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType]);
}

@@ -11,0 +11,0 @@ export declare class DotEmphasisMark extends BaseEmphasisMark {

import { XmlComponent } from '../../xml-components';
export declare enum PositionalTabAlignment {
LEFT = "left",
CENTER = "center",
RIGHT = "right"
}
export declare enum PositionalTabRelativeTo {
MARGIN = "margin",
INDENT = "indent"
}
export declare enum PositionalTabLeader {
NONE = "none",
DOT = "dot",
HYPHEN = "hyphen",
UNDERSCORE = "underscore",
MIDDLE_DOT = "middleDot"
}
export declare const PositionalTabAlignment: {
readonly LEFT: "left";
readonly CENTER: "center";
readonly RIGHT: "right";
};
export declare const PositionalTabRelativeTo: {
readonly MARGIN: "margin";
readonly INDENT: "indent";
};
export declare const PositionalTabLeader: {
readonly NONE: "none";
readonly DOT: "dot";
readonly HYPHEN: "hyphen";
readonly UNDERSCORE: "underscore";
readonly MIDDLE_DOT: "middleDot";
};
export interface PositionalTabOptions {
readonly alignment: PositionalTabAlignment;
readonly relativeTo: PositionalTabRelativeTo;
readonly leader: PositionalTabLeader;
readonly alignment: (typeof PositionalTabAlignment)[keyof typeof PositionalTabAlignment];
readonly relativeTo: (typeof PositionalTabRelativeTo)[keyof typeof PositionalTabRelativeTo];
readonly leader: (typeof PositionalTabLeader)[keyof typeof PositionalTabLeader];
}

@@ -23,0 +23,0 @@ export declare class PositionalTab extends XmlComponent {

@@ -14,11 +14,11 @@ import { IBorderOptions } from '../../border';

}
export declare enum TextEffect {
BLINK_BACKGROUND = "blinkBackground",
LIGHTS = "lights",
ANTS_BLACK = "antsBlack",
ANTS_RED = "antsRed",
SHIMMER = "shimmer",
SPARKLE = "sparkle",
NONE = "none"
}
export declare const TextEffect: {
readonly BLINK_BACKGROUND: "blinkBackground";
readonly LIGHTS: "lights";
readonly ANTS_BLACK: "antsBlack";
readonly ANTS_RED: "antsRed";
readonly SHIMMER: "shimmer";
readonly SPARKLE: "sparkle";
readonly NONE: "none";
};
export interface IRunStylePropertiesOptions {

@@ -32,7 +32,7 @@ readonly noProof?: boolean;

readonly color?: string;
readonly type?: UnderlineType;
readonly type?: (typeof UnderlineType)[keyof typeof UnderlineType];
};
readonly effect?: TextEffect;
readonly effect?: (typeof TextEffect)[keyof typeof TextEffect];
readonly emphasisMark?: {
readonly type?: EmphasisMarkType;
readonly type?: (typeof EmphasisMarkType)[keyof typeof EmphasisMarkType];
};

@@ -39,0 +39,0 @@ readonly color?: string;

import { SpaceType } from '../../../shared';
import { XmlComponent } from '../../../xml-components';
interface ITextOptions {
readonly space?: SpaceType;
readonly space?: (typeof SpaceType)[keyof typeof SpaceType];
readonly text?: string;

@@ -6,0 +6,0 @@ }

@@ -10,11 +10,11 @@ import { XmlComponent } from '../../xml-components';

export interface IRunOptions extends IRunPropertiesOptions {
readonly children?: readonly (Begin | FieldInstruction | Separate | End | PageNumber | FootnoteReferenceRun | Break | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | PositionalTab | string)[];
readonly children?: readonly (Begin | FieldInstruction | Separate | End | (typeof PageNumber)[keyof typeof PageNumber] | FootnoteReferenceRun | Break | AnnotationReference | CarriageReturn | ContinuationSeparator | DayLong | DayShort | EndnoteReference | FootnoteReferenceElement | LastRenderedPageBreak | MonthLong | MonthShort | NoBreakHyphen | PageNumberElement | Separator | SoftHyphen | Tab | YearLong | YearShort | PositionalTab | string)[];
readonly break?: number;
readonly text?: string;
}
export declare enum PageNumber {
CURRENT = "CURRENT",
TOTAL_PAGES = "TOTAL_PAGES",
TOTAL_PAGES_IN_SECTION = "TOTAL_PAGES_IN_SECTION"
}
export declare const PageNumber: {
readonly CURRENT: "CURRENT";
readonly TOTAL_PAGES: "TOTAL_PAGES";
readonly TOTAL_PAGES_IN_SECTION: "TOTAL_PAGES_IN_SECTION";
};
export declare class Run extends XmlComponent {

@@ -21,0 +21,0 @@ protected readonly properties: RunProperties;

import { SpaceType } from '../../shared';
import { XmlAttributeComponent } from '../../xml-components';
export declare class TextAttributes extends XmlAttributeComponent<{
readonly space: SpaceType;
readonly space: (typeof SpaceType)[keyof typeof SpaceType];
}> {

@@ -6,0 +6,0 @@ protected readonly xmlKeys: {

import { XmlComponent } from '../../xml-components';
export declare enum UnderlineType {
SINGLE = "single",
WORDS = "words",
DOUBLE = "double",
THICK = "thick",
DOTTED = "dotted",
DOTTEDHEAVY = "dottedHeavy",
DASH = "dash",
DASHEDHEAVY = "dashedHeavy",
DASHLONG = "dashLong",
DASHLONGHEAVY = "dashLongHeavy",
DOTDASH = "dotDash",
DASHDOTHEAVY = "dashDotHeavy",
DOTDOTDASH = "dotDotDash",
DASHDOTDOTHEAVY = "dashDotDotHeavy",
WAVE = "wave",
WAVYHEAVY = "wavyHeavy",
WAVYDOUBLE = "wavyDouble",
NONE = "none"
}
export declare const UnderlineType: {
readonly SINGLE: "single";
readonly WORDS: "words";
readonly DOUBLE: "double";
readonly THICK: "thick";
readonly DOTTED: "dotted";
readonly DOTTEDHEAVY: "dottedHeavy";
readonly DASH: "dash";
readonly DASHEDHEAVY: "dashedHeavy";
readonly DASHLONG: "dashLong";
readonly DASHLONGHEAVY: "dashLongHeavy";
readonly DOTDASH: "dotDash";
readonly DASHDOTHEAVY: "dashDotHeavy";
readonly DOTDOTDASH: "dotDotDash";
readonly DASHDOTDOTHEAVY: "dashDotDotHeavy";
readonly WAVE: "wave";
readonly WAVYHEAVY: "wavyHeavy";
readonly WAVYDOUBLE: "wavyDouble";
readonly NONE: "none";
};
export declare class Underline extends XmlComponent {
constructor(underlineType?: UnderlineType, color?: string);
constructor(underlineType?: (typeof UnderlineType)[keyof typeof UnderlineType], color?: string);
}
import { XmlComponent } from '../../xml-components';
export type RelationshipType = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" | "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" | "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";
export declare enum TargetModeType {
EXTERNAL = "External"
}
export declare const TargetModeType: {
readonly EXTERNAL: "External";
};
export declare class Relationship extends XmlComponent {
constructor(id: string, type: RelationshipType, target: string, targetMode?: TargetModeType);
constructor(id: string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]);
}

@@ -5,4 +5,4 @@ import { XmlComponent } from '../xml-components';

constructor();
createRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: TargetModeType): Relationship;
createRelationship(id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]): Relationship;
get RelationshipCount(): number;
}

@@ -5,3 +5,3 @@ import { XmlComponent } from '../xml-components';

readonly color?: string;
readonly type?: ShadingType;
readonly type?: (typeof ShadingType)[keyof typeof ShadingType];
}

@@ -11,40 +11,40 @@ export declare class Shading extends XmlComponent {

}
export declare enum ShadingType {
CLEAR = "clear",
DIAGONAL_CROSS = "diagCross",
DIAGONAL_STRIPE = "diagStripe",
HORIZONTAL_CROSS = "horzCross",
HORIZONTAL_STRIPE = "horzStripe",
NIL = "nil",
PERCENT_5 = "pct5",
PERCENT_10 = "pct10",
PERCENT_12 = "pct12",
PERCENT_15 = "pct15",
PERCENT_20 = "pct20",
PERCENT_25 = "pct25",
PERCENT_30 = "pct30",
PERCENT_35 = "pct35",
PERCENT_37 = "pct37",
PERCENT_40 = "pct40",
PERCENT_45 = "pct45",
PERCENT_50 = "pct50",
PERCENT_55 = "pct55",
PERCENT_60 = "pct60",
PERCENT_62 = "pct62",
PERCENT_65 = "pct65",
PERCENT_70 = "pct70",
PERCENT_75 = "pct75",
PERCENT_80 = "pct80",
PERCENT_85 = "pct85",
PERCENT_87 = "pct87",
PERCENT_90 = "pct90",
PERCENT_95 = "pct95",
REVERSE_DIAGONAL_STRIPE = "reverseDiagStripe",
SOLID = "solid",
THIN_DIAGONAL_CROSS = "thinDiagCross",
THIN_DIAGONAL_STRIPE = "thinDiagStripe",
THIN_HORIZONTAL_CROSS = "thinHorzCross",
THIN_REVERSE_DIAGONAL_STRIPE = "thinReverseDiagStripe",
THIN_VERTICAL_STRIPE = "thinVertStripe",
VERTICAL_STRIPE = "vertStripe"
}
export declare const ShadingType: {
readonly CLEAR: "clear";
readonly DIAGONAL_CROSS: "diagCross";
readonly DIAGONAL_STRIPE: "diagStripe";
readonly HORIZONTAL_CROSS: "horzCross";
readonly HORIZONTAL_STRIPE: "horzStripe";
readonly NIL: "nil";
readonly PERCENT_5: "pct5";
readonly PERCENT_10: "pct10";
readonly PERCENT_12: "pct12";
readonly PERCENT_15: "pct15";
readonly PERCENT_20: "pct20";
readonly PERCENT_25: "pct25";
readonly PERCENT_30: "pct30";
readonly PERCENT_35: "pct35";
readonly PERCENT_37: "pct37";
readonly PERCENT_40: "pct40";
readonly PERCENT_45: "pct45";
readonly PERCENT_50: "pct50";
readonly PERCENT_55: "pct55";
readonly PERCENT_60: "pct60";
readonly PERCENT_62: "pct62";
readonly PERCENT_65: "pct65";
readonly PERCENT_70: "pct70";
readonly PERCENT_75: "pct75";
readonly PERCENT_80: "pct80";
readonly PERCENT_85: "pct85";
readonly PERCENT_87: "pct87";
readonly PERCENT_90: "pct90";
readonly PERCENT_95: "pct95";
readonly REVERSE_DIAGONAL_STRIPE: "reverseDiagStripe";
readonly SOLID: "solid";
readonly THIN_DIAGONAL_CROSS: "thinDiagCross";
readonly THIN_DIAGONAL_STRIPE: "thinDiagStripe";
readonly THIN_HORIZONTAL_CROSS: "thinHorzCross";
readonly THIN_REVERSE_DIAGONAL_STRIPE: "thinReverseDiagStripe";
readonly THIN_VERTICAL_STRIPE: "thinVertStripe";
readonly VERTICAL_STRIPE: "vertStripe";
};

@@ -1,14 +0,14 @@

export declare enum HorizontalPositionAlign {
CENTER = "center",
INSIDE = "inside",
LEFT = "left",
OUTSIDE = "outside",
RIGHT = "right"
}
export declare enum VerticalPositionAlign {
BOTTOM = "bottom",
CENTER = "center",
INSIDE = "inside",
OUTSIDE = "outside",
TOP = "top"
}
export declare const HorizontalPositionAlign: {
readonly CENTER: "center";
readonly INSIDE: "inside";
readonly LEFT: "left";
readonly OUTSIDE: "outside";
readonly RIGHT: "right";
};
export declare const VerticalPositionAlign: {
readonly BOTTOM: "bottom";
readonly CENTER: "center";
readonly INSIDE: "inside";
readonly OUTSIDE: "outside";
readonly TOP: "top";
};

@@ -1,64 +0,64 @@

export declare enum NumberFormat {
DECIMAL = "decimal",
UPPER_ROMAN = "upperRoman",
LOWER_ROMAN = "lowerRoman",
UPPER_LETTER = "upperLetter",
LOWER_LETTER = "lowerLetter",
ORDINAL = "ordinal",
CARDINAL_TEXT = "cardinalText",
ORDINAL_TEXT = "ordinalText",
HEX = "hex",
CHICAGO = "chicago",
IDEOGRAPH_DIGITAL = "ideographDigital",
JAPANESE_COUNTING = "japaneseCounting",
AIUEO = "aiueo",
IROHA = "iroha",
DECIMAL_FULL_WIDTH = "decimalFullWidth",
DECIMAL_HALF_WIDTH = "decimalHalfWidth",
JAPANESE_LEGAL = "japaneseLegal",
JAPANESE_DIGITAL_TEN_THOUSAND = "japaneseDigitalTenThousand",
DECIMAL_ENCLOSED_CIRCLE = "decimalEnclosedCircle",
DECIMAL_FULL_WIDTH_2 = "decimalFullWidth2",
AIUEO_FULL_WIDTH = "aiueoFullWidth",
IROHA_FULL_WIDTH = "irohaFullWidth",
DECIMAL_ZERO = "decimalZero",
BULLET = "bullet",
GANADA = "ganada",
CHOSUNG = "chosung",
DECIMAL_ENCLOSED_FULL_STOP = "decimalEnclosedFullstop",
DECIMAL_ENCLOSED_PAREN = "decimalEnclosedParen",
DECIMAL_ENCLOSED_CIRCLE_CHINESE = "decimalEnclosedCircleChinese",
IDEOGRAPH_ENCLOSED_CIRCLE = "ideographEnclosedCircle",
IDEOGRAPH_TRADITIONAL = "ideographTraditional",
IDEOGRAPH_ZODIAC = "ideographZodiac",
IDEOGRAPH_ZODIAC_TRADITIONAL = "ideographZodiacTraditional",
TAIWANESE_COUNTING = "taiwaneseCounting",
IDEOGRAPH_LEGAL_TRADITIONAL = "ideographLegalTraditional",
TAIWANESE_COUNTING_THOUSAND = "taiwaneseCountingThousand",
TAIWANESE_DIGITAL = "taiwaneseDigital",
CHINESE_COUNTING = "chineseCounting",
CHINESE_LEGAL_SIMPLIFIED = "chineseLegalSimplified",
CHINESE_COUNTING_TEN_THOUSAND = "chineseCountingThousand",
KOREAN_DIGITAL = "koreanDigital",
KOREAN_COUNTING = "koreanCounting",
KOREAN_LEGAL = "koreanLegal",
KOREAN_DIGITAL_2 = "koreanDigital2",
VIETNAMESE_COUNTING = "vietnameseCounting",
RUSSIAN_LOWER = "russianLower",
RUSSIAN_UPPER = "russianUpper",
NONE = "none",
NUMBER_IN_DASH = "numberInDash",
HEBREW_1 = "hebrew1",
HEBREW_2 = "hebrew2",
ARABIC_ALPHA = "arabicAlpha",
ARABIC_ABJAD = "arabicAbjad",
HINDI_VOWELS = "hindiVowels",
HINDI_CONSONANTS = "hindiConsonants",
HINDI_NUMBERS = "hindiNumbers",
HINDI_COUNTING = "hindiCounting",
THAI_LETTERS = "thaiLetters",
THAI_NUMBERS = "thaiNumbers",
THAI_COUNTING = "thaiCounting",
BAHT_TEXT = "bahtText",
DOLLAR_TEXT = "dollarText"
}
export declare const NumberFormat: {
readonly DECIMAL: "decimal";
readonly UPPER_ROMAN: "upperRoman";
readonly LOWER_ROMAN: "lowerRoman";
readonly UPPER_LETTER: "upperLetter";
readonly LOWER_LETTER: "lowerLetter";
readonly ORDINAL: "ordinal";
readonly CARDINAL_TEXT: "cardinalText";
readonly ORDINAL_TEXT: "ordinalText";
readonly HEX: "hex";
readonly CHICAGO: "chicago";
readonly IDEOGRAPH_DIGITAL: "ideographDigital";
readonly JAPANESE_COUNTING: "japaneseCounting";
readonly AIUEO: "aiueo";
readonly IROHA: "iroha";
readonly DECIMAL_FULL_WIDTH: "decimalFullWidth";
readonly DECIMAL_HALF_WIDTH: "decimalHalfWidth";
readonly JAPANESE_LEGAL: "japaneseLegal";
readonly JAPANESE_DIGITAL_TEN_THOUSAND: "japaneseDigitalTenThousand";
readonly DECIMAL_ENCLOSED_CIRCLE: "decimalEnclosedCircle";
readonly DECIMAL_FULL_WIDTH_2: "decimalFullWidth2";
readonly AIUEO_FULL_WIDTH: "aiueoFullWidth";
readonly IROHA_FULL_WIDTH: "irohaFullWidth";
readonly DECIMAL_ZERO: "decimalZero";
readonly BULLET: "bullet";
readonly GANADA: "ganada";
readonly CHOSUNG: "chosung";
readonly DECIMAL_ENCLOSED_FULL_STOP: "decimalEnclosedFullstop";
readonly DECIMAL_ENCLOSED_PAREN: "decimalEnclosedParen";
readonly DECIMAL_ENCLOSED_CIRCLE_CHINESE: "decimalEnclosedCircleChinese";
readonly IDEOGRAPH_ENCLOSED_CIRCLE: "ideographEnclosedCircle";
readonly IDEOGRAPH_TRADITIONAL: "ideographTraditional";
readonly IDEOGRAPH_ZODIAC: "ideographZodiac";
readonly IDEOGRAPH_ZODIAC_TRADITIONAL: "ideographZodiacTraditional";
readonly TAIWANESE_COUNTING: "taiwaneseCounting";
readonly IDEOGRAPH_LEGAL_TRADITIONAL: "ideographLegalTraditional";
readonly TAIWANESE_COUNTING_THOUSAND: "taiwaneseCountingThousand";
readonly TAIWANESE_DIGITAL: "taiwaneseDigital";
readonly CHINESE_COUNTING: "chineseCounting";
readonly CHINESE_LEGAL_SIMPLIFIED: "chineseLegalSimplified";
readonly CHINESE_COUNTING_TEN_THOUSAND: "chineseCountingThousand";
readonly KOREAN_DIGITAL: "koreanDigital";
readonly KOREAN_COUNTING: "koreanCounting";
readonly KOREAN_LEGAL: "koreanLegal";
readonly KOREAN_DIGITAL_2: "koreanDigital2";
readonly VIETNAMESE_COUNTING: "vietnameseCounting";
readonly RUSSIAN_LOWER: "russianLower";
readonly RUSSIAN_UPPER: "russianUpper";
readonly NONE: "none";
readonly NUMBER_IN_DASH: "numberInDash";
readonly HEBREW_1: "hebrew1";
readonly HEBREW_2: "hebrew2";
readonly ARABIC_ALPHA: "arabicAlpha";
readonly ARABIC_ABJAD: "arabicAbjad";
readonly HINDI_VOWELS: "hindiVowels";
readonly HINDI_CONSONANTS: "hindiConsonants";
readonly HINDI_NUMBERS: "hindiNumbers";
readonly HINDI_COUNTING: "hindiCounting";
readonly THAI_LETTERS: "thaiLetters";
readonly THAI_NUMBERS: "thaiNumbers";
readonly THAI_COUNTING: "thaiCounting";
readonly BAHT_TEXT: "bahtText";
readonly DOLLAR_TEXT: "dollarText";
};

@@ -1,4 +0,4 @@

export declare enum SpaceType {
DEFAULT = "default",
PRESERVE = "preserve"
}
export declare const SpaceType: {
readonly DEFAULT: "default";
readonly PRESERVE: "preserve";
};

@@ -17,16 +17,16 @@ import { IBorderOptions } from '../../border';

}
export declare enum VerticalMergeType {
CONTINUE = "continue",
RESTART = "restart"
}
export declare const VerticalMergeType: {
readonly CONTINUE: "continue";
readonly RESTART: "restart";
};
export declare class VerticalMerge extends XmlComponent {
constructor(value: VerticalMergeType);
constructor(value: (typeof VerticalMergeType)[keyof typeof VerticalMergeType]);
}
export declare enum TextDirection {
BOTTOM_TO_TOP_LEFT_TO_RIGHT = "btLr",
LEFT_TO_RIGHT_TOP_TO_BOTTOM = "lrTb",
TOP_TO_BOTTOM_RIGHT_TO_LEFT = "tbRl"
}
export declare const TextDirection: {
readonly BOTTOM_TO_TOP_LEFT_TO_RIGHT: "btLr";
readonly LEFT_TO_RIGHT_TOP_TO_BOTTOM: "lrTb";
readonly TOP_TO_BOTTOM_RIGHT_TO_LEFT: "tbRl";
};
export declare class TDirection extends XmlComponent {
constructor(value: TextDirection);
constructor(value: (typeof TextDirection)[keyof typeof TextDirection]);
}

@@ -10,5 +10,5 @@ import { VerticalAlign } from '../../vertical-align';

readonly margins?: ITableCellMarginOptions;
readonly verticalAlign?: VerticalAlign;
readonly textDirection?: TextDirection;
readonly verticalMerge?: VerticalMergeType;
readonly verticalAlign?: (typeof VerticalAlign)[keyof typeof VerticalAlign];
readonly textDirection?: (typeof TextDirection)[keyof typeof TextDirection];
readonly verticalMerge?: (typeof VerticalMergeType)[keyof typeof VerticalMergeType];
readonly width?: ITableWidthProperties;

@@ -15,0 +15,0 @@ readonly columnSpan?: number;

@@ -1,2 +0,2 @@

import { BorderStyle, IBorderOptions } from '../../border';
import { IBorderOptions } from '../../border';
import { XmlComponent } from '../../xml-components';

@@ -14,3 +14,3 @@ export interface ITableBordersOptions {

top: {
style: BorderStyle;
style: "none";
size: number;

@@ -20,3 +20,3 @@ color: string;

bottom: {
style: BorderStyle;
style: "none";
size: number;

@@ -26,3 +26,3 @@ color: string;

left: {
style: BorderStyle;
style: "none";
size: number;

@@ -32,3 +32,3 @@ color: string;

right: {
style: BorderStyle;
style: "none";
size: number;

@@ -38,3 +38,3 @@ color: string;

insideHorizontal: {
style: BorderStyle;
style: "none";
size: number;

@@ -44,3 +44,3 @@ color: string;

insideVertical: {
style: BorderStyle;
style: "none";
size: number;

@@ -47,0 +47,0 @@ color: string;

import { IgnoreIfEmptyXmlComponent } from '../../xml-components';
import { WidthType } from "../table-width";
import { WidthType } from '../../table';
export interface ITableCellMarginOptions {
readonly marginUnitType?: WidthType;
readonly marginUnitType?: (typeof WidthType)[keyof typeof WidthType];
readonly top?: number;

@@ -10,8 +10,8 @@ readonly bottom?: number;

}
export declare enum TableCellMarginElementType {
TABLE = "w:tblCellMar",
TABLE_CELL = "w:tcMar"
}
export declare const TableCellMarginElementType: {
readonly TABLE: "w:tblCellMar";
readonly TABLE_CELL: "w:tcMar";
};
export declare class TableCellMargin extends IgnoreIfEmptyXmlComponent {
constructor(type: TableCellMarginElementType, { marginUnitType, top, left, bottom, right }: ITableCellMarginOptions);
constructor(type: (typeof TableCellMarginElementType)[keyof typeof TableCellMarginElementType], { marginUnitType, top, left, bottom, right }: ITableCellMarginOptions);
}
import { XmlComponent } from '../../xml-components';
import { PositiveUniversalMeasure, UniversalMeasure } from '../../../util/values';
export declare enum TableAnchorType {
MARGIN = "margin",
PAGE = "page",
TEXT = "text"
}
export declare enum RelativeHorizontalPosition {
CENTER = "center",
INSIDE = "inside",
LEFT = "left",
OUTSIDE = "outside",
RIGHT = "right"
}
export declare enum RelativeVerticalPosition {
CENTER = "center",
INSIDE = "inside",
BOTTOM = "bottom",
OUTSIDE = "outside",
INLINE = "inline",
TOP = "top"
}
export declare enum OverlapType {
NEVER = "never",
OVERLAP = "overlap"
}
export declare const TableAnchorType: {
readonly MARGIN: "margin";
readonly PAGE: "page";
readonly TEXT: "text";
};
export declare const RelativeHorizontalPosition: {
readonly CENTER: "center";
readonly INSIDE: "inside";
readonly LEFT: "left";
readonly OUTSIDE: "outside";
readonly RIGHT: "right";
};
export declare const RelativeVerticalPosition: {
readonly CENTER: "center";
readonly INSIDE: "inside";
readonly BOTTOM: "bottom";
readonly OUTSIDE: "outside";
readonly INLINE: "inline";
readonly TOP: "top";
};
export declare const OverlapType: {
readonly NEVER: "never";
readonly OVERLAP: "overlap";
};
export type ITableFloatOptions = {
readonly horizontalAnchor?: TableAnchorType;
readonly horizontalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
readonly absoluteHorizontalPosition?: number | UniversalMeasure;
readonly relativeHorizontalPosition?: RelativeHorizontalPosition;
readonly verticalAnchor?: TableAnchorType;
readonly relativeHorizontalPosition?: (typeof RelativeHorizontalPosition)[keyof typeof RelativeHorizontalPosition];
readonly verticalAnchor?: (typeof TableAnchorType)[keyof typeof TableAnchorType];
readonly absoluteVerticalPosition?: number | UniversalMeasure;
readonly relativeVerticalPosition?: RelativeVerticalPosition;
readonly relativeVerticalPosition?: (typeof RelativeVerticalPosition)[keyof typeof RelativeVerticalPosition];
readonly bottomFromText?: number | PositiveUniversalMeasure;

@@ -38,3 +38,3 @@ readonly topFromText?: number | PositiveUniversalMeasure;

readonly rightFromText?: number | PositiveUniversalMeasure;
readonly overlap?: OverlapType;
readonly overlap?: (typeof OverlapType)[keyof typeof OverlapType];
};

@@ -41,0 +41,0 @@ export declare class TableFloatProperties extends XmlComponent {

import { XmlComponent } from '../../xml-components';
export declare enum TableLayoutType {
AUTOFIT = "autofit",
FIXED = "fixed"
}
export declare const TableLayoutType: {
readonly AUTOFIT: "autofit";
readonly FIXED: "fixed";
};
export declare class TableLayout extends XmlComponent {
constructor(type: TableLayoutType);
constructor(type: (typeof TableLayoutType)[keyof typeof TableLayoutType]);
}

@@ -12,3 +12,3 @@ import { IgnoreIfEmptyXmlComponent } from '../../xml-components';

readonly indent?: ITableWidthProperties;
readonly layout?: TableLayoutType;
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
readonly borders?: ITableBordersOptions;

@@ -18,3 +18,3 @@ readonly float?: ITableFloatOptions;

readonly style?: string;
readonly alignment?: AlignmentType;
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
readonly cellMargin?: ITableCellMarginOptions;

@@ -21,0 +21,0 @@ readonly visuallyRightToLeft?: boolean;

import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
import { PositiveUniversalMeasure } from '../../../util/values';
export declare enum HeightRule {
AUTO = "auto",
ATLEAST = "atLeast",
EXACT = "exact"
}
export declare const HeightRule: {
readonly AUTO: "auto";
readonly ATLEAST: "atLeast";
readonly EXACT: "exact";
};
export declare class TableRowHeightAttributes extends XmlAttributeComponent<{
readonly value: number | string;
readonly rule: HeightRule;
readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
}> {

@@ -18,3 +18,3 @@ protected readonly xmlKeys: {

export declare class TableRowHeight extends XmlComponent {
constructor(value: number | PositiveUniversalMeasure, rule: HeightRule);
constructor(value: number | PositiveUniversalMeasure, rule: (typeof HeightRule)[keyof typeof HeightRule]);
}

@@ -9,3 +9,3 @@ import { IgnoreIfEmptyXmlComponent } from '../../xml-components';

readonly value: number | PositiveUniversalMeasure;
readonly rule: HeightRule;
readonly rule: (typeof HeightRule)[keyof typeof HeightRule];
};

@@ -12,0 +12,0 @@ }

import { XmlComponent } from '../xml-components';
import { Percentage, UniversalMeasure } from '../../util/values';
export declare enum WidthType {
AUTO = "auto",
DXA = "dxa",
NIL = "nil",
PERCENTAGE = "pct"
}
export declare const WidthType: {
readonly AUTO: "auto";
readonly DXA: "dxa";
readonly NIL: "nil";
readonly PERCENTAGE: "pct";
};
export type ITableWidthProperties = {
readonly size: number | Percentage | UniversalMeasure;
readonly type?: WidthType;
readonly type?: (typeof WidthType)[keyof typeof WidthType];
};

@@ -13,0 +13,0 @@ export declare class TableWidthElement extends XmlComponent {

@@ -15,6 +15,6 @@ import { FileChild } from '../file-child';

readonly float?: ITableFloatOptions;
readonly layout?: TableLayoutType;
readonly layout?: (typeof TableLayoutType)[keyof typeof TableLayoutType];
readonly style?: string;
readonly borders?: ITableBordersOptions;
readonly alignment?: AlignmentType;
readonly alignment?: (typeof AlignmentType)[keyof typeof AlignmentType];
readonly visuallyRightToLeft?: boolean;

@@ -21,0 +21,0 @@ }

import { XmlAttributeComponent, XmlComponent } from '../xml-components';
export declare enum VerticalAlign {
BOTTOM = "bottom",
CENTER = "center",
TOP = "top"
}
export declare const VerticalAlign: {
readonly BOTTOM: "bottom";
readonly CENTER: "center";
readonly TOP: "top";
};
export declare class VerticalAlignAttributes extends XmlAttributeComponent<{
readonly verticalAlign?: VerticalAlign;
readonly verticalAlign?: (typeof VerticalAlign)[keyof typeof VerticalAlign];
}> {

@@ -15,3 +15,3 @@ protected readonly xmlKeys: {

export declare class VerticalAlignElement extends XmlComponent {
constructor(value: VerticalAlign);
constructor(value: (typeof VerticalAlign)[keyof typeof VerticalAlign]);
}

@@ -6,12 +6,12 @@ /// <reference types="node" />

type InputDataType = Buffer | string | number[] | Uint8Array | ArrayBuffer | Blob | NodeJS.ReadableStream;
export declare enum PatchType {
DOCUMENT = "file",
PARAGRAPH = "paragraph"
}
export declare const PatchType: {
readonly DOCUMENT: "file";
readonly PARAGRAPH: "paragraph";
};
type ParagraphPatch = {
readonly type: PatchType.PARAGRAPH;
readonly type: typeof PatchType.PARAGRAPH;
readonly children: readonly ParagraphChild[];
};
type FilePatch = {
readonly type: PatchType.DOCUMENT;
readonly type: typeof PatchType.DOCUMENT;
readonly children: readonly FileChild[];

@@ -18,0 +18,0 @@ };

import { Element } from "xml-js";
import { RelationshipType, TargetModeType } from '../file/relationships/relationship/relationship';
export declare const getNextRelationshipIndex: (relationships: Element) => number;
export declare const appendRelationship: (relationships: Element, id: number | string, type: RelationshipType, target: string, targetMode?: TargetModeType) => readonly Element[];
export declare const appendRelationship: (relationships: Element, id: number | string, type: RelationshipType, target: string, targetMode?: (typeof TargetModeType)[keyof typeof TargetModeType]) => readonly Element[];
{
"name": "docx",
"version": "8.2.4",
"version": "8.3.0",
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",

@@ -27,3 +27,3 @@ "type": "module",

"predemo": "npm run build",
"demo": "ts-node --project demo/tsconfig.json ./demo/index.ts",
"demo": "tsx ./demo/index.ts",
"typedoc": "typedoc src/index.ts --tsconfig tsconfig.typedoc.json",

@@ -34,4 +34,4 @@ "style": "prettier -l \"{src,scripts,demo}/**/*.{ts,html}\"",

"serve.docs": "cd docs && docsify serve",
"extract": "ts-node scripts/extract-document.ts",
"ts-node": "ts-node --project demo/tsconfig.json"
"extract": "tsx scripts/extract-document.ts",
"run-ts": "tsx"
},

@@ -61,3 +61,3 @@ "pre-commit": [

"jszip": "^3.10.1",
"nanoid": "^4.0.2",
"nanoid": "^5.0.4",
"xml": "^1.0.1",

@@ -79,3 +79,3 @@ "xml-js": "^1.6.8"

"@typescript-eslint/parser": "^6.9.1",
"@vitest/coverage-v8": "^0.33.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.33.0",

@@ -85,3 +85,3 @@ "cspell": "^7.3.8",

"eslint": "^8.23.0",
"eslint-plugin-functional": "^5.0.8",
"eslint-plugin-functional": "^6.0.0",
"eslint-plugin-import": "^2.26.0",

@@ -91,3 +91,3 @@ "eslint-plugin-jsdoc": "^46.2.6",

"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-unicorn": "^48.0.1",
"eslint-plugin-unicorn": "^50.0.1",
"execa": "^8.0.1",

@@ -99,8 +99,8 @@ "glob": "^10.2.7",

"prettier": "^3.0.0",
"ts-node": "^10.2.1",
"tsconfig-paths": "^4.0.0",
"tsx": "^4.7.0",
"typedoc": "^0.24.8",
"typescript": "5.1.6",
"unzipper": "^0.10.11",
"vite": "^4.3.2",
"vite": "^5.0.10",
"vite-plugin-dts": "^3.3.1",

@@ -107,0 +107,0 @@ "vite-plugin-node-polyfills": "^0.9.0",

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc