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: remarkablemark/html-react-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.13
Choose a base ref
...
head repository: remarkablemark/html-react-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.14
Choose a head ref
  • 10 commits
  • 6 files changed
  • 5 contributors

Commits on Mar 22, 2023

  1. build(deps-dev): bump prettier from 2.8.5 to 2.8.6

    Bumps [prettier](https://github.com/prettier/prettier) from 2.8.5 to 2.8.6.
    - [Release notes](https://github.com/prettier/prettier/releases)
    - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
    - [Commits](prettier/prettier@2.8.5...2.8.6)
    
    ---
    updated-dependencies:
    - dependency-name: prettier
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 22, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c531a37 View commit details
  2. Merge pull request #876 from remarkablemark/dependabot/npm_and_yarn/p…

    …rettier-2.8.6
    
    build(deps-dev): bump prettier from 2.8.5 to 2.8.6
    mergify[bot] authored Mar 22, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ab5eded View commit details

Commits on Mar 23, 2023

  1. build(deps-dev): bump rimraf from 4.4.0 to 4.4.1

    Bumps [rimraf](https://github.com/isaacs/rimraf) from 4.4.0 to 4.4.1.
    - [Release notes](https://github.com/isaacs/rimraf/releases)
    - [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
    - [Commits](isaacs/rimraf@v4.4.0...v4.4.1)
    
    ---
    updated-dependencies:
    - dependency-name: rimraf
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 23, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    39ace2b View commit details
  2. build(deps-dev): bump @commitlint/cli from 17.4.4 to 17.5.0

    Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 17.4.4 to 17.5.0.
    - [Release notes](https://github.com/conventional-changelog/commitlint/releases)
    - [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
    - [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.5.0/@commitlint/cli)
    
    ---
    updated-dependencies:
    - dependency-name: "@commitlint/cli"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 23, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4cb3c70 View commit details
  3. Merge pull request #877 from remarkablemark/dependabot/npm_and_yarn/r…

    …imraf-4.4.1
    
    build(deps-dev): bump rimraf from 4.4.0 to 4.4.1
    mergify[bot] authored Mar 23, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9b8dc04 View commit details
  4. Merge pull request #878 from remarkablemark/dependabot/npm_and_yarn/c…

    …ommitlint/cli-17.5.0
    
    build(deps-dev): bump @commitlint/cli from 17.4.4 to 17.5.0
    mergify[bot] authored Mar 23, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2505a8f View commit details

Commits on Mar 24, 2023

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    d9c608d View commit details
  2. Merge pull request #879 from remarkablemark/fix/types

    fix(types): fix `Type error: ',' expected.` in index.d.ts
    remarkablemark authored Mar 24, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    565d33d View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ceecea0 View commit details
  4. Merge pull request #880 from remarkablemark/release-please--branches-…

    …-master--components--html-react-parser
    
    chore(master): release 3.0.14
    remarkablemark authored Mar 24, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dcd306f View commit details
Showing with 24 additions and 9 deletions.
  1. +7 −0 CHANGELOG.md
  2. +3 −3 index.d.ts
  3. +2 −1 lib/attributes-to-props.d.ts
  4. +2 −1 lib/dom-to-react.d.ts
  5. +4 −4 package.json
  6. +6 −0 tslint.json
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [3.0.14](https://github.com/remarkablemark/html-react-parser/compare/v3.0.13...v3.0.14) (2023-03-24)


### Bug Fixes

* **types:** fix "Type error: ',' expected." in index.d.ts ([d9c608d](https://github.com/remarkablemark/html-react-parser/commit/d9c608d591c7e4c05a7c2165121b232f06288fad)), closes [#871](https://github.com/remarkablemark/html-react-parser/issues/871)

## [3.0.13](https://github.com/remarkablemark/html-react-parser/compare/v3.0.12...v3.0.13) (2023-03-22)


6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// TypeScript Version: 4.7
// TypeScript Version: 5.0
/* eslint-disable no-undef, no-unused-vars */

import {
Comment,
Element,
Node,
ProcessingInstruction,
Text,
type DomHandlerOptions
Text
} from 'domhandler';
import type { DomHandlerOptions } from 'domhandler';
import htmlToDOM from 'html-dom-parser';
import { ParserOptions } from 'htmlparser2';

3 changes: 2 additions & 1 deletion lib/attributes-to-props.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// TypeScript Version: 4.7
// TypeScript Version: 5.0
/* eslint-disable no-unused-vars */

export type Attributes = Record<string, string>;

3 changes: 2 additions & 1 deletion lib/dom-to-react.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// TypeScript Version: 4.7
// TypeScript Version: 5.0
/* eslint-disable no-undef, no-unused-vars */

import { DOMNode, HTMLReactParserOptions } from '..';

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-react-parser",
"version": "3.0.13",
"version": "3.0.14",
"description": "HTML to React parser.",
"author": "Mark <mark@remarkablemark.org>",
"main": "index.js",
@@ -51,7 +51,7 @@
"style-to-js": "1.1.3"
},
"devDependencies": {
"@commitlint/cli": "17.4.4",
"@commitlint/cli": "17.5.0",
"@commitlint/config-conventional": "17.4.4",
"@rollup/plugin-commonjs": "24.0.1",
"@rollup/plugin-node-resolve": "15.0.1",
@@ -68,10 +68,10 @@
"lint-staged": "13.2.0",
"pinst": "3.0.0",
"preact": "10.13.1",
"prettier": "2.8.5",
"prettier": "2.8.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "4.4.0",
"rimraf": "4.4.1",
"rollup": "2.79.1",
"rollup-plugin-terser": "7.0.2",
"size-limit": "8.1.0",
6 changes: 6 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "dtslint/dtslint.json",
"rules": {
"no-duplicate-imports": false
}
}