• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

remarkablemark / html-dom-parser
80%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/webpack-4.46.0
DEFAULT BRANCH: master
Repo Added 10 Oct 2016 08:34PM UTC
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v0.1.0
branch: v0.1.0
CHANGE BRANCH
x
Reset
  • v0.1.0
  • build
  • build/dependencies
  • build/deps
  • build/devDependencies
  • build/package
  • build/rollup
  • build/standard-version
  • chore/improve-docs-and-tests
  • chore/lint
  • chore/package
  • chore/readme-tests-types
  • chore/types
  • ci/build
  • ci/github
  • ci/github-actions
  • ci/release
  • ci/size-limit
  • client-parser-refactor
  • dependabot/npm_and_yarn/commitlint/cli-12.0.0
  • dependabot/npm_and_yarn/commitlint/cli-13.1.0
  • dependabot/npm_and_yarn/commitlint/config-conventional-13.1.0
  • dependabot/npm_and_yarn/domhandler-4.2.0
  • dependabot/npm_and_yarn/domhandler-4.2.2
  • dependabot/npm_and_yarn/eslint-plugin-prettier-4.0.0
  • dependabot/npm_and_yarn/htmlparser2-6.0.1
  • dependabot/npm_and_yarn/htmlparser2-6.1.0
  • dependabot/npm_and_yarn/htmlparser2-7.0.0
  • dependabot/npm_and_yarn/htmlparser2-7.1.1
  • dependabot/npm_and_yarn/husky-5.0.9
  • dependabot/npm_and_yarn/husky-5.1.0
  • dependabot/npm_and_yarn/husky-5.1.1
  • dependabot/npm_and_yarn/husky-5.1.2
  • dependabot/npm_and_yarn/husky-5.1.3
  • dependabot/npm_and_yarn/husky-5.2.0
  • dependabot/npm_and_yarn/husky-6.0.0
  • dependabot/npm_and_yarn/husky-7.0.0
  • dependabot/npm_and_yarn/karma-6.0.0
  • dependabot/npm_and_yarn/lint-staged-11.0.0
  • dependabot/npm_and_yarn/mocha-9.0.0
  • dependabot/npm_and_yarn/prettier-2.3.1
  • dependabot/npm_and_yarn/prettier-2.3.2
  • dependabot/npm_and_yarn/rollup/plugin-commonjs-18.0.0
  • dependabot/npm_and_yarn/rollup/plugin-commonjs-19.0.0
  • dependabot/npm_and_yarn/rollup/plugin-commonjs-20.0.0
  • dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.0.0
  • dependabot/npm_and_yarn/sinon-10.0.0
  • dependabot/npm_and_yarn/sinon-11.0.0
  • dependabot/npm_and_yarn/webpack-4.46.0
  • dependabot/npm_and_yarn/webpack-cli-4.3.0
  • feat/domparser
  • fix-client-parser-ie
  • fix-domparser
  • fix-regex
  • fix/domparser
  • master
  • perf/deprecate-ie9
  • refactor/lib
  • refactor/utilities
  • refs/tags/v0.3.1
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • style/prettier
  • test/coverage
  • test/helpers
  • test/karma
  • test/lib
  • test/server
  • v0.1.1
  • v0.1.2
  • v0.1.3
  • v0.2.0
  • v0.2.1
  • v0.2.2
  • v0.2.3
  • v0.3.0

pending completion
12

push

travis-ci

remarkablemark
Bump version to 0.1.0

Improve and refactor client parser (#2)
- Use template element as the default parser
  - For HTML that doesn't have high-level tags (no <html>, <head>,
    or <body>)
  - Fastest parser out of the three
  - Doesn't load external resources like images when parsing
- Use `DOMImplementation` as fallback
  - For HTML with tags like <head> or <body> (but no <html>)
  - Second fastest parser out of the three
- Use `DOMParser` as final fallback or for parsing high-level tags
  - For HTML with directive and/or <html> (can handle all cases)
  - Slowest parser out of the three
  - Make sure to remove extraneous elements (e.g., <head> or
    <body>) if they're not in the HTML
- Improve regex matching, create constants, and cache values that
  can optimize the parser

49 of 74 branches covered (66.22%)

Branch coverage included in aggregate %.

105 of 132 relevant lines covered (79.55%)

11.81 hits per line

Relevant lines Covered
Build:
Build:
132 RELEVANT LINES 105 COVERED LINES
11.81 HITS PER LINE
Source Files on v0.1.0
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
12 v0.1.0 Bump version to 0.1.0 Improve and refactor client parser (#2) - Use template element as the default parser - For HTML that doesn't have high-level tags (no <html>, <head>, or <body>) - Fastest parser out of the three - Doesn't load exte... push 17 Jun 2017 08:47PM UTC remarkablemark travis-ci pending completion  
See All Builds (305)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc