Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Nov 29, 2023
1 parent 12f5d34 commit 3a4f8bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion safe_url_check/lib/src/safe_url_check.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import 'dart:io';

import 'package:meta/meta.dart';
import 'package:retry/retry.dart';

import 'private_ip.dart';
Expand Down Expand Up @@ -77,7 +78,7 @@ class SafeUrlChecker {
required this.userAgent,
required this.retryOptions,
required this.timeout,
this.skipLocalNetworkCheck = false,
@visibleForTesting this.skipLocalNetworkCheck = false,
});

Future<bool> checkUrl(
Expand Down
1 change: 1 addition & 0 deletions safe_url_check/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
meta: ^1.11.0
retry: ^3.0.0+1

dev_dependencies:
Expand Down

0 comments on commit 3a4f8bc

Please sign in to comment.