Skip to content

Commit

Permalink
chore: updates deps compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
VannaDii committed Dec 25, 2022
1 parent 173be8e commit d4faa75
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions lib/src/backend/events/origin.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions lib/src/common/lipsum.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ import 'utils.dart';

/// Creates [count] number of random words.
String createWord({int count = 1}) {
Random _random;
Random random;

if (count > 1) {
var sentence = createSentence(sentenceLength: count, numSentences: 1);
sentence = sentence.substring(0, sentence.length - 1); // Removes a period
return sentence;
}

_random = Random();
return words[_random.nextInt(words.length)];
random = Random();
return words[random.nextInt(words.length)];
}

/// Creates random sentences.
Expand All @@ -36,7 +36,7 @@ String createSentence({int sentenceLength = -1, int numSentences = 1}) {

wordIndex = randomInt(0, words.length - sentenceLength - 1);
sentence = words.getRange(wordIndex, wordIndex + sentenceLength).join(" ");
sentence = sentence[0].toUpperCase() + sentence.substring(1) + ".";
sentence = "${sentence[0].toUpperCase()}${sentence.substring(1)}.";

return sentence;
}
Expand Down
38 changes: 19 additions & 19 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ repository: https://github.com/endaft/endaft-core
issue_tracker: https://github.com/endaft/endaft-core/issues

environment:
sdk: ">=2.18.0 <3.0.0"
sdk: ">=2.16.0 <3.0.0"

dependencies:
amazon_cognito_identity_dart_2: ^3.0.0
aws_lambda_dart_runtime: ^1.1.0
amazon_cognito_identity_dart_2: ">=3.0.0 <4.0.0"
aws_lambda_dart_runtime: ">=1.1.0 <2.0.0"
aws_s3_api: ">=1.2.0 <3.0.0"
collection: ^1.16.0
equatable: ^2.0.5
http: ^0.13.5
injector: ^2.0.0
json_annotation: ^4.6.0
matcher: ^0.12.12
meta: ^1.8.0
mocktail: ^0.3.0
path: ^1.8.2
uuid: ^3.0.6
collection: ">=1.16.0 <2.0.0"
equatable: ">=2.0.0 <3.0.0"
http: ">=0.13.0 <1.0.0"
injector: ">=2.0.0 <3.0.0"
json_annotation: ">=4.6.0 <5.0.0"
matcher: ">=0.12.0 <1.0.0"
meta: ">=1.8.0 <2.0.0"
mocktail: ">=0.3.0 <1.0.0"
path: ">=1.8.0 <2.0.0"
uuid: ">=3.0.0 <4.0.0"

dev_dependencies:
analyzer: ">=4.7.0 <6.0.0"
build_runner: ^2.2.0
build_test: ^2.1.5
coverage: ^1.5.0
json_serializable: ^6.3.1
lints: ^2.0.0
test: ^1.21.5
build_runner: ">=2.2.0 <3.0.0"
build_test: ">=2.1.5 <3.0.0"
coverage: ">=1.5.0 <2.0.0"
json_serializable: ">=6.0.0 <7.0.0"
lints: ">=2.0.0 <3.0.0"
test: ">=1.0.0 <2.0.0"

0 comments on commit d4faa75

Please # to comment.