diff --git a/docs/classes/break.Break.html b/docs/classes/break.Break.html index a84f3dc..40ca2a0 100644 --- a/docs/classes/break.Break.html +++ b/docs/classes/break.Break.html @@ -1,10 +1,10 @@ -Break | @cto.af/linebreak

Constructors

constructor +Break | @cto.af/linebreak

Constructors

Properties

Constructors

  • Parameters

    • position: number
    • Optional required: boolean = false

    Returns Break

Properties

position: number

Offset into input string in JS characters (16bit code units).

-
props: undefined | Record<string, any> = undefined

Extra info from plugin rules.

-
required: boolean

Is this a required break?

-
string: undefined | string = undefined

If the string option is enabled, a slice of the original input.

-

Generated using TypeDoc

\ No newline at end of file +

Constructors

  • Parameters

    • position: number
    • Optional required: boolean = false

    Returns Break

Properties

position: number

Offset into input string in JS characters (16bit code units).

+
props: undefined | Record<string, any> = undefined

Extra info from plugin rules.

+
required: boolean

Is this a required break?

+
string: undefined | string = undefined

If the string option is enabled, a slice of the original input.

+

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/index.Rules.html b/docs/classes/index.Rules.html index 3ec316c..d989634 100644 --- a/docs/classes/index.Rules.html +++ b/docs/classes/index.Rules.html @@ -1,5 +1,5 @@ Rules | @cto.af/linebreak

Options for how rules are applied.

-

Constructors

Constructors

Properties

Methods

#exec @@ -9,17 +9,17 @@ breaks removeRule replaceRule -

Constructors

Properties

#opts: {
    example7: boolean;
    string: boolean;
    verbose: boolean;
}

Type declaration

  • example7: boolean
  • string: boolean
  • verbose: boolean
rules: BreakRule[]

Copy of rules, safe to tweak.

-

Methods

  • Add rules after the one named name.

    +

Constructors

Properties

#opts: {
    example7: boolean;
    string: boolean;
    verbose: boolean;
}

Type declaration

  • example7: boolean
  • string: boolean
  • verbose: boolean
rules: BreakRule[]

Copy of rules, safe to tweak.

+

Methods

  • Add rules after the one named name.

    Parameters

    • name: string

      The name of the rule before.

    • Rest ...newRules: BreakRule[]

    Returns number

    Index of start of the new rules

    -
  • Add rules before the one named name.

    +
  • Add rules before the one named name.

    Parameters

    • name: string

      The name of the rule before.

    • Rest ...newRules: BreakRule[]

    Returns number

    Index of start of the new rules

    -
  • Enumerate all of the potential line breaks.

    -

    Parameters

    • str: string

    Returns Generator<Break, void, unknown>

  • Enumerate all of the potential line breaks.

    +

    Parameters

    • str: string

    Returns Generator<Break, void, unknown>

  • Remove the rules with names as indicated.

    Parameters

    • Rest ...names: string[]

    Returns BreakRule[]

    The deleted rules

    -
  • Replace the rule named name with the given rules.

    +
  • Replace the rule named name with the given rules.

    Parameters

    • name: string

      The name of the rule before.

    • Rest ...newRules: BreakRule[]

    Returns BreakRule[]

    The replaced rules.

    -

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/state.BreakerChar.html b/docs/classes/state.BreakerChar.html index 9820d77..f58a839 100644 --- a/docs/classes/state.BreakerChar.html +++ b/docs/classes/state.BreakerChar.html @@ -1,14 +1,14 @@ BreakerChar | @cto.af/linebreak

Information about a particular input character.

-

Constructors

Constructors

Properties

Constructors

Properties

char: string = ""

The character. Might be one or two UTF-16 JS characters.

-
cls: number = sot

Line breaking class, or sot or eot.

-
cp: number = -Infinity

Code point

-
ignored: boolean = false

If true, this is an LB9 CM or ZWJ that is treated as coalesced into +

Constructors

Properties

char: string = ""

The character. Might be one or two UTF-16 JS characters.

+
cls: number = sot

Line breaking class, or sot or eot.

+
cp: number = -Infinity

Code point

+
ignored: boolean = false

If true, this is an LB9 CM or ZWJ that is treated as coalesced into the previous code point.

-
len: number = 0

The length of the whole string up to and including char, in JS chars.

-

Generated using TypeDoc

\ No newline at end of file +
len: number = 0

The length of the whole string up to and including char, in JS chars.

+

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/state.BreakerState.html b/docs/classes/state.BreakerState.html index 31efafb..beaea71 100644 --- a/docs/classes/state.BreakerState.html +++ b/docs/classes/state.BreakerState.html @@ -1,4 +1,4 @@ -BreakerState | @cto.af/linebreak

Class BreakerStatePrivate

Constructors

constructor +BreakerState | @cto.af/linebreak

Class BreakerStatePrivate

Constructors

Properties

LB8 RI cur @@ -17,13 +17,13 @@ push pushEnd setProp -

Constructors

Properties

LB8: boolean = false
RI: number = 0
cur: BreakerChar = ...
ex7pos: null | number = null
extra: Record<string, any> = {}

Extra state information, for use by tailoring subclasses.

-
len: number = 0
next: BreakerChar = ...
prev: BreakerChar = ...
prevChunk: number = 0
props: undefined | Record<string, any> = undefined

Extra properties, to be copied to Break when created.

-
spaces: boolean = false
str: string = ""

Methods

  • Look ahead in the string to see what the next linebreak class is after zero +

Constructors

Properties

LB8: boolean = false
RI: number = 0
cur: BreakerChar = ...
ex7pos: null | number = null
extra: Record<string, any> = {}

Extra state information, for use by tailoring subclasses.

+
len: number = 0
next: BreakerChar = ...
prev: BreakerChar = ...
prevChunk: number = 0
props: undefined | Record<string, any> = undefined

Extra properties, to be copied to Break when created.

+
spaces: boolean = false
str: string = ""

Methods

  • Look ahead in the string to see what the next linebreak class is after zero or more spaces, starting at JS char offset pos.

    -

    Parameters

    • pos: number

    Returns number

  • Iterate over the codepoints in the string, starting at pos.

    -

    Parameters

    • pos: number

    Returns Generator<BreakerChar, void, unknown>

  • Set some extra information in the state that will be passed to +

    Parameters

    • pos: number

    Returns number

  • Iterate over the codepoints in the string, starting at pos.

    +

    Parameters

    • pos: number

    Returns Generator<BreakerChar, void, unknown>

  • Set some extra information in the state that will be passed to the next created Break.

    -

    Parameters

    • key: string
    • value: any

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.Example7_13.html b/docs/functions/index.Example7_13.html index d1ddc07..3c53e9b 100644 --- a/docs/functions/index.Example7_13.html +++ b/docs/functions/index.Example7_13.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.Example7_25.html b/docs/functions/index.Example7_25.html index 6f2532a..c4b6eb4 100644 --- a/docs/functions/index.Example7_25.html +++ b/docs/functions/index.Example7_25.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB02.html b/docs/functions/index.LB02.html index 872e083..9fd64af 100644 --- a/docs/functions/index.LB02.html +++ b/docs/functions/index.LB02.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB03.html b/docs/functions/index.LB03.html index e3dd1f6..ea75d2a 100644 --- a/docs/functions/index.LB03.html +++ b/docs/functions/index.LB03.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB04.html b/docs/functions/index.LB04.html index b3ce7c8..f89efd0 100644 --- a/docs/functions/index.LB04.html +++ b/docs/functions/index.LB04.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB05.html b/docs/functions/index.LB05.html index 7db5b8d..5c831c3 100644 --- a/docs/functions/index.LB05.html +++ b/docs/functions/index.LB05.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB06.html b/docs/functions/index.LB06.html index d262947..79e2e51 100644 --- a/docs/functions/index.LB06.html +++ b/docs/functions/index.LB06.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB07.html b/docs/functions/index.LB07.html index 9f67520..5f7a9c1 100644 --- a/docs/functions/index.LB07.html +++ b/docs/functions/index.LB07.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB08.html b/docs/functions/index.LB08.html index 9db14c5..e1e3bd6 100644 --- a/docs/functions/index.LB08.html +++ b/docs/functions/index.LB08.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB08a.html b/docs/functions/index.LB08a.html index 612d4ec..67597ce 100644 --- a/docs/functions/index.LB08a.html +++ b/docs/functions/index.LB08a.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB09.html b/docs/functions/index.LB09.html index bd40cbf..946e116 100644 --- a/docs/functions/index.LB09.html +++ b/docs/functions/index.LB09.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB10.html b/docs/functions/index.LB10.html index 13ba117..0993a7b 100644 --- a/docs/functions/index.LB10.html +++ b/docs/functions/index.LB10.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB11.html b/docs/functions/index.LB11.html index 609d61b..382d40f 100644 --- a/docs/functions/index.LB11.html +++ b/docs/functions/index.LB11.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB12.html b/docs/functions/index.LB12.html index 259d706..8969318 100644 --- a/docs/functions/index.LB12.html +++ b/docs/functions/index.LB12.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB12a.html b/docs/functions/index.LB12a.html index 91f0813..487addf 100644 --- a/docs/functions/index.LB12a.html +++ b/docs/functions/index.LB12a.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB13.html b/docs/functions/index.LB13.html index 68a9442..42fe457 100644 --- a/docs/functions/index.LB13.html +++ b/docs/functions/index.LB13.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB14.html b/docs/functions/index.LB14.html index 5534fa2..0b0bcdf 100644 --- a/docs/functions/index.LB14.html +++ b/docs/functions/index.LB14.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB15a.html b/docs/functions/index.LB15a.html index 632a65b..e4bb1e7 100644 --- a/docs/functions/index.LB15a.html +++ b/docs/functions/index.LB15a.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB15b.html b/docs/functions/index.LB15b.html index 233e1ac..4422452 100644 --- a/docs/functions/index.LB15b.html +++ b/docs/functions/index.LB15b.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB16.html b/docs/functions/index.LB16.html index e116db3..41fcfd7 100644 --- a/docs/functions/index.LB16.html +++ b/docs/functions/index.LB16.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB17.html b/docs/functions/index.LB17.html index efbcb00..490c234 100644 --- a/docs/functions/index.LB17.html +++ b/docs/functions/index.LB17.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB18.html b/docs/functions/index.LB18.html index 0464e98..a85e5ef 100644 --- a/docs/functions/index.LB18.html +++ b/docs/functions/index.LB18.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB19.html b/docs/functions/index.LB19.html index 2c1db17..f19dc28 100644 --- a/docs/functions/index.LB19.html +++ b/docs/functions/index.LB19.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB20.html b/docs/functions/index.LB20.html index 57fbd27..299b76b 100644 --- a/docs/functions/index.LB20.html +++ b/docs/functions/index.LB20.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB21.html b/docs/functions/index.LB21.html index bd45fc4..b3dc4a4 100644 --- a/docs/functions/index.LB21.html +++ b/docs/functions/index.LB21.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB21a.html b/docs/functions/index.LB21a.html index 0781bf6..38fab3a 100644 --- a/docs/functions/index.LB21a.html +++ b/docs/functions/index.LB21a.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB21b.html b/docs/functions/index.LB21b.html index 98cd8c0..e19dda4 100644 --- a/docs/functions/index.LB21b.html +++ b/docs/functions/index.LB21b.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB22.html b/docs/functions/index.LB22.html index fb09904..1355a8c 100644 --- a/docs/functions/index.LB22.html +++ b/docs/functions/index.LB22.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB23.html b/docs/functions/index.LB23.html index 316061b..24c00d4 100644 --- a/docs/functions/index.LB23.html +++ b/docs/functions/index.LB23.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB23a.html b/docs/functions/index.LB23a.html index 91244ce..2b67cb7 100644 --- a/docs/functions/index.LB23a.html +++ b/docs/functions/index.LB23a.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB24.html b/docs/functions/index.LB24.html index ffd69f9..172c379 100644 --- a/docs/functions/index.LB24.html +++ b/docs/functions/index.LB24.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB25.html b/docs/functions/index.LB25.html index 2896ab2..3d245c1 100644 --- a/docs/functions/index.LB25.html +++ b/docs/functions/index.LB25.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB26.html b/docs/functions/index.LB26.html index 2ea1336..e44d8c7 100644 --- a/docs/functions/index.LB26.html +++ b/docs/functions/index.LB26.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB27.html b/docs/functions/index.LB27.html index 786181f..bccc909 100644 --- a/docs/functions/index.LB27.html +++ b/docs/functions/index.LB27.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB28.html b/docs/functions/index.LB28.html index 8cad953..affddd6 100644 --- a/docs/functions/index.LB28.html +++ b/docs/functions/index.LB28.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB28a.html b/docs/functions/index.LB28a.html index e3beaba..9bb3152 100644 --- a/docs/functions/index.LB28a.html +++ b/docs/functions/index.LB28a.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB29.html b/docs/functions/index.LB29.html index f542f42..c40d402 100644 --- a/docs/functions/index.LB29.html +++ b/docs/functions/index.LB29.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB30.html b/docs/functions/index.LB30.html index 18d0efb..34c3e44 100644 --- a/docs/functions/index.LB30.html +++ b/docs/functions/index.LB30.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB30a.html b/docs/functions/index.LB30a.html index 42b075e..8e02f74 100644 --- a/docs/functions/index.LB30a.html +++ b/docs/functions/index.LB30a.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB30b.html b/docs/functions/index.LB30b.html index de79841..434e6cd 100644 --- a/docs/functions/index.LB30b.html +++ b/docs/functions/index.LB30b.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LB31.html b/docs/functions/index.LB31.html index 1bedbc1..f955d4d 100644 --- a/docs/functions/index.LB31.html +++ b/docs/functions/index.LB31.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/index.LBspacesStop.html b/docs/functions/index.LBspacesStop.html index 97b04bb..3041ba8 100644 --- a/docs/functions/index.LBspacesStop.html +++ b/docs/functions/index.LBspacesStop.html @@ -2,4 +2,4 @@ is fast, using state.prev and state.next respectively. Looking ahead more code points is possible with *BreakerState.codePoints(), but be careful of causing ReDos vulnerabilities.

-

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns typeof PASS | typeof NO_BREAK | typeof MAY_BREAK | typeof MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/state.resolve.html b/docs/functions/state.resolve.html index d83f17b..9e085be 100644 --- a/docs/functions/state.resolve.html +++ b/docs/functions/state.resolve.html @@ -1,4 +1,4 @@ resolve | @cto.af/linebreak
  • LB1: Assign a line breaking class to each code point of the input. Resolve AI, CB, CJ, SA, SG, and XX into other line breaking classes depending on criteria outside the scope of this algorithm.

    -

    Parameters

    • cls: number
    • char: string

    Returns number

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/index.RulesOptions.html b/docs/interfaces/index.RulesOptions.html index a3806dc..595a44e 100644 --- a/docs/interfaces/index.RulesOptions.html +++ b/docs/interfaces/index.RulesOptions.html @@ -1,10 +1,10 @@ -RulesOptions | @cto.af/linebreak
interface RulesOptions {
    example7: undefined | boolean;
    string: undefined | boolean;
    verbose: undefined | boolean;
}

Properties

example7 +RulesOptions | @cto.af/linebreak
interface RulesOptions {
    example7: undefined | boolean;
    string: undefined | boolean;
    verbose: undefined | boolean;
}

Properties

example7: undefined | boolean

Use the extra rules for numbers from Example 7. Set to true for running the conformance tests.

-
string: undefined | boolean

Extract strings from input, rather than just +

string: undefined | boolean

Extract strings from input, rather than just returning char offsets.

-
verbose: undefined | boolean

Turn on some verbose logging that is +

verbose: undefined | boolean

Turn on some verbose logging that is useful for debug.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/EastAsianWidth.html b/docs/modules/EastAsianWidth.html index 6106340..7ab83ae 100644 --- a/docs/modules/EastAsianWidth.html +++ b/docs/modules/EastAsianWidth.html @@ -1,4 +1,4 @@ -EastAsianWidth | @cto.af/linebreak

Module EastAsianWidth

Index

Variables

EastAsianWidth +EastAsianWidth | @cto.af/linebreak

Module EastAsianWidth

Index

Variables

EastAsianWidth generatedDate inputFileDate names diff --git a/docs/modules/LineBreak.html b/docs/modules/LineBreak.html index b59f179..8ebbfd0 100644 --- a/docs/modules/LineBreak.html +++ b/docs/modules/LineBreak.html @@ -1,4 +1,4 @@ -LineBreak | @cto.af/linebreak

Index

Variables

LineBreak +LineBreak | @cto.af/linebreak

Index

Variables

LineBreak generatedDate inputFileDate names diff --git a/docs/modules/break.html b/docs/modules/break.html index 9a550c9..eb12b43 100644 --- a/docs/modules/break.html +++ b/docs/modules/break.html @@ -1,2 +1,2 @@ -break | @cto.af/linebreak

Index

Classes

Break +break | @cto.af/linebreak

Index

Classes

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/index.html b/docs/modules/index.html index 89d8189..ae26eca 100644 --- a/docs/modules/index.html +++ b/docs/modules/index.html @@ -1,4 +1,4 @@ -index | @cto.af/linebreak

References

Break +index | @cto.af/linebreak

References

Break BreakerState EastAsianWidth LineBreak diff --git a/docs/modules/state.html b/docs/modules/state.html index ff50c2f..5aa6361 100644 --- a/docs/modules/state.html +++ b/docs/modules/state.html @@ -1,4 +1,4 @@ -state | @cto.af/linebreak

Index

Classes

BreakerChar +state | @cto.af/linebreak

Index

Classes

Variables

eot sot diff --git a/docs/types/index.BreakRule.html b/docs/types/index.BreakRule.html index faae404..f6d31db 100644 --- a/docs/types/index.BreakRule.html +++ b/docs/types/index.BreakRule.html @@ -1 +1 @@ -BreakRule | @cto.af/linebreak
BreakRule: ((state) => PASS | NO_BREAK | MAY_BREAK | MUST_BREAK)

Type declaration

    • (state): PASS | NO_BREAK | MAY_BREAK | MUST_BREAK
    • Parameters

      Returns PASS | NO_BREAK | MAY_BREAK | MUST_BREAK

Generated using TypeDoc

\ No newline at end of file +BreakRule | @cto.af/linebreak
BreakRule: ((state) => PASS | NO_BREAK | MAY_BREAK | MUST_BREAK)

Type declaration

    • (state): PASS | NO_BREAK | MAY_BREAK | MUST_BREAK
    • Parameters

      Returns PASS | NO_BREAK | MAY_BREAK | MUST_BREAK

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/EastAsianWidth.EastAsianWidth.html b/docs/variables/EastAsianWidth.EastAsianWidth.html index 1be3191..2e4fa96 100644 --- a/docs/variables/EastAsianWidth.EastAsianWidth.html +++ b/docs/variables/EastAsianWidth.EastAsianWidth.html @@ -1 +1 @@ -EastAsianWidth | @cto.af/linebreak
EastAsianWidth: UnicodeTrie = ...

Generated using TypeDoc

\ No newline at end of file +EastAsianWidth | @cto.af/linebreak
EastAsianWidth: UnicodeTrie = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/EastAsianWidth.generatedDate.html b/docs/variables/EastAsianWidth.generatedDate.html index 6689be4..2c071e1 100644 --- a/docs/variables/EastAsianWidth.generatedDate.html +++ b/docs/variables/EastAsianWidth.generatedDate.html @@ -1 +1 @@ -generatedDate | @cto.af/linebreak
generatedDate: Date = ...

Generated using TypeDoc

\ No newline at end of file +generatedDate | @cto.af/linebreak
generatedDate: Date = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/EastAsianWidth.inputFileDate.html b/docs/variables/EastAsianWidth.inputFileDate.html index ef85d45..978bfa1 100644 --- a/docs/variables/EastAsianWidth.inputFileDate.html +++ b/docs/variables/EastAsianWidth.inputFileDate.html @@ -1 +1 @@ -inputFileDate | @cto.af/linebreak
inputFileDate: Date = ...

Generated using TypeDoc

\ No newline at end of file +inputFileDate | @cto.af/linebreak
inputFileDate: Date = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/EastAsianWidth.names.html b/docs/variables/EastAsianWidth.names.html index ff10c18..166a577 100644 --- a/docs/variables/EastAsianWidth.names.html +++ b/docs/variables/EastAsianWidth.names.html @@ -1 +1 @@ -names | @cto.af/linebreak
names: Record<string, number> = ...

Generated using TypeDoc

\ No newline at end of file +names | @cto.af/linebreak
names: Record<string, number> = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/EastAsianWidth.values.html b/docs/variables/EastAsianWidth.values.html index 94958b1..aa90109 100644 --- a/docs/variables/EastAsianWidth.values.html +++ b/docs/variables/EastAsianWidth.values.html @@ -1 +1 @@ -values | @cto.af/linebreak
values: string[]

Generated using TypeDoc

\ No newline at end of file +values | @cto.af/linebreak
values: string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/EastAsianWidth.version.html b/docs/variables/EastAsianWidth.version.html index 67c8f47..a558f00 100644 --- a/docs/variables/EastAsianWidth.version.html +++ b/docs/variables/EastAsianWidth.version.html @@ -1 +1 @@ -version | @cto.af/linebreak
version: "15.1.0" = "15.1.0"

Generated using TypeDoc

\ No newline at end of file +version | @cto.af/linebreak
version: "15.1.0" = "15.1.0"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/LineBreak.LineBreak.html b/docs/variables/LineBreak.LineBreak.html index 2ef3c2a..cd370f9 100644 --- a/docs/variables/LineBreak.LineBreak.html +++ b/docs/variables/LineBreak.LineBreak.html @@ -1 +1 @@ -LineBreak | @cto.af/linebreak

Variable LineBreakConst

LineBreak: UnicodeTrie = ...

Generated using TypeDoc

\ No newline at end of file +LineBreak | @cto.af/linebreak

Variable LineBreakConst

LineBreak: UnicodeTrie = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/LineBreak.generatedDate.html b/docs/variables/LineBreak.generatedDate.html index 29f7717..dd3b892 100644 --- a/docs/variables/LineBreak.generatedDate.html +++ b/docs/variables/LineBreak.generatedDate.html @@ -1 +1 @@ -generatedDate | @cto.af/linebreak

Variable generatedDateConst

generatedDate: Date = ...

Generated using TypeDoc

\ No newline at end of file +generatedDate | @cto.af/linebreak

Variable generatedDateConst

generatedDate: Date = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/LineBreak.inputFileDate.html b/docs/variables/LineBreak.inputFileDate.html index 297619f..8fa05e5 100644 --- a/docs/variables/LineBreak.inputFileDate.html +++ b/docs/variables/LineBreak.inputFileDate.html @@ -1 +1 @@ -inputFileDate | @cto.af/linebreak

Variable inputFileDateConst

inputFileDate: Date = ...

Generated using TypeDoc

\ No newline at end of file +inputFileDate | @cto.af/linebreak

Variable inputFileDateConst

inputFileDate: Date = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/LineBreak.names.html b/docs/variables/LineBreak.names.html index eff09f5..d58b5d5 100644 --- a/docs/variables/LineBreak.names.html +++ b/docs/variables/LineBreak.names.html @@ -1 +1 @@ -names | @cto.af/linebreak
names: Record<string, number> = ...

Generated using TypeDoc

\ No newline at end of file +names | @cto.af/linebreak
names: Record<string, number> = ...

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/LineBreak.values.html b/docs/variables/LineBreak.values.html index c296367..70b850e 100644 --- a/docs/variables/LineBreak.values.html +++ b/docs/variables/LineBreak.values.html @@ -1 +1 @@ -values | @cto.af/linebreak
values: string[]

Generated using TypeDoc

\ No newline at end of file +values | @cto.af/linebreak
values: string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/LineBreak.version.html b/docs/variables/LineBreak.version.html index ad55c8f..94da7bd 100644 --- a/docs/variables/LineBreak.version.html +++ b/docs/variables/LineBreak.version.html @@ -1 +1 @@ -version | @cto.af/linebreak

Variable versionConst

version: "15.1.0" = "15.1.0"

Generated using TypeDoc

\ No newline at end of file +version | @cto.af/linebreak

Variable versionConst

version: "15.1.0" = "15.1.0"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/index.MAY_BREAK.html b/docs/variables/index.MAY_BREAK.html index a082fe3..5db82b1 100644 --- a/docs/variables/index.MAY_BREAK.html +++ b/docs/variables/index.MAY_BREAK.html @@ -1,2 +1,2 @@ MAY_BREAK | @cto.af/linebreak

Variable MAY_BREAKConst

MAY_BREAK: typeof MAY_BREAK = ...

This rule asserts that there may be a break after the current code point.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/index.MUST_BREAK.html b/docs/variables/index.MUST_BREAK.html index bff7b19..853b81d 100644 --- a/docs/variables/index.MUST_BREAK.html +++ b/docs/variables/index.MUST_BREAK.html @@ -1,2 +1,2 @@ MUST_BREAK | @cto.af/linebreak

Variable MUST_BREAKConst

MUST_BREAK: typeof MUST_BREAK = ...

This rule asserts that there must be a line break after the current code point.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/index.NO_BREAK.html b/docs/variables/index.NO_BREAK.html index 426d212..7544e2b 100644 --- a/docs/variables/index.NO_BREAK.html +++ b/docs/variables/index.NO_BREAK.html @@ -1,3 +1,3 @@ NO_BREAK | @cto.af/linebreak

Variable NO_BREAKConst

NO_BREAK: typeof NO_BREAK = ...

This rule asserts that there must not be a break after the current code point.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/index.PASS.html b/docs/variables/index.PASS.html index 2a006c6..3e0cbcd 100644 --- a/docs/variables/index.PASS.html +++ b/docs/variables/index.PASS.html @@ -1,2 +1,2 @@ PASS | @cto.af/linebreak

Variable PASSConst

PASS: typeof PASS = ...

This rule has no opinion.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/state.eot.html b/docs/variables/state.eot.html index 4683ad2..3db9e2e 100644 --- a/docs/variables/state.eot.html +++ b/docs/variables/state.eot.html @@ -1 +1 @@ -eot | @cto.af/linebreak

Variable eotConst

eot: -2 = -2

Generated using TypeDoc

\ No newline at end of file +eot | @cto.af/linebreak

Variable eotConst

eot: -2 = -2

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/variables/state.sot.html b/docs/variables/state.sot.html index 64e448e..cc74360 100644 --- a/docs/variables/state.sot.html +++ b/docs/variables/state.sot.html @@ -1 +1 @@ -sot | @cto.af/linebreak

Variable sotConst

sot: -1 = -1

Generated using TypeDoc

\ No newline at end of file +sot | @cto.af/linebreak

Variable sotConst

sot: -1 = -1

Generated using TypeDoc

