webkit_inspection_protocol 0.3.6

  • readme.md
  • changelog.md
  • Installing
  • Versions
  • 76

webkit_inspection_protocol.dart #

Build Status pub package

What is it? #

The webkit_inspection_protocol package is a client of the Webkit Inspection Protocol (WIP). It's used to talk to Chrome DevTools based debuggers.

The protocol #

Read more about the protocol here.

Disclaimer #

This is not an official Google product.

webkit_inspection_protocol.dart #

0.3.6 #

  • Expose the target domain and additional runtime domain calls

0.3.5 #

  • Widen the Dart SDK constraint

0.3.4 #

  • Several fixes for strong mode at runtime issues
  • Rename uses of deprecated dart:io constants

0.3.3 #

  • Upgrade the Dart SDK minimum to 2.0.0-dev
  • Rename uses of deprecated dart:convert constants

0.3.2 #

  • Analysis fixes for strong mode
  • Upgrade to the latest package dependencies

0.3.1 #

  • Expose ConsoleAPIEvent.timestamp
  • Expose LogEntry.timestamp

0.3.0 #

  • Expose the runtime domain.
  • Expose the log domain.
  • Deprecated the console domain.
  • Fix a bug in Page.reload().
  • Remove the use of parts.

0.2.2 #

  • Make the package strong mode clean.

0.2.1+1 #

0.0.1 #

  • Initial version (library moved out of the grinder package).

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  webkit_inspection_protocol: ^0.3.6

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:webkit_inspection_protocol/webkit_inspection_protocol.dart';
  
Version Uploaded Documentation Archive
0.4.0 Mar 4, 2019 Go to the documentation of webkit_inspection_protocol 0.4.0 Download webkit_inspection_protocol 0.4.0 archive
0.3.6 Aug 30, 2018 Go to the documentation of webkit_inspection_protocol 0.3.6 Download webkit_inspection_protocol 0.3.6 archive
0.3.5 Jul 26, 2018 Go to the documentation of webkit_inspection_protocol 0.3.5 Download webkit_inspection_protocol 0.3.5 archive
0.3.4 May 29, 2018 Go to the documentation of webkit_inspection_protocol 0.3.4 Download webkit_inspection_protocol 0.3.4 archive
0.3.3 Apr 14, 2018 Go to the documentation of webkit_inspection_protocol 0.3.3 Download webkit_inspection_protocol 0.3.3 archive
0.3.2 Jan 17, 2018 Go to the documentation of webkit_inspection_protocol 0.3.2 Download webkit_inspection_protocol 0.3.2 archive
0.3.1 Jun 16, 2017 Go to the documentation of webkit_inspection_protocol 0.3.1 Download webkit_inspection_protocol 0.3.1 archive
0.3.0 Jun 11, 2017 Go to the documentation of webkit_inspection_protocol 0.3.0 Download webkit_inspection_protocol 0.3.0 archive
0.2.2 Jun 9, 2017 Go to the documentation of webkit_inspection_protocol 0.2.2 Download webkit_inspection_protocol 0.2.2 archive
0.2.1+1 Jun 9, 2016 Go to the documentation of webkit_inspection_protocol 0.2.1+1 Download webkit_inspection_protocol 0.2.1+1 archive

All 17 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
61
Health:
Code health derived from static analysis. [more]
97
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
76
Learn more about scoring.

We analyzed this package on May 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.0
  • pana: 0.12.15

Platforms

Detected platforms: Flutter, other

Primary library: package:webkit_inspection_protocol/webkit_inspection_protocol.dart with components: io.

Health suggestions

Fix lib/webkit_inspection_protocol.dart. (-2.48 points)

Analysis of lib/webkit_inspection_protocol.dart reported 5 hints:

line 29 col 1: Prefer using /// for doc comments.

line 122 col 1: Prefer using /// for doc comments.

line 128 col 3: Prefer using /// for doc comments.

line 137 col 3: 'WipConsole' is deprecated and shouldn't be used.

line 179 col 20: 'WipConsole' is deprecated and shouldn't be used.

Fix lib/src/debugger.dart. (-0.50 points)

Analysis of lib/src/debugger.dart reported 1 hint:

line 163 col 3: Prefer using /// for doc comments.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and webkit_inspection_protocol.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

The package description is too short. (-10 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.54.0 <3.0.0
args >=0.13.0 <2.0.0 1.5.1
logging ^0.11.0 0.11.3+2
shelf ^0.7.0 0.7.5
shelf_web_socket ^0.2.0 0.2.3
Transitive dependencies
async 2.2.0
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
http_parser 3.1.3
meta 1.1.7
path 1.6.2
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.4
term_glyph 1.1.0
typed_data 1.1.6
web_socket_channel 1.0.12
Dev dependencies
shelf_static ^0.2.0
test ^1.0.0