Add compatibility for Dart 1.10-style name munging.

R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1110513005
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3429ab7..deb9c13 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.0.4
+
+* Add compatibility for Dart 1.10-style name munging.
+
 ## 1.0.3
 
 * Prefer "dart:" URLs to "package:" URLs.
diff --git a/lib/source_map_stack_trace.dart b/lib/source_map_stack_trace.dart
index 76ad41a..893135f 100644
--- a/lib/source_map_stack_trace.dart
+++ b/lib/source_map_stack_trace.dart
@@ -101,7 +101,7 @@
       .replaceAll(new RegExp(r"[a-zA-Z_0-9]+\$"), "")
       // Get rid of the static method prefix. The class name also exists in the
       // invocation, so we're not getting rid of any information.
-      .replaceAll(new RegExp(r"^[a-zA-Z_0-9]+.static."), "")
+      .replaceAll(new RegExp(r"^[a-zA-Z_0-9]+.(static|dart)."), "")
       // Convert underscores after identifiers to dots. This runs the risk of
       // incorrectly converting members that contain underscores, but those are
       // contrary to the style guide anyway.
diff --git a/pubspec.yaml b/pubspec.yaml
index 093c397..0933aa2 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
 name: source_map_stack_trace
-version: 1.0.3
+version: 1.0.4
 description: >
   A package for applying source maps to stack traces.
 author: Dart Team <misc@dartlang.org>