Граф коммитов

284 Коммитов

Автор SHA1 Сообщение Дата
jiewei.ljw ce8ed566e9 misc: clean *.screenshots.json (#4754) 2018-03-14 02:36:02 -07:00
Brendan Kenny e675e1b4f7 core: add type checking to connection (#4738) 2018-03-12 16:17:46 -07:00
Paul Irish bc9efba9b7
core(lhr): overhaul LHR details, introduce details.summary (#4616)
- completely new shape of `details`:
  - `result.details.headings` describes the expected report columns
  - `result.details.items` contains row information, and may include _more_ data than referenced by the headings. it's the new `extendedInfo`. :)
- new `result.details.summary` obj that includes whatever toplevel numeric summary we have. So far just `wastedMs` and `wastedKb`
2018-03-08 18:45:19 -08:00
Brendan Kenny 3b8d4b9c43
core: make url-shim extend native URL module; add type checking (#4712) 2018-03-08 13:08:51 -08:00
Paul Irish aaa000df2e
misc: drop support of Node 6 (#4703) 2018-03-07 14:12:26 -08:00
Konrad Dzwinel fd750fc20c core(is-crawlable): determine if page indexing is blocked by robots.txt (#4548) 2018-03-02 15:20:45 -08:00
Ben Schwarz 54225c419f deps(axe-core): update axe-core to 3.0.0-beta.2 release (#4595) 2018-03-02 14:29:28 -08:00
Paul Irish f9171e0133 2.9.1 2018-02-12 15:31:37 -08:00
Patrick Hulce f9cdfc5d97
core(computed-artifact): use deep equality over strict (#4409) 2018-02-08 10:57:28 -08:00
Paul Irish 1d8df25203
2.9.0 (#4459) 2018-02-07 18:33:04 -08:00
Paul Irish 1b96506992 misc(package): scripts don't require "--" for options to be forwarded (#4437) 2018-02-06 14:04:09 -08:00
Paul Irish d6b027e957
tests(coverage): minimize impact of timeout due to istanbul's instrumentation (#4396) 2018-01-31 10:43:52 -08:00
Paul Irish fe17df0539
deps: bump metaviewport-parser to 0.2.0 (#4382) 2018-01-29 15:53:19 -08:00
Chris Thompson c225d0189f misc(package): Add mixed-content yarn script (#4344) 2018-01-26 13:01:19 +11:00
Paul Irish 5c197c5549
2.8.0 (#4245) 2018-01-12 14:46:20 -08:00
Ward Peeters 6c5e7a4fce deps(chrome-launcher): Upgrade chrome-launcher to 0.10.2 (#4192) 2018-01-09 11:49:46 -08:00
Rob Dodson 8c088a682e report(a11y): Don't count non-applicable a11y audits toward score (#4052) 2018-01-05 12:36:53 -08:00
Paul Irish a2bcf82c13
core(lifecycle): allow gathering & auditing to run separately (#3743)
New features:
* Gather mode launches the browser, collects artifacts, saves them to disk, and quits.
* Audit mode skips browser interaction, loads artifacts from disk, runs audits on them, generates report
* --gather-mode and --audit-mode are the long versions of -G and -A.
* -GA is also supported. Normal run, but saves artifacts to disk for subsequent -A runs.

Other changes:
* config.auditResults is removed
* assetSaver got a new impl of saveArtifacts, and added loadArtifacts
* --save-artifacts CLI flag was removed
2018-01-05 12:17:11 -08:00
Patrick Hulce d7a9f3bc37
core(network-recorder): use findNetworkQuietPeriods for networkIdle (#4102)
core(network-recorder): use findNetworkQuietPeriods for networkIdle calculations
2018-01-02 13:58:44 -08:00
Patrick Hulce 017c9c1e31 new-audit(unminified-javascript): detect savings from minifcation (#3950) 2017-12-19 18:31:33 -08:00
Patrick Hulce 9fa36ceaf2
deps: bump js-library-detector (#4086) 2017-12-18 16:32:06 -08:00
Patrick Hulce 5e23dbba1a
v2.7.0 (#4060) 2017-12-14 16:14:41 -08:00
Paul Irish cf92030c05 tests(smokehouse): adopt URLSearchParams for querystring manipulation (#3941)
* bump whatwg-url to latest to get their URLSearchParams

* use real URLSearchParams for header parsing.

* fix looping over urlsearchparams

* latest whatwg-url adds a trailing slash to chrome://version

* remove trailing slashes on chrome:// urls, as per spec
2017-12-08 09:42:49 -08:00
Robert Medeiros 3bdb56e80a deps: Bump ws to 3.3.2 (#3949) 2017-11-29 16:57:53 -08:00
Konrad Dzwinel 6910f5d2f6 new_audit(hreflang): document has a valid hreflang code (#3815) 2017-11-28 18:18:28 -08:00
Brendan Kenny 407b1af5eb
cli: compile out remaining typescript; add tsc type checking via jsdocs (#3747) 2017-11-20 18:10:03 -08:00
Paul Irish 1fe2a95266 misc(changelog): minor changelog generation usability bumps (#3847) 2017-11-17 18:08:52 -08:00
Brendan Kenny 70574e872c
2.6.0 (#3848) 2017-11-17 17:48:16 -08:00
Patrick Hulce 32ed80c048 new_audit(cache-headers): detects savings from leveraging caching (#3531) 2017-11-17 15:42:14 -08:00
Patrick Hulce a9780d6690 core(speed-index): only compute perceptual speed index (#3845) 2017-11-17 22:36:57 +01:00
Ward Peeters 5b96072da7
misc(changelog-generator): Generate changelogs (#3632) 2017-11-11 14:33:12 +01:00
Patrick Hulce de5785042d core(lib): add error reporting (#2420)
* refactor(StartUrl): switch from error to debugString object

* feat: add error reporting

* cave to peer pressure

* lint

* merge fixes

* reduce yarn churn

* limit impact to run.ts

* clang format

* avoid duplicate errors

* lint

* disable error reporting on test

* feedback

* remove enableErrorReporting default

* update readme

* fix yarn.lock

* add error reporting doc

* doc feedback

* move sentry call

* more cleanup

* remove unused environmentData
2017-10-26 17:01:03 -07:00
Patrick Hulce 04b685fa9f core(driver): use execution context isolation when necessary (#3500)
* fix(driver): use execution context isolation when necessary

* feedback

* add unit test

* feedback

* add jsdoc comment
2017-10-13 15:57:00 -07:00
Brendan Kenny a86c4b4711 tests(eslint): update eslint (and goog config) to latest (#3396)
* tests(eslint): update eslint (and goog config) to latest

* update deps
2017-10-11 16:26:40 -07:00
Paul Irish 7711705262 core: add cz-customizable to establish a commit message convention (#3499)
* misc: add cz-customizable to establish a commit message convention

* add cz config

* nits
2017-10-11 10:32:34 -07:00
Paul Irish 320eb1f78f tests(eslint): use --quiet flag rather than --silent (#3491) 2017-10-06 18:31:53 -07:00
Paul Irish f7a3a273a4 web-inspector: fall back to page's Runtime and queryParam() (#3497) 2017-10-06 15:19:36 -07:00
Ward Peeters b074ac7dca feat(redirects-audit): Adding Redirect audit (PSI Compat) (#3308) 2017-10-05 16:43:55 -07:00
Paul Irish 05030ade96 Bump launcher to 0.8.1 (#3479) 2017-10-05 08:26:33 -07:00
Brendan Kenny db9e375519 2.5.0 2017-10-04 15:27:08 -07:00
Brendan Kenny 474f3069f2 fix(deps): add yargs-parser at 7.0.0 (#3478)
reverts previous addition to put package in root deps
2017-10-04 15:14:57 -07:00
Paul Irish 2d2206b874 ws to 1.1.2. fix insecure randomness vuln. 2017-09-29 18:22:30 -07:00
tkadlec 6b4b8b97fb feat(audit): No vulnerable JS libraries audit (#2372) 2017-09-29 15:53:49 -07:00
Brendan Kenny 80f185f954 Switch to using standalone chrome-launcher package (#3410) 2017-09-26 07:14:08 +09:00
Paul Irish 7352c68206 fix(bundlesize): re-enable bundlesize reporting (#3392) 2017-09-22 13:39:39 -07:00
Laurence Cartwright d42075501e fix: Bump axe-core to 2.4.1 (#3320)
* Bump axe-core to 2.4.1 Fixes #3318

* Bump yarn.lock for axe-core
2017-09-13 13:39:33 -07:00
Brendan Kenny 850dbb3377 test(smokehouse): add basic smoke test for SEO audits (#3267) 2017-09-12 14:35:33 -07:00
Rob Dodson bc09205675 Bump axe to 2.4.0 (#3284) 2017-09-08 14:42:36 -07:00
Siddharth Kshetrapal 0e07b7deea Upgrade bundlesize to 0.13.2 (#3122) 2017-08-29 10:49:14 -07:00
Paul Irish c05198f37b 2.4.0 2017-08-14 16:42:51 -07:00
Mykyta Khmel e1a04dd94d "shrink-to-fit" property in "viewport" meta is no longer invalid (#2863) 2017-08-07 12:39:58 -07:00
Paul Irish 232c99bd6a v2.3.0 2017-07-19 19:09:48 -07:00
Paul Irish 5172ff7f0a add bundlesize to track our build size (#2676)
* add bundlesize to check lh-bg.js.
* check viewer size as well.
* run bundlesize on travis.
2017-07-11 14:23:18 -07:00
Paul Irish ef08106357 upgrade rimraf to latest (#2641) 2017-07-05 10:18:21 -07:00
Paul Irish 187c6d5096 v2.2.1 2017-06-30 15:14:45 -07:00
Paul Irish 5501779b51 v2.2.0 2017-06-30 14:33:03 -07:00
Brendan Kenny fadaef9513 remove report v1 and dependencies (#2596)
removes removes report as well as formatters, handlebars, handlebar build files, etc
2017-06-28 14:07:42 -07:00
Patrick Hulce 56eaa50f84 fix(driver): wait for CPU idle via clientside perfObserver (#2473) 2017-06-28 13:42:23 -07:00
Brendan Kenny 2b31a44e34 Viewer: Lighthouse 2.0 support (#2521)
* basic viewer working

* most features working

* reenable remaining features

* cleanup

* fix filename

* logger, ga, and version check

* make closure happy

* pull report-ui-features out of report-renderer

disable save-as-gist based on providing a callback for saving

* gulp watch

* add back drag-and-drop unit test

* actually make closure happy

* review fixes

* review feedback
2017-06-22 15:55:19 -07:00
Paul Irish ad4c3db40e Report coverage to codecov.io (#2519) 2017-06-19 21:20:26 -07:00
Sam Saccone cc5485fead Enable typescript coverage metrics for coveralls.
use nyc + lcov merge to generate a combined coverage report.

Fixes #2374
2017-06-19 20:49:14 -07:00
Sam Saccone c787b75420 extract logger from lighthouse (#2528) 2017-06-19 18:30:12 -07:00
Will Chen 1c5c57fe1c plots: smoke test for happy case (#2411) 2017-06-13 15:11:19 -04:00
Paul Irish 65db419b15 Tag lighthouse 2.1.0 (#2450)
* bump extension to 2.1.0

* v2.1.0
2017-06-06 17:22:07 -07:00
Paul Irish 387731a80c Run npm install/build tasks in parallel (#2381) 2017-06-05 11:23:58 -07:00
Even Stensberg 5107ab25ee revise package.json script to the correct folder (#2373) 2017-05-26 10:31:34 -07:00
Paul Irish 57b8fc7309 v2.0.1-alpha.0 2017-05-23 15:34:59 -07:00
Rob Dodson 3716658be4 Rev axe to address #2206 (#2335) 2017-05-22 16:07:23 -07:00
Paul Irish 31cb266de2 Tag and ship Lighthouse 2.0 (#2315)
* bump to 2.0, during eric & brendan's Google IO presentation
* v2.0.0
2017-05-19 12:54:50 -07:00
Brendan Kenny 10741b1038 yarn install-all should really install all (#2308) 2017-05-18 18:27:06 -07:00
Patrick Hulce c4c858affc chore: bump canary to 2.0.0-alpha.7 (#2288) 2017-05-16 22:31:00 -07:00
Paul Irish 817034440c Ship new canary v2.0.0-alpha.6 (#2262) 2017-05-15 23:42:19 -07:00
Patrick Hulce 73fc72000d feat: add filmstrip to report (#2239)
* feat: add filmstrip to report

* add doc to scale down thumbnail method

* closure

* update test year

* never show 0ms screenshot

* feedback

* feedback

* feedback

* better version of feedback

* nuke bold
2017-05-15 14:03:24 -07:00
Paul Irish fc05324d5b release: Tagging 2.0.0-alpha.5 (#2253) 2017-05-15 12:41:15 -07:00
Sam Saccone 2e2deb289f Update chrome-debug path 2017-05-15 12:35:12 -04:00
Sam Saccone 9c06fc188c Extract chrome-launcher to a standalone thing. (#2245)
* Also extract default flags to standalone entity.
2017-05-13 15:40:33 -07:00
Patrick Hulce 7d7bac668a perf: enable speedline fastMode (#2230) 2017-05-11 12:10:37 -07:00
Paul Irish 978ef5bbf2 bump to 2.0.0-alpha.4 (#2207) 2017-05-09 23:46:40 -07:00
Paul Irish efaeb135fd Report-> domhtml renderer. Add Lighthouse Canary assets (#2184) 2017-05-09 14:08:32 -07:00
Sam Saccone b21c40b571 Add automatic formatting tests 2017-05-08 18:21:45 -07:00
Paul Irish 4efdd20f5e version to 2.0.0-alpha.2 2017-05-08 13:56:15 -07:00
Paul Irish 9a8f7b732c Rename *-unit scripts to unit-* (#2119) 2017-05-01 18:03:30 -07:00
Paul Irish ff4d66714b Add script to compile renderer against TOT devtools frontend (#2099) 2017-05-01 16:46:13 -07:00
Brendan Kenny 11957a01d1 followup for issues in #2000 (#2100)
also update closure for mid-month release
2017-04-28 17:14:10 -07:00
Rob Dodson e46244d640 Bump axe-core (#2090) 2017-04-27 16:17:14 -07:00
Paul Irish 638760eec8 Migrate all dev scripts + docs from npm to yarn. (#2072)
Users can install install with npm, though
2017-04-26 12:41:01 -07:00
Paul Irish 948b80b185 package.json: Lighthouse version => 2.0.0-alpha.1 2017-04-22 12:07:26 -07:00
Paul Irish a549461217 package.json: only use yarn to install 2017-04-22 10:51:06 -07:00
Brendan Kenny 2faa6867d0 add Closure type checking for report v2 (#2043)
* initial closure type checking for report v2
* introduce DOM.find(selector,context); 
* enable closure checking (for report) in tests
2017-04-21 14:55:38 -07:00
Patrick Hulce d90bce3b84 fix: bump speedline to fix perceptual speed index (#2046)
* fix: bump speedline to fix perceptual speed index

* test: update tests for speedline bump
2017-04-20 23:52:33 -07:00
Paul Irish 1563f927d1 bump master to v1.7.0-alpha (#2017)
[skip ci]
2017-04-14 18:07:08 -07:00
Paul Irish eed06ad086 add script to roll LH to devtools. (#2009) 2017-04-13 18:52:25 -07:00
Paul Irish c1f54d7919 Remove babel transpile of traceviewerjs (#1998)
* remove destructuring rewrite from traceviewerjs
* regenerate traceviewer-js
* eslintignore: add plots/out
* Update build-traceviewer-module.js
2017-04-12 11:17:42 -04:00
Eric Bidelman 0b9f960216 Report v2: generate DOM from `<template>`; improve scoring and details (#1963) 2017-04-07 16:54:57 -07:00
Patrick Hulce 4849d515e0 feat: add npm run clean (#1974) 2017-04-07 16:06:18 -07:00
Paul Irish 71b86c51fa Add a smoke test for perf config. (#1957) 2017-04-03 14:17:46 -07:00
Eric Bidelman 0386598fe8 CLI: remove npm prepublish (#1889) 2017-03-27 18:24:09 -07:00
Eric Bidelman bd06f760c0 Fixes #1907 - move update-notifier to root (#1908) 2017-03-24 18:11:53 -07:00
Brendan Kenny b5afd60e3b remove formatters 2017-03-09 20:33:33 -08:00
Sendil Kumar N 3649322203 Adopt handlebars precompiled templates (#1752)
* Adopt handlebars precompiled templates
* Included gulp-concat / declare in dev dependencies
* replace empty to null formatter
* Added gulp to run before executing unit tests
* travis build changes
* changes to appveyor build
2017-03-03 16:57:03 -08:00