Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.1.0] - March 21, 2025

* Migrated dependencies

* Fixed null safe error

* Fixed unused imports


## [1.0.0] - May 15, 2021

* Migrated to null-safe code.
Expand Down
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
include: package:pedantic/analysis_options.yaml
1 change: 0 additions & 1 deletion lib/src/nodes/xml_element.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:meta/meta.dart';
import '../helpers/delimiters.dart';
import '../helpers/formatters.dart';
import '../xml_node.dart';
import './xml_attribute.dart';

/// A XML element.
///
Expand Down
2 changes: 1 addition & 1 deletion lib/src/xml_node.dart
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ abstract class XmlNode {
///
/// Returns `null` if the [uri] can't be reached or no valid XML nodes
/// are found in the returned document.
static Future<dynamic?> fromUri(
static Future<dynamic> fromUri(
String uri, {
bool parseCharacterEntities = true,
bool parseComments = false,
Expand Down
12 changes: 6 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: xml_parser
description: An unopinionated XML parser that can read, traverse, modify, and write XML documents.
version: 1.0.0
version: 1.1.0
homepage: https://github.com/james-alex/xml_parser

environment:
sdk: ">=2.12.0 <3.0.0"
sdk: ">=3.0.0 <4.0.0"

dependencies:
collection: ^1.15.0
collection: ^1.19.1
html_character_entities: ^1.0.0+1
http: ^0.13.3
http: ^1.1.0
recursive_regex: ^1.0.0
meta: ^1.3.0
meta: ^1.16.0

dev_dependencies:
test: ^1.17.4
pedantic: ^1.11.0
lints: ^5.0.0