Skip to content

phantomas v1.7

Compare
Choose a tag to compare
@macbre macbre released this 11 Nov 11:50
· 1908 commits to devel since this release

This release brings a few new metrics: number of HTML elements with duplicated IDs (#392), number of avoidable DOM queries (#402) and number of CSS stylesheets analyze-css failed to parse (#404).

By defaulting --ssl-protocol PhantomJS option to "any" HTTPS pages should load fine using default phantomas settings (#423).

DOM queries module now takes context of the query into consideration (#395) when calculating duplicated queries and emitting offenders.

analyze-css has been upgraded to v0.8.0 which brings reporting of duplicated CSS properties and improved redundant selectors metric.

All changes are listed below.

Changelog

New metrics

  • #404 - Get a feedback when analyze-css fails to parse a file
  • #402 - New metric DOMidAvoidable (#396) (by @gmetais)
  • #392 - Report elements with duplicated ID

Improvements

  • #423 - ssl-protocol: use "any" by default (instead of sslv3)
  • #412 - Document troubleshooting HTTPS issues
  • #395 - Duplicated DOM queries: take context into consideration

Bug fixes

  • #422 - Strange radix=0 argument for parseInt (by @gmetais)
  • #411 - HTTPS pages are not working and throw error
  • #409 - SlimerJS: phantomas dies on listing extensions directory
  • #382 - Fulfilled promise with error code 1

Internals

  • #421 - analyze-css: use v0.8.0
  • #408 - npm: upgrade dependencies
  • #406 - Upgrade to analyze-css v0.6.0