Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: inikulin/parse5
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.0.0
Choose a base ref
...
head repository: inikulin/parse5
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.1.0
Choose a head ref

Commits on Apr 20, 2022

  1. Copy the full SHA
    9149f60 View commit details

Commits on Apr 21, 2022

  1. chore(deps-dev): bump lint-staged from 12.3.8 to 12.4.0 (#519)

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.3.8 to 12.4.0.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v12.3.8...v12.4.0)
    
    ---
    updated-dependencies:
    - dependency-name: lint-staged
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 21, 2022
    Copy the full SHA
    7f2cb65 View commit details
  2. chore(deps): bump dependabot/fetch-metadata from 1.3.0 to 1.3.1 (#520)

    Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.0 to 1.3.1.
    - [Release notes](https://github.com/dependabot/fetch-metadata/releases)
    - [Commits](dependabot/fetch-metadata@v1.3.0...v1.3.1)
    
    ---
    updated-dependencies:
    - dependency-name: dependabot/fetch-metadata
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 21, 2022
    Copy the full SHA
    e197cb2 View commit details
  3. Copy the full SHA
    35ccb3f View commit details
  4. Copy the full SHA
    1405ca0 View commit details

Commits on Apr 25, 2022

  1. chore(deps-dev): bump eslint from 8.13.0 to 8.14.0 (#521)

    Bumps [eslint](https://github.com/eslint/eslint) from 8.13.0 to 8.14.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.13.0...v8.14.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 25, 2022
    Copy the full SHA
    7d38a10 View commit details

Commits on Apr 26, 2022

  1. chore(deps-dev): bump @typescript-eslint/eslint-plugin (#522)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.20.0 to 5.21.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.21.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 26, 2022
    Copy the full SHA
    71f40b9 View commit details
  2. chore(deps-dev): bump @typescript-eslint/parser from 5.20.0 to 5.21.0 (

    …#523)
    
    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.20.0 to 5.21.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.21.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 26, 2022
    Copy the full SHA
    6c6b478 View commit details
  3. Copy the full SHA
    c5d31e1 View commit details

Commits on Apr 27, 2022

  1. chore(deps-dev): bump lint-staged from 12.4.0 to 12.4.1 (#525)

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.4.0 to 12.4.1.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v12.4.0...v12.4.1)
    
    ---
    updated-dependencies:
    - dependency-name: lint-staged
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 27, 2022
    Copy the full SHA
    2e8605b View commit details

Commits on Apr 29, 2022

  1. chore(deps-dev): bump typescript from 4.6.3 to 4.6.4 (#526)

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](microsoft/TypeScript@v4.6.3...v4.6.4)
    
    ---
    updated-dependencies:
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 29, 2022
    Copy the full SHA
    c1f64b8 View commit details

Commits on Apr 30, 2022

  1. Copy the full SHA
    6e57110 View commit details
  2. Copy the full SHA
    5642373 View commit details

Commits on May 3, 2022

  1. chore(deps-dev): bump @typescript-eslint/parser from 5.21.0 to 5.22.0 (

    …#529)
    
    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.21.0 to 5.22.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.22.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 3, 2022
    Copy the full SHA
    9f92fbf View commit details
  2. chore(deps-dev): bump @types/jest from 27.4.1 to 27.5.0 (#530)

    Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.4.1 to 27.5.0.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/jest"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 3, 2022
    Copy the full SHA
    2cd878c View commit details
  3. chore(deps-dev): bump @typescript-eslint/eslint-plugin (#528)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.21.0 to 5.22.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.22.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 3, 2022
    Copy the full SHA
    52ba973 View commit details

Commits on May 9, 2022

  1. chore(deps-dev): bump eslint from 8.14.0 to 8.15.0 (#536)

    Bumps [eslint](https://github.com/eslint/eslint) from 8.14.0 to 8.15.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.14.0...v8.15.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 9, 2022
    Copy the full SHA
    cc7f0b9 View commit details
  2. Copy the full SHA
    84e52f5 View commit details
  3. Copy the full SHA
    1bab767 View commit details

Commits on May 10, 2022

  1. chore(deps-dev): bump @typescript-eslint/parser from 5.22.0 to 5.23.0 (

    …#539)
    
    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.22.0 to 5.23.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.23.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 10, 2022
    Copy the full SHA
    1d06f55 View commit details
  2. chore(deps-dev): bump @typescript-eslint/eslint-plugin (#538)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.22.0 to 5.23.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.23.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 10, 2022
    Copy the full SHA
    9a2ba20 View commit details
  3. Copy the full SHA
    b4603e6 View commit details

Commits on May 12, 2022

  1. chore(deps-dev): bump @types/jest from 27.5.0 to 27.5.1 (#542)

    Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.5.0 to 27.5.1.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/jest"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 12, 2022
    Copy the full SHA
    cf8e868 View commit details
  2. Copy the full SHA
    b96ed82 View commit details

Commits on May 17, 2022

  1. chore(deps-dev): bump @typescript-eslint/parser from 5.23.0 to 5.24.0 (

    …#543)
    
    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.23.0 to 5.24.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.24.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 17, 2022
    Copy the full SHA
    eaef8af View commit details
  2. chore(deps-dev): bump @typescript-eslint/eslint-plugin (#544)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.23.0 to 5.24.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.24.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 17, 2022
    Copy the full SHA
    385fea2 View commit details

Commits on May 18, 2022

  1. chore(deps-dev): bump @typescript-eslint/eslint-plugin (#545)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.24.0 to 5.25.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.25.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022
    Copy the full SHA
    85e47f9 View commit details
  2. chore(deps-dev): bump @typescript-eslint/parser from 5.24.0 to 5.25.0 (

    …#546)
    
    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.24.0 to 5.25.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.25.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 18, 2022
    Copy the full SHA
    1266553 View commit details

Commits on May 20, 2022

  1. refactor(tokenizer): Reconsume directly

    No need to unconsume, then go through a second loop
    fb55 committed May 20, 2022
    Copy the full SHA
    9596d69 View commit details
  2. Copy the full SHA
    849203c View commit details
  3. Copy the full SHA
    259532d View commit details
  4. chore(test): Use local indices for test IDs

    Before, the order in which files were loaded decided the final indices. A new test file could make our test-suite fail.
    fb55 committed May 20, 2022
    Copy the full SHA
    f4a6792 View commit details
  5. Copy the full SHA
    2ec22a2 View commit details
  6. refactor(tokenizer): Use ternary

    fb55 committed May 20, 2022
    Copy the full SHA
    edb85df View commit details

Commits on May 23, 2022

  1. chore(deps-dev): bump eslint from 8.15.0 to 8.16.0 (#549)

    Bumps [eslint](https://github.com/eslint/eslint) from 8.15.0 to 8.16.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](eslint/eslint@v8.15.0...v8.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 23, 2022
    Copy the full SHA
    b21cd8f View commit details
  2. chore(deps-dev): bump ts-node from 10.7.0 to 10.8.0 (#548)

    Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.7.0 to 10.8.0.
    - [Release notes](https://github.com/TypeStrong/ts-node/releases)
    - [Commits](TypeStrong/ts-node@v10.7.0...v10.8.0)
    
    ---
    updated-dependencies:
    - dependency-name: ts-node
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 23, 2022
    Copy the full SHA
    f22ee7c View commit details

Commits on May 24, 2022

  1. chore(deps-dev): bump @typescript-eslint/eslint-plugin (#551)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.25.0 to 5.26.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.26.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 24, 2022
    Copy the full SHA
    99457d1 View commit details
  2. chore(deps-dev): bump @typescript-eslint/parser from 5.25.0 to 5.26.0 (

    …#550)
    
    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.25.0 to 5.26.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.26.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 24, 2022
    Copy the full SHA
    2e5f4d2 View commit details

Commits on May 25, 2022

  1. chore(deps-dev): bump lint-staged from 12.4.1 to 12.4.2 (#552)

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.4.1 to 12.4.2.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v12.4.1...v12.4.2)
    
    ---
    updated-dependencies:
    - dependency-name: lint-staged
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 25, 2022
    Copy the full SHA
    5f17e0c View commit details
  2. chore(deps-dev): bump ts-jest from 28.0.2 to 28.0.3 (#554)

    Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 28.0.2 to 28.0.3.
    - [Release notes](https://github.com/kulshekhar/ts-jest/releases)
    - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
    - [Commits](kulshekhar/ts-jest@v28.0.2...v28.0.3)
    
    ---
    updated-dependencies:
    - dependency-name: ts-jest
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 25, 2022
    Copy the full SHA
    cd87e47 View commit details

Commits on May 31, 2022

  1. chore(deps-dev): bump @typescript-eslint/parser from 5.26.0 to 5.27.0 (

    …#557)
    
    Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.26.0 to 5.27.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.27.0/packages/parser)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/parser"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 31, 2022
    Copy the full SHA
    c1002f6 View commit details
  2. chore(deps-dev): bump typedoc from 0.22.15 to 0.22.16 (#559)

    Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.15 to 0.22.16.
    - [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
    - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
    - [Commits](TypeStrong/typedoc@v0.22.15...v0.22.16)
    
    ---
    updated-dependencies:
    - dependency-name: typedoc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 31, 2022
    Copy the full SHA
    3d7e498 View commit details
  3. chore(deps-dev): bump lint-staged from 12.4.2 to 12.4.3 (#558)

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.4.2 to 12.4.3.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v12.4.2...v12.4.3)
    
    ---
    updated-dependencies:
    - dependency-name: lint-staged
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 31, 2022
    Copy the full SHA
    6ee8ec3 View commit details
  4. chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 (#553)

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](microsoft/TypeScript@v4.6.4...v4.7.2)
    
    ---
    updated-dependencies:
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 31, 2022
    Copy the full SHA
    d039b24 View commit details
  5. chore(deps-dev): bump @typescript-eslint/eslint-plugin (#560)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.26.0 to 5.27.0.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.27.0/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 31, 2022
    Copy the full SHA
    22a38be View commit details

Commits on Jun 1, 2022

  1. chore(deps-dev): bump lint-staged from 12.4.3 to 12.5.0 (#562)

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.4.3 to 12.5.0.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v12.4.3...v12.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: lint-staged
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 1, 2022
    Copy the full SHA
    ecb9f86 View commit details
  2. chore(deps-dev): bump typedoc from 0.22.16 to 0.22.17 (#563)

    Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.22.16 to 0.22.17.
    - [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
    - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
    - [Commits](TypeStrong/typedoc@v0.22.16...v0.22.17)
    
    ---
    updated-dependencies:
    - dependency-name: typedoc
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 1, 2022
    Copy the full SHA
    c555514 View commit details

Commits on Jun 2, 2022

  1. chore(deps-dev): bump lint-staged from 12.5.0 to 13.0.0

    Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.5.0 to 13.0.0.
    - [Release notes](https://github.com/okonet/lint-staged/releases)
    - [Commits](lint-staged/lint-staged@v12.5.0...v13.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: lint-staged
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and fb55 committed Jun 2, 2022
    Copy the full SHA
    df92d8f View commit details

Commits on Jun 3, 2022

  1. chore(deps-dev): bump ts-jest from 28.0.3 to 28.0.4 (#566)

    Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 28.0.3 to 28.0.4.
    - [Release notes](https://github.com/kulshekhar/ts-jest/releases)
    - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
    - [Commits](kulshekhar/ts-jest@v28.0.3...v28.0.4)
    
    ---
    updated-dependencies:
    - dependency-name: ts-jest
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jun 3, 2022
    Copy the full SHA
    25f269a View commit details
  2. chore(deps-dev): bump @types/jest from 27.5.1 to 28.1.0

    Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.5.1 to 28.1.0.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/jest"
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and fb55 committed Jun 3, 2022
    Copy the full SHA
    421bb4d View commit details
Showing with 2,284 additions and 2,742 deletions.
  1. +2 −2 .github/workflows/codeql-analysis.yml
  2. +1 −1 .github/workflows/dependabot-automerge.yml
  3. +20 −1 .github/workflows/nodejs-test.yml
  4. +1 −2 .gitignore
  5. +1 −0 README.md
  6. +22 −33 bench/memory/sax-parser.js
  7. +1,983 −2,550 package-lock.json
  8. +23 −15 package.json
  9. +3 −3 packages/parse5-html-rewriting-stream/package.json
  10. +33 −1 packages/parse5-html-rewriting-stream/test/rewriting-stream.test.ts
  11. +5 −5 packages/parse5-htmlparser2-tree-adapter/lib/index.ts
  12. +3 −3 packages/parse5-htmlparser2-tree-adapter/package.json
  13. +2 −2 packages/parse5-parser-stream/package.json
  14. +6 −6 packages/parse5-parser-stream/test/parser-stream.test.ts
  15. +0 −3 packages/parse5-parser-stream/test/utils/parse-chunked.ts
  16. +2 −2 packages/parse5-plain-text-conversion-stream/package.json
  17. +2 −2 packages/parse5-sax-parser/package.json
  18. +17 −0 packages/parse5-sax-parser/test/sax-parser.test.ts
  19. +1 −1 packages/parse5/lib/index.ts
  20. +4 −0 packages/parse5/lib/parser/formatting-element-list.test.ts
  21. +6 −1 packages/parse5/lib/parser/formatting-element-list.ts
  22. +7 −7 packages/parse5/lib/parser/index.test.ts
  23. +25 −20 packages/parse5/lib/parser/index.ts
  24. +8 −0 packages/parse5/lib/parser/open-element-stack.test.ts
  25. +1 −1 packages/parse5/lib/parser/open-element-stack.ts
  26. +6 −0 packages/parse5/lib/serializer/index.test.ts
  27. +1 −1 packages/parse5/lib/serializer/index.ts
  28. +50 −0 packages/parse5/lib/tokenizer/index.test.ts
  29. +23 −37 packages/parse5/lib/tokenizer/index.ts
  30. +12 −22 packages/parse5/lib/tree-adapters/default.ts
  31. +4 −4 packages/parse5/package.json
  32. +5 −12 scripts/generate-parser-feedback-test/index.ts
  33. +1 −1 test/data/html5lib-tests
  34. +2 −2 test/utils/generate-parsing-tests.ts
  35. +2 −2 tsconfig.json
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -25,9 +25,9 @@ jobs:
submodules: recursive

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: 'javascript'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ jobs:
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.0
uses: dependabot/fetch-metadata@v1.3.3
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
21 changes: 20 additions & 1 deletion .github/workflows/nodejs-test.yml
Original file line number Diff line number Diff line change
@@ -6,9 +6,13 @@ on:
- 'dependabot/**'
pull_request:

permissions:
contents: read

env:
CI: true
FORCE_COLOR: 2
NODE_COV: 16 # The Node.js version to run coveralls on

jobs:
lint:
@@ -27,14 +31,17 @@ jobs:
test:
name: Node ${{ matrix.node }}
runs-on: ubuntu-latest
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code

strategy:
fail-fast: false
matrix:
node:
- 12
- 14
- 16
- 18
- lts/*

steps:
@@ -52,3 +59,15 @@ jobs:

- name: Run Tests
run: npm run unit-tests
if: matrix.node != env.NODE_COV

- name: Run Jest with coverage
run: npm run unit-tests -- --coverage
if: matrix.node == env.NODE_COV

- name: Run Coveralls
uses: coverallsapp/github-action@1.1.3
if: matrix.node == env.NODE_COV
continue-on-error: true
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -3,8 +3,7 @@
.vscode
node_modules
docs/build
docs/05_api_reference.md
packages/*/dist/
test/dist/
.DS_Store
tsconfig.tsbuildinfo
coverage/
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@
<a href="https://www.npmjs.com/package/parse5"><img alt="NPM Version" src="https://img.shields.io/npm/v/parse5.svg"></a>
<a href="https://npmjs.org/package/parse5"><img alt="Downloads" src="http://img.shields.io/npm/dm/parse5.svg"></a>
<a href="https://npmjs.org/package/parse5"><img alt="Downloads total" src="http://img.shields.io/npm/dt/parse5.svg"></a>
<a href="https://coveralls.io/github/inikulin/parse5"><img alt="Coverage" src="https://img.shields.io/coveralls/github/inikulin/parse5/master"></a>
</p>

<p align="center">
55 changes: 22 additions & 33 deletions bench/memory/sax-parser.js
Original file line number Diff line number Diff line change
@@ -4,30 +4,24 @@ import memwatch from '@airbnb/node-memwatch';
import { SAXParser } from '../../packages/parse5-sax-parser/dist/index.js';
import { finished } from 'parse5-test-utils/dist/common.js';

main();
const heapDiffMeasurement = new memwatch.HeapDiff();

async function main() {
const heapDiffMeasurement = new memwatch.HeapDiff();
let maxMemUsage = 0;

let maxMemUsage = 0;
memwatch.on('stats', (stats) => {
maxMemUsage = Math.max(maxMemUsage, stats.used_heap_size);
});

memwatch.on('stats', (stats) => {
maxMemUsage = Math.max(maxMemUsage, stats.used_heap_size);
});
const statsPromise = new Promise((resolve) => memwatch.once('stats', resolve));

const statsPromise = new Promise((resolve) => memwatch.once('stats', resolve));
const startDate = new Date();

const startDate = new Date();
const parsedDataSize = await parse();
const endDate = new Date();
const heapDiff = heapDiffMeasurement.end();

const parsedDataSize = await parse();
const endDate = new Date();
const heapDiff = heapDiffMeasurement.end();

// NOTE: we need at least one `stats` result to get maxMemUsage
await statsPromise;

printResults(parsedDataSize, startDate, endDate, heapDiff, maxMemUsage);
}
// NOTE: we need at least one `stats` result to get maxMemUsage
await statsPromise;

async function parse() {
const data = await readFile(new URL('../../test/data/huge-page/huge-page.html', import.meta.url), 'utf8');
@@ -46,20 +40,15 @@ async function parse() {
return parsedDataSize;
}

function getDuration(startDate, endDate) {
const scale = new format.Scale({
seconds: 1,
minutes: 60,
hours: 3600,
});
console.log('Input data size:', format(parsedDataSize, { unit: 'B' }));

return format((endDate - startDate) / 1000, { scale });
}
const scale = new format.Scale({
seconds: 1,
minutes: 60,
hours: 3600,
});

function printResults(parsedDataSize, startDate, endDate, heapDiff, maxMemUsage) {
console.log('Input data size:', format(parsedDataSize, { unit: 'B' }));
console.log('Duration:', getDuration(startDate, endDate));
console.log('Memory before:', heapDiff.before.size);
console.log('Memory after:', heapDiff.after.size);
console.log('Memory max:', format(maxMemUsage, { unit: 'B' }));
}
console.log('Duration:', format((endDate - startDate) / 1000, { scale }));
console.log('Memory before:', heapDiff.before.size);
console.log('Memory after:', heapDiff.after.size);
console.log('Memory max:', format(maxMemUsage, { unit: 'B' }));
Loading