\ No newline at end of file diff --git a/lib/EastAsianWidth.js b/lib/EastAsianWidth.js index ac37f21..2926206 100644 --- a/lib/EastAsianWidth.js +++ b/lib/EastAsianWidth.js @@ -1,24 +1,24 @@ -import {Buffer} from "node:buffer"; import {UnicodeTrie} from "@cto.af/unicode-trie"; export const version = "15.1.0"; export const inputFileDate = new Date("2023-07-28T23:34:08.000Z"); -export const generatedDate = new Date("2024-03-06T21:06:04.051Z"); -export const EastAsianWidth = new UnicodeTrie(Buffer.from( - `AAAEAAAAAABQAgAAG99JMB6Jsa2CPeYryr2sfj99GygBKkJSf6IyVUDkyleXutZFVhEqYAoA - mJtrCtRv0ZrqSbitMeeLQiLoCh3hSuDeR5eMedj/slD10Y0R5iZ4+1ElV2MAzTz7ie96VxgM - BoNCIFAIDAKBQiFQGMxQI8EMpKCeSXI0syhuvoVSwY4LVLCPs8kIN7NFeMQnCP+GjwxUoAMj - WMEBrmOpccOHwuuBEDTEyKsphJvIPvu382JWAW5AzGWi59pyqq/JBkL7AAd6X0lutmWoXTK8 - jsjwhoAZJtQw4MSUXienlP8GngeVYoXLhKPpn04ds0TKLcS+/L9zzLE4iZ7Sb4+w85UVDsyg - 8c3APOBwzY6Po64NSwzM3jzeUfk3MNAepfJMo6KX2/yfptV2McXQ0c6pKaP7H0DHF9wCL2LA - VpoRrvPjw+JMsFaoUXSrAnX1xaZnLg2yNZtBrnpYAUeAA4EeR5pISE8+6yfznmtTJd4rBUSh - Ldz0MwSs1VWmteyH40rrGprQhSGL0EL41q07Vp3scFtX1QxMl6kCS6s6iRLFngIY4zQBuAm3 - iesqIJrwHuAuIdQEG3mAAXfFAnIa/rPEfFOMA1xncd81oA89/JMZ3XP+FLBSKg3FUOLPLpUA - u53UYL1UHlPJOKMn20b8A2OVN5LoVDAfwnL8t/KhRIdlBmjyhnoCxO2HJTDqLN2BuIRqOWjz - 3FoN8fSiXC6+0EnqSiK028ZajciD2V3UhLc0/o1FsII8qw3w1DgGjoNkBjrNMoxlu/GnvnVL - yNjUsU0v3smU+gsEgFsiTiIsIlkiXQM=`, - "base64" -)); +export const generatedDate = new Date("2024-03-07T04:49:31.912Z"); +export const EastAsianWidth = UnicodeTrie.fromBase64( + `AAAEAAAAAAD/////tQIAAB+LCABbR+llAgPtmj9IHzEUx8+fbam1FLoUCh1aaCl0cSoODgou + iougOAgu4iRO4iQiiDgoCoK4OYi66aabo5M4KKiToC7ioIPoIgjiN5qTeNz9LucvL8l57wcf + ksu/l7x7SV4uv+VSEKyCdbAJwucihUwy+wqsj2JwZLCtY3CWkHdRYdtX4FbG70F1dRB8AF/A + N/AD/Ab/QB0Q5f4jbJBxGzRLWW2WZHZATjhfu5V4lF7k7cp4P+KDsuxApM4wnkeVtHElPoW4 + qCvis2VkMQxjlrj9mWEYhmEYhmHyxrw8Ry5YPKPrskLQJ37nDMMw9ih5uLcwDOP3/Wcl32mp + WJP3OBsIN2PWtfBeR0Xc2WyBHQ/Wwc+1T0x/ckNTkJ3Fj0EwV/XEKeI/a17mt+J5MpIWZRv5 + NZAftuOCVg/kF3ptKfid6aHHfRP344//hSi4r3iiaaPnKHcJbjLa9EEOdHCXYAPBu/j095H0 + WjyLcX5F+D2mjtDDL6SL8C/C8H8bdYjXy3SxZzfKuEqTTGtB2A66wLXS5x6lTqeUHT734Xkg + YQwhtxr2vweG0M6fmP5FfaARlBkDE2AGzKfIfws+YJ4RdrVUqnqGf/wr8k/MAJfo9tGVXkyX + NfGOknTjajWjHH/Wtinsj1JvVPVMjq9cW7pyytWn0IHar7iyWeZNUn0K+6G2yTSdpOnN9Hrm + Ul+25z+FzaTZti/7P5UsX/ydPPhbPvXBlU5MyjPRlm3btS3D5VzPy3nIRf9tjL/S9tLOPjb0 + RpGvq2+dfIpx2/RpXM/71+g8qawPfn+S7Zn41kCxXvjwrYdC9mv8LVf7lYv57fM7dXmeoZRt + eu2n8hfz9C58PleZ3vts7tUuv/ln9Zd19l/dOWja93J5XnPh31Ptf76t8VTrsmn/3PSa8QCh + pJTR4EkAAB+LCABbR+llAgOLVvJT0lGKVIoFANHfAiwJAAAA` +); /** * @type {Record} diff --git a/lib/LineBreak.js b/lib/LineBreak.js index 34c2333..8eb7599 100644 --- a/lib/LineBreak.js +++ b/lib/LineBreak.js @@ -1,88 +1,108 @@ -import {Buffer} from "node:buffer"; import {UnicodeTrie} from "@cto.af/unicode-trie"; export const version = "15.1.0"; export const inputFileDate = new Date("2023-07-28T13:19:22.000Z"); -export const generatedDate = new Date("2024-03-06T21:06:04.165Z"); -export const LineBreak = new UnicodeTrie(Buffer.from( - `AAgOAAEAAAB3DwAAW28jEVFQ1RHVpIwYXxzYxo5Cf2JERe+7+CWdHQlm37uhtAN4KuxMJt47 - AJyIbrPYHHKV+HjVdLSrAD4Aok2YH0rkQZnn3DQu6toJICDBw/+v/aveYoLPf30CDicgDBrN - xtD80HFPBvQVs3zC83BCLGyRfYys0DWiwrXGV2gAUKayVs7vK5ygwgAOQBtDuLttwwF090/I - xRmZAp1cSodbthBbgMhRUtVI1YPQ82sX39sF+TMLQRAEQbAQBEFwEBwEB0EQHAQfrgMmBgTG - 7Fm16zTggAYPGeBOM1u4CJGiRJ0+81u1j+De93d4CxYhQZo8Zeq06TPSn4FFmw5cuPPmFaiA - QT9wQYOLFA3GAoBzBEmE1FeJFiMWHHgIEC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b9UyA/Zd/LZHcCGup0WUhefQFh6DYymcb8Gdykocpawb4joaifRDrge - Pktt34M6SFehH6EieoeHfw0sS/yFyMjvB0a0yNiydOaGXiot3dHodvE9h4b1O5uxpK77M2O2 - AtbaK2Ot2Hi1eqyxfxm7PmRmDQF0hB6MUfry9M+bautvbehP8YFtSN9U16oXAmbujqtz+FPP - 2U1wnccKu8e/XSLqS4YVZXmm0vBMSDl7xhSLHQ57i989IHYv8JHw7OXycwQPB43dFbn9ON10 - Yi4lAPa7SxOucIfvHXuxCwvgHM3ft0898ELPyoIvDxfx9IUyP5J5CFxdWzBrd1lQZFFu3oYd - fIFXNjWWYwKDvx9ZqLkoF0tdqlxPDewa+FspVpEQeVaZIqLzhVukmHqEbG7dMr9tlaUtlYrF - 4Y95AWIujwhRbGHMRymbrscklEGsdwsjgin7GQP/U7efv+wPh9jAEAMYYky9twMB/jF5yMMc - JBGPtGdyfGB1FV5fNPrvilyOQsRHFw9oW5lSqVytH02XXEqzNDFdZelwsaKYSWGn8xtstQ/v - eBAfrgolJO68ei9//B9PMtwyzG8H66bM9rDWsG4iplVcdRA1kk5MSccD9eZTG6omlwPNZNqK - nE3vGwKRe8zFwPTSZaE89uxpNOIhg69J8WtXMAYb9gD4nQd2LJgKbsUhPOmxsfl1LMCIKJau - ECkRJWTCAY8wAE6om+lzgAJu+Pifg2xQBEFQoIcavSAPdYJAaZQsF6hgO+bSL2miQAroAFiI - mEAHLuAWbpA64FmWFUBnKd4ugoxNRSJyDGO4rhGCsma/KA==`, - "base64" -)); +export const generatedDate = new Date("2024-03-07T04:49:31.942Z"); +export const LineBreak = UnicodeTrie.fromBase64( + `AAgOAAEAAAD/////3RMAAB+LCABbR+llAgPtnQnwl0UZx1/B8EIlvFFR0DARUTHNK/PIi7KS + tJLUAq8EnRKYSnE00AmRMgknJQui8Ric1GhEMyPNEUHTEUoHrAQt0TKFRFMHHe374D7Nzrrv + vnvv+/f/e2c+s++99+6zu8/uLu5ZVUvAcvAM2HjDqu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f38NlD1mU/ntB922PscxvbvSnWQ9wn + Ezq75f3QY+O753UsO+ruy3tJ68JB9zw3+2pQ3Ve3P7aJGG5zsc/FPTr3qe/a+kV+PyRt6Uyb + PKTucR97fCPX2EnqcZkUfmtKt6nKQFP6TVn25QpHH3tMeT3Xvv7yXsnyeLXJHzHizLXcdbUz + drqKHe6p7c9d7oT+J5f9ddTJO771fGi6dJURcsplqezQyTIh9pnkoxCZsIQMHCq/ph5DTN2e + D+0PbcM+8iXXQ8mhc+Jy/A9RMxgScCMBAB+LCABbR+llAgMdjksWgyAMRffCuKN2BZFSgSqi + KP6O+9+GuU7uSfJeXnKabTMv4yaF7RWNKLof1Z8ZQslY8I2LQjpFRsiDYkC1IBSF39kACbPF + nEALJJDc4KMtXItUsYIZMynC8Yo5fGmZVb461geRmDdyUjytI9VSeQT/Ib9lhiA8OBHoenPd + OuNFhvcAAAA=` +); /** * @type {Record} diff --git a/package.json b/package.json index ede2005..6bf1499 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "typescript": "5.4.2" }, "dependencies": { - "@cto.af/unicode-trie": "1.2.3" + "@cto.af/unicode-trie": "2.0.0" }, "packageManager": "pnpm@8.15.4", "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2e2f9a0..52fc43f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,8 +6,8 @@ settings: dependencies: '@cto.af/unicode-trie': - specifier: 1.2.3 - version: 1.2.3 + specifier: 2.0.0 + version: 2.0.0 devDependencies: '@peggyjs/eslint-config': @@ -46,9 +46,11 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@cto.af/unicode-trie@1.2.3: - resolution: {integrity: sha512-NEnPNwsG2ynljtlEO+H/kHpPPZkl11g9nc+DPQaZEpRiMtKbjGNwU6eUG1sLslFxFA13BU07U5Ns9X7tjxtEiQ==} - engines: {node: '>=16'} + /@cto.af/unicode-trie@2.0.0: + resolution: {integrity: sha512-mFj4uMV44WsvLiTa3Rl/o8VCNBIod0oyyVf4vW5nCProaO/Pxz/CUL9TSsPb6hoPsSrJLekRB+2QcfF6Defxcg==} + engines: {node: '>=18'} + dependencies: + fflate: 0.8.2 dev: false /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): @@ -748,6 +750,10 @@ packages: reusify: 1.0.4 dev: true + /fflate@0.8.2: + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + dev: false + /file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0}