mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 05:25:19 +00:00
updated libs, fixed warnings
This commit is contained in:
1
analysis_options.yaml
Normal file
1
analysis_options.yaml
Normal file
@@ -0,0 +1 @@
|
|||||||
|
include: package:effective_dart/analysis_options.yaml
|
||||||
@@ -2,6 +2,7 @@ name: example
|
|||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
author: "Sergey Penkovsky <sergey.penkovsky@gmail.com>"
|
author: "Sergey Penkovsky <sergey.penkovsky@gmail.com>"
|
||||||
homepage: localhost
|
homepage: localhost
|
||||||
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
/**
|
///
|
||||||
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
/// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
/// you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
/// You may obtain a copy of the License at
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
/// Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
/// See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
/// limitations under the License.
|
||||||
*/
|
///
|
||||||
|
|
||||||
enum Mode { SIMPLE, INSTANCE, PROVIDER_INSTANCE }
|
enum Mode { SIMPLE, INSTANCE, PROVIDER_INSTANCE }
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
/**
|
///
|
||||||
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
/// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
/// you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
/// You may obtain a copy of the License at
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
/// Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
/// See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
/// limitations under the License.
|
||||||
*/
|
///
|
||||||
|
|
||||||
library dart_di;
|
library dart_di;
|
||||||
|
|
||||||
|
|||||||
25
lib/di.dart
25
lib/di.dart
@@ -1,15 +1,16 @@
|
|||||||
/**
|
///
|
||||||
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
/// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
/// you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
/// You may obtain a copy of the License at
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
/// Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
/// See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
/// limitations under the License.
|
||||||
*/
|
///
|
||||||
|
|
||||||
import 'package:cherrypick/scope.dart';
|
import 'package:cherrypick/scope.dart';
|
||||||
|
|
||||||
Scope? _rootScope = null;
|
Scope? _rootScope = null;
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
/**
|
///
|
||||||
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
/// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
/// you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
/// You may obtain a copy of the License at
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
/// Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
/// See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
/// limitations under the License.
|
||||||
*/
|
///
|
||||||
|
|
||||||
import 'package:cherrypick/scope.dart';
|
import 'package:cherrypick/scope.dart';
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
/**
|
///
|
||||||
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
/// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
/// you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
/// You may obtain a copy of the License at
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
/// Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
/// See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
/// limitations under the License.
|
||||||
*/
|
///
|
||||||
|
|
||||||
import 'dart:collection';
|
import 'dart:collection';
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
/**
|
///
|
||||||
* Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
/// Copyright 2021 Sergey Penkovsky <sergey.penkovsky@gmail.com>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
/// you may not use this file except in compliance with the License.
|
||||||
* You may obtain a copy of the License at
|
/// You may obtain a copy of the License at
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
/// Unless required by applicable law or agreed to in writing, software
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
* See the License for the specific language governing permissions and
|
/// See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
/// limitations under the License.
|
||||||
*/
|
///
|
||||||
|
|
||||||
import 'dart:collection';
|
import 'dart:collection';
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ dependencies:
|
|||||||
meta: ^1.3.0
|
meta: ^1.3.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
test: ^1.16.8
|
effective_dart: ^1.3.1
|
||||||
|
|
||||||
mockito: ^5.0.3
|
test: ^1.17.2
|
||||||
|
|
||||||
|
mockito: ^5.0.6
|
||||||
|
|||||||
Reference in New Issue
Block a user