From cf8431790655ca4b7835ce0f7aea1d6734eca588 Mon Sep 17 00:00:00 2001 From: David Iglesias Teixeira Date: Fri, 25 Sep 2020 13:40:34 -0700 Subject: [PATCH] [url_launcher_web] Move third_party under src. --- packages/url_launcher/url_launcher_web/CHANGELOG.md | 4 ++++ .../lib/{ => src}/third_party/platform_detect/LICENSE | 0 .../lib/{ => src}/third_party/platform_detect/README.md | 0 .../lib/{ => src}/third_party/platform_detect/browser.dart | 0 .../url_launcher_web/lib/url_launcher_web.dart | 7 ++++++- packages/url_launcher/url_launcher_web/pubspec.yaml | 2 +- 6 files changed, 11 insertions(+), 2 deletions(-) rename packages/url_launcher/url_launcher_web/lib/{ => src}/third_party/platform_detect/LICENSE (100%) rename packages/url_launcher/url_launcher_web/lib/{ => src}/third_party/platform_detect/README.md (100%) rename packages/url_launcher/url_launcher_web/lib/{ => src}/third_party/platform_detect/browser.dart (100%) diff --git a/packages/url_launcher/url_launcher_web/CHANGELOG.md b/packages/url_launcher/url_launcher_web/CHANGELOG.md index b4f08715c281..456d458834bf 100644 --- a/packages/url_launcher/url_launcher_web/CHANGELOG.md +++ b/packages/url_launcher/url_launcher_web/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.1.4+2 + +- Move `lib/third_party` to `lib/src/third_party`. + # 0.1.4+1 - Add a more correct attribution to `package:platform_detect` code. diff --git a/packages/url_launcher/url_launcher_web/lib/third_party/platform_detect/LICENSE b/packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/LICENSE similarity index 100% rename from packages/url_launcher/url_launcher_web/lib/third_party/platform_detect/LICENSE rename to packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/LICENSE diff --git a/packages/url_launcher/url_launcher_web/lib/third_party/platform_detect/README.md b/packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/README.md similarity index 100% rename from packages/url_launcher/url_launcher_web/lib/third_party/platform_detect/README.md rename to packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/README.md diff --git a/packages/url_launcher/url_launcher_web/lib/third_party/platform_detect/browser.dart b/packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/browser.dart similarity index 100% rename from packages/url_launcher/url_launcher_web/lib/third_party/platform_detect/browser.dart rename to packages/url_launcher/url_launcher_web/lib/src/third_party/platform_detect/browser.dart diff --git a/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart b/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart index da43d01b90dc..093e06a4d8ed 100644 --- a/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart +++ b/packages/url_launcher/url_launcher_web/lib/url_launcher_web.dart @@ -1,10 +1,15 @@ +// Copyright 2019 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import 'dart:async'; import 'dart:html' as html; import 'package:flutter_web_plugins/flutter_web_plugins.dart'; import 'package:meta/meta.dart'; import 'package:url_launcher_platform_interface/url_launcher_platform_interface.dart'; -import 'third_party/platform_detect/browser.dart'; + +import 'src/third_party/platform_detect/browser.dart'; const _safariTargetTopSchemes = { 'mailto', diff --git a/packages/url_launcher/url_launcher_web/pubspec.yaml b/packages/url_launcher/url_launcher_web/pubspec.yaml index 089182283aa1..957b25757036 100644 --- a/packages/url_launcher/url_launcher_web/pubspec.yaml +++ b/packages/url_launcher/url_launcher_web/pubspec.yaml @@ -4,7 +4,7 @@ homepage: https://github.com/flutter/plugins/tree/master/packages/url_launcher/u # 0.1.y+z is compatible with 1.0.0, if you land a breaking change bump # the version to 2.0.0. # See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0 -version: 0.1.4+1 +version: 0.1.4+2 flutter: plugin: