build(deps-dev): bump eslint from 8.57.1 to 9.13.0 (#2792)
* build(deps-dev): bump eslint from 8.57.1 to 9.13.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.13.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.13.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Upgrade EsLint * Fix all new lint errors --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
This commit is contained in:
@ -4,10 +4,10 @@ import { MathComponent } from "../math-component";
|
||||
import { MathDenominator } from "./math-denominator";
|
||||
import { MathNumerator } from "./math-numerator";
|
||||
|
||||
export interface IMathFractionOptions {
|
||||
export type IMathFractionOptions = {
|
||||
readonly numerator: readonly MathComponent[];
|
||||
readonly denominator: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathFraction extends XmlComponent {
|
||||
public constructor(options: IMathFractionOptions) {
|
||||
|
@ -1,5 +1,6 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_fName-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathComponent } from "../math-component";
|
||||
|
||||
export class MathFunctionName extends XmlComponent {
|
||||
|
@ -6,10 +6,10 @@ import { MathBase } from "../n-ary";
|
||||
import { MathFunctionName } from "./math-function-name";
|
||||
import { MathFunctionProperties } from "./math-function-properties";
|
||||
|
||||
export interface IMathFunctionOptions {
|
||||
export type IMathFunctionOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly name: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathFunction extends XmlComponent {
|
||||
public constructor(options: IMathFunctionOptions) {
|
||||
|
@ -2,7 +2,7 @@ import { MathAngledBrackets, MathCurlyBrackets, MathRoundBrackets, MathSquareBra
|
||||
import { MathFraction } from "./fraction";
|
||||
import { MathFunction } from "./function";
|
||||
import { MathRun } from "./math-run";
|
||||
import { MathSum, MathIntegral } from "./n-ary";
|
||||
import { MathIntegral, MathSum } from "./n-ary";
|
||||
import { MathRadical } from "./radical";
|
||||
import { MathSubScript, MathSubSuperScript, MathSuperScript } from "./script";
|
||||
|
||||
|
@ -3,9 +3,9 @@ import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathComponent } from "./math-component";
|
||||
|
||||
export interface IMathOptions {
|
||||
export type IMathOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class Math extends XmlComponent {
|
||||
public constructor(options: IMathOptions) {
|
||||
|
@ -6,11 +6,11 @@ import { MathNAryProperties } from "./math-n-ary-properties";
|
||||
import { MathSubScriptElement } from "./math-sub-script";
|
||||
import { MathSuperScriptElement } from "./math-super-script";
|
||||
|
||||
export interface IMathIntegralOptions {
|
||||
export type IMathIntegralOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly subScript?: readonly MathComponent[];
|
||||
readonly superScript?: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathIntegral extends XmlComponent {
|
||||
public constructor(options: IMathIntegralOptions) {
|
||||
|
@ -1,13 +1,14 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_limLow-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathComponent } from "../math-component";
|
||||
import { MathBase } from "./math-base";
|
||||
import { MathLimit } from "./math-limit";
|
||||
|
||||
export interface IMathLimitLowerOptions {
|
||||
export type IMathLimitLowerOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly limit: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathLimitLower extends XmlComponent {
|
||||
public constructor(options: IMathLimitLowerOptions) {
|
||||
|
@ -1,13 +1,14 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_limUpp-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathComponent } from "../math-component";
|
||||
import { MathBase } from "./math-base";
|
||||
import { MathLimit } from "./math-limit";
|
||||
|
||||
export interface IMathLimitUpperOptions {
|
||||
export type IMathLimitUpperOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly limit: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathLimitUpper extends XmlComponent {
|
||||
public constructor(options: IMathLimitUpperOptions) {
|
||||
|
@ -1,5 +1,6 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_lim-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathComponent } from "../math-component";
|
||||
|
||||
export class MathLimit extends XmlComponent {
|
||||
|
@ -7,11 +7,11 @@ import { MathNAryProperties } from "./math-n-ary-properties";
|
||||
import { MathSubScriptElement } from "./math-sub-script";
|
||||
import { MathSuperScriptElement } from "./math-super-script";
|
||||
|
||||
export interface IMathSumOptions {
|
||||
export type IMathSumOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly subScript?: readonly MathComponent[];
|
||||
readonly superScript?: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathSum extends XmlComponent {
|
||||
public constructor(options: IMathSumOptions) {
|
||||
|
@ -1,5 +1,6 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_deg-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathComponent } from "../math-component";
|
||||
|
||||
export class MathDegree extends XmlComponent {
|
||||
|
@ -1,5 +1,6 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_radPr-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathDegreeHide } from "./math-degree-hide";
|
||||
|
||||
export class MathRadicalProperties extends XmlComponent {
|
||||
|
@ -6,10 +6,10 @@ import { MathBase } from "../n-ary";
|
||||
import { MathDegree } from "./math-degree";
|
||||
import { MathRadicalProperties } from "./math-radical-properties";
|
||||
|
||||
export interface IMathRadicalOptions {
|
||||
export type IMathRadicalOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly degree?: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathRadical extends XmlComponent {
|
||||
public constructor(options: IMathRadicalOptions) {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathPreSubSuperScriptProperties } from "./math-pre-sub-super-script-function-properties";
|
||||
|
||||
describe("MathPreSubSuperScriptProperties", () => {
|
||||
|
@ -2,8 +2,8 @@ import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathRun } from "../../math-run";
|
||||
import { MathPreSubSuperScript } from "./math-pre-sub-super-script-function";
|
||||
import { MathRun } from "../../math-run";
|
||||
|
||||
describe("MathPreSubScript", () => {
|
||||
describe("#constructor()", () => {
|
||||
|
@ -1,15 +1,15 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_sPre-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathPreSubSuperScriptProperties } from "./math-pre-sub-super-script-function-properties";
|
||||
import { MathComponent } from "../../math-component";
|
||||
import { MathBase, MathSubScriptElement, MathSuperScriptElement } from "../../n-ary";
|
||||
import { MathPreSubSuperScriptProperties } from "./math-pre-sub-super-script-function-properties";
|
||||
|
||||
export interface IMathPreSubSuperScriptOptions {
|
||||
export type IMathPreSubSuperScriptOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly subScript: readonly MathComponent[];
|
||||
readonly superScript: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathPreSubSuperScript extends XmlComponent {
|
||||
public constructor(options: IMathPreSubSuperScriptOptions) {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathSubScriptProperties } from "./math-sub-script-function-properties";
|
||||
|
||||
describe("MathSubScriptProperties", () => {
|
||||
|
@ -2,8 +2,8 @@ import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathRun } from "../../math-run";
|
||||
import { MathSubScript } from "./math-sub-script-function";
|
||||
import { MathRun } from "../../math-run";
|
||||
|
||||
describe("MathSubScript", () => {
|
||||
describe("#constructor()", () => {
|
||||
|
@ -1,14 +1,14 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_sSub-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathSubScriptProperties } from "./math-sub-script-function-properties";
|
||||
import { MathComponent } from "../../math-component";
|
||||
import { MathBase, MathSubScriptElement } from "../../n-ary";
|
||||
import { MathSubScriptProperties } from "./math-sub-script-function-properties";
|
||||
|
||||
export interface IMathSubScriptOptions {
|
||||
export type IMathSubScriptOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly subScript: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathSubScript extends XmlComponent {
|
||||
public constructor(options: IMathSubScriptOptions) {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathSubSuperScriptProperties } from "./math-sub-super-script-function-properties";
|
||||
|
||||
describe("MathSubSuperScriptProperties", () => {
|
||||
|
@ -2,8 +2,8 @@ import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathRun } from "../../math-run";
|
||||
import { MathSubSuperScript } from "./math-sub-super-script-function";
|
||||
import { MathRun } from "../../math-run";
|
||||
|
||||
describe("MathSubScript", () => {
|
||||
describe("#constructor()", () => {
|
||||
|
@ -1,15 +1,15 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_sSubSup-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathSubSuperScriptProperties } from "./math-sub-super-script-function-properties";
|
||||
import { MathComponent } from "../../math-component";
|
||||
import { MathBase, MathSubScriptElement, MathSuperScriptElement } from "../../n-ary";
|
||||
import { MathSubSuperScriptProperties } from "./math-sub-super-script-function-properties";
|
||||
|
||||
export interface IMathSubSuperScriptOptions {
|
||||
export type IMathSubSuperScriptOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly subScript: readonly MathComponent[];
|
||||
readonly superScript: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathSubSuperScript extends XmlComponent {
|
||||
public constructor(options: IMathSubSuperScriptOptions) {
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathSuperScriptProperties } from "./math-super-script-function-properties";
|
||||
|
||||
describe("MathSuperScriptProperties", () => {
|
||||
|
@ -2,8 +2,8 @@ import { describe, expect, it } from "vitest";
|
||||
|
||||
import { Formatter } from "@export/formatter";
|
||||
|
||||
import { MathRun } from "../../math-run";
|
||||
import { MathSuperScript } from "./math-super-script-function";
|
||||
import { MathRun } from "../../math-run";
|
||||
|
||||
describe("MathSuperScript", () => {
|
||||
describe("#constructor()", () => {
|
||||
|
@ -1,14 +1,14 @@
|
||||
// http://www.datypic.com/sc/ooxml/e-m_sSup-1.html
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { MathSuperScriptProperties } from "./math-super-script-function-properties";
|
||||
import { MathComponent } from "../../math-component";
|
||||
import { MathBase, MathSuperScriptElement } from "../../n-ary";
|
||||
import { MathSuperScriptProperties } from "./math-super-script-function-properties";
|
||||
|
||||
export interface IMathSuperScriptOptions {
|
||||
export type IMathSuperScriptOptions = {
|
||||
readonly children: readonly MathComponent[];
|
||||
readonly superScript: readonly MathComponent[];
|
||||
}
|
||||
};
|
||||
|
||||
export class MathSuperScript extends XmlComponent {
|
||||
public constructor(options: IMathSuperScriptOptions) {
|
||||
|
Reference in New Issue
Block a user