diff --git a/.github/ISSUE_TEMPLATE/bug-issue.yml b/.github/ISSUE_TEMPLATE/bug-issue.yml deleted file mode 100644 index 87c8e4fb..00000000 --- a/.github/ISSUE_TEMPLATE/bug-issue.yml +++ /dev/null @@ -1,120 +0,0 @@ -name: 🐞 Bug report -description: Report a very clearly broken issue. -title: 'bug: ' -labels: [bug] -body: - - type: markdown - attributes: - value: | - # ReVanced Manager bug report - - Important to note that your issue may have already been reported before. Please check for existing issues [here](https://github.com/revanced/revanced-manager/labels/bug). - - - type: dropdown - attributes: - label: Type - options: - - Error while running the manager - - Error at runtime - - Cosmetic - - Other - validations: - required: true - - type: textarea - attributes: - label: Bug description - description: How did you find the bug? Any additional details that might help? - validations: - required: true - - type: textarea - attributes: - label: Steps to reproduce - description: Add the steps to reproduce this bug, including your environment. - placeholder: Step 1. Download some files. Step 2. ... - validations: - required: true - - type: textarea - attributes: - label: Android version - description: Android version used. - validations: - required: true - - type: textarea - attributes: - label: Manager version - description: Manager version used. - validations: - required: true - - type: textarea - attributes: - label: Target package name - description: App you tried to patch. - validations: - required: true - - type: textarea - attributes: - label: Target package version. - description: Version of the app you tried to patch. - validations: - required: true - - type: dropdown - attributes: - label: Installation type - options: - - Non-root - - Root - validations: - required: true - - type: textarea - attributes: - label: Patches selected. - description: Patches you selected for the app. - validations: - required: true - - type: textarea - attributes: - label: Device logs (exported using Manager settings). - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so there is no need for backticks. - render: shell - validations: - required: true - - type: textarea - attributes: - label: Installer logs (exported using Installer menu option) [unneeded if the issue is not during patching]. - description: Please copy and paste any relevant log output. This will be automatically formatted into code, so there is no need for backticks. - render: shell - validations: - required: false - - type: textarea - attributes: - label: Screenshots or video - description: Add screenshots or videos that show the bug here. - placeholder: Drag and drop the screenshots/videos into this box. - validations: - required: false - - type: textarea - attributes: - label: Solution - description: If applicable, add a possible solution. - validations: - required: false - - type: textarea - attributes: - label: Additional context - description: Add additional context here. - validations: - required: false - - type: checkboxes - id: acknowledgments - attributes: - label: Acknowledgments - description: Your issue will be closed if you haven't done these steps. - options: - - label: I have searched the existing issues; this is new and no duplicate or related to another open issue. - required: true - - label: I have written a short but informative title. - required: true - - label: I properly filled out all of the requested information in this issue. - required: true - - label: The issue is solely related to ReVanced Manager and not caused by patches. - required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index ec4bb386..00000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1 +0,0 @@ -blank_issues_enabled: false \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature-issue.yml b/.github/ISSUE_TEMPLATE/feature-issue.yml deleted file mode 100644 index 8df4eab2..00000000 --- a/.github/ISSUE_TEMPLATE/feature-issue.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ⭐ Feature request -description: Create a detailed feature request. -title: 'feat: <title>' -labels: [feature-request] -body: - - type: dropdown - attributes: - label: Type - options: - - Functionality - - Cosmetic - - Other - validations: - required: true - - type: textarea - attributes: - label: Issue - description: What is the current problem. Why does it require a feature request? - validations: - required: true - - type: textarea - attributes: - label: Feature - description: Describe your feature in detail. How does it solve the issue? - validations: - required: true - - type: textarea - attributes: - label: Motivation - description: Why should your feature should be considered? - validations: - required: true - - type: textarea - attributes: - label: Additional context - description: Add additional context here. - validations: - required: false - - type: checkboxes - id: acknowledgements - attributes: - label: Acknowledgements - description: Your issue will be closed if you haven't done these steps. - options: - - label: I have searched the existing issues and this is a new and no duplicate or related to another open issue. - required: true - - label: I have written a short but informative title. - required: true - - label: I filled out all of the requested information in this issue properly. - required: true - - label: The issue is related solely to the ReVanced Manager - required: true diff --git a/.github/config.yaml b/.github/config.yaml deleted file mode 100644 index 650941e5..00000000 --- a/.github/config.yaml +++ /dev/null @@ -1,2 +0,0 @@ -firstPRMergeComment: > - Thank you for contributing to ReVanced. Join us on [Discord](https://revanced.app/discord) if you want to receive a contributor role. \ No newline at end of file diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml deleted file mode 100644 index e3f0f063..00000000 --- a/.github/workflows/analyze.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Analyze Code - -on: - push: - branches: [ "dev" ] - paths: - - "**.dart" - - ".github/workflows/analyze.yml" - pull_request: - branches: [ "main", "dev" ] - types: - - opened - - reopened - - synchronize - - ready_for_review - paths: - - "**.dart" - - ".github/workflows/analyze.yml" - -jobs: - build: - name: "Static analysis & format check" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Setup Flutter - uses: subosito/flutter-action@v2 - with: - channel: 'stable' - cache: true - - name: Install Flutter dependencies - run: flutter pub get - - name: Generate files with Builder - run: flutter packages pub run build_runner build --delete-conflicting-outputs - - name: Analyze code - uses: ValentinVignal/action-dart-analyze@v0.15 - with: - fail-on: warning diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml deleted file mode 100644 index 0bb9bdb1..00000000 --- a/.github/workflows/pr-build.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: PR Build - -on: - pull_request: - paths: - - ".github/workflows/pr-build.yml" - - "android/**" - - "assets/**" - - "lib/**" - -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - # Make sure the release step uses its own credentials: - # https://github.com/cycjimmy/semantic-release-action#private-packages - persist-credentials: false - fetch-depth: 0 - - name: Setup JDK - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'zulu' - - name: Setup Flutter - uses: subosito/flutter-action@v2 - with: - channel: 'stable' - cache: true - - name: Install Flutter dependencies - run: flutter pub get - - name: Generate files with Builder - run: flutter packages pub run build_runner build --delete-conflicting-outputs - - name: Build with Flutter - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: flutter build apk --debug - - name: Upload build - uses: actions/upload-artifact@v3 - with: - name: revanced-manager - path: build/app/outputs/flutter-apk/app-debug.apk diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml deleted file mode 100644 index 4b414eb7..00000000 --- a/.github/workflows/release-build.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: "Release Build" - -on: - push: - tags: - - "v*" - -jobs: - release: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: "11" - distribution: "zulu" - - uses: subosito/flutter-action@v2 - with: - channel: "stable" - - name: Set up Flutter - run: flutter pub get - - name: Generate files with Builder - run: flutter packages pub run build_runner build --delete-conflicting-outputs - - name: Build with Flutter - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} - SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} - SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }} - run: flutter build apk - - name: Sign APK - id: sign_apk - uses: ilharp/sign-android-release@v1 - with: - releaseDir: build/app/outputs/apk/release - signingKey: ${{ secrets.SIGNING_KEYSTORE }} - keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PASSWORD }} - keyAlias: ${{ secrets.SIGNING_KEY_ALIAS }} - keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }} - - name: Add version to APK - run: mv ${{steps.sign_apk.outputs.signedFile}} revanced-manager-${{ env.RELEASE_VERSION }}.apk - - name: Publish release APK - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false - files: revanced-manager-${{ env.RELEASE_VERSION }}.apk \ No newline at end of file diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml deleted file mode 100644 index 77097e2f..00000000 --- a/.github/workflows/update-documentation.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Update documentation - -on: - push: - paths: - - docs/** - -jobs: - trigger: - runs-on: ubuntu-latest - name: Dispatch event to documentation repository - if: github.ref == 'refs/heads/main' - steps: - - uses: peter-evans/repository-dispatch@v2 - with: - token: ${{ secrets.DOCUMENTATION_REPO_ACCESS_TOKEN }} - repository: revanced/revanced-documentation - event-type: update-documentation - client-payload: '{"repo": "${{ github.event.repository.name }}", "ref": "${{ github.ref }}"}' diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 2f302002..00000000 --- a/.gitignore +++ /dev/null @@ -1,144 +0,0 @@ -# Miscellaneous -*.class -*.lock -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# Visual Studio Code related -.classpath -.project -.settings/ - -# Flutter repo-specific -/bin/cache/ -/bin/mingit/ -/dev/benchmarks/mega_gallery/ -/dev/bots/.recipe_deps -/dev/bots/android_tools/ -/dev/docs/doc/ -/dev/docs/flutter.docs.zip -/dev/docs/lib/ -/dev/docs/pubspec.yaml -/dev/integration_tests/**/xcuserdata -/dev/integration_tests/**/Pods -/packages/flutter/coverage/ -version - -# packages file containing multi-root paths -.packages.generated - -# Flutter/Dart/Pub related -**/doc/api/ -**/*.g.dart -**/*.locator.dart -**/*.router.dart -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -**/generated_plugin_registrant.dart -.packages -.pub-cache/ -.pub/ -build/ -flutter_*.png -linked_*.ds -unlinked.ds -unlinked_spec.ds - -# Android related -**/android/**/gradle-wrapper.jar -**/android/.gradle -**/android/captures/ -**/android/gradlew -**/android/gradlew.bat -**/android/local.properties -**/android/**/GeneratedPluginRegistrant.java -**/android/key.properties -*.jks - -# iOS/XCode related -**/ios/**/*.mode1v3 -**/ios/**/*.mode2v3 -**/ios/**/*.moved-aside -**/ios/**/*.pbxuser -**/ios/**/*.perspectivev3 -**/ios/**/*sync/ -**/ios/**/.sconsign.dblite -**/ios/**/.tags* -**/ios/**/.vagrant/ -**/ios/**/DerivedData/ -**/ios/**/Icon? -**/ios/**/Pods/ -**/ios/**/.symlinks/ -**/ios/**/profile -**/ios/**/xcuserdata -**/ios/.generated/ -**/ios/Flutter/.last_build_id -**/ios/Flutter/App.framework -**/ios/Flutter/Flutter.framework -**/ios/Flutter/Flutter.podspec -**/ios/Flutter/Generated.xcconfig -**/ios/Flutter/app.flx -**/ios/Flutter/app.zip -**/ios/Flutter/flutter_assets/ -**/ios/Flutter/flutter_export_environment.sh -**/ios/ServiceDefinitions.json -**/ios/Runner/GeneratedPluginRegistrant.* - -# macOS related -**/macos/Flutter/GeneratedPluginRegistrant.swift -**/macos/Flutter/Flutter-Debug.xcconfig -**/macos/Flutter/Flutter-Release.xcconfig -**/macos/Flutter/Flutter-Profile.xcconfig - -# Windows related -**/windows/flutter/ephemeral/ -**/windows/**/*.suo -**/windows/**/*.user -**/windows/**/*.userosscache -**/windows/**/*.sln.docstates -**/windows/x64/ -**/windows/x86/ -**/windows/**/*.[Cc]ache -**/windows/**/!*.[Cc]ache/ - -# Web related -lib/generated_plugin_registrant.dart - -# Coverage -coverage/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Exceptions to above rules. -!**/ios/**/default.mode1v3 -!**/ios/**/default.mode2v3 -!**/ios/**/default.pbxuser -!**/ios/**/default.perspectivev3 -!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages -!/dev/ci/**/Gemfile.lock - -# Firebase related -.firebase - -# Dependency directories -node_modules/ - -# FVM -.fvm \ No newline at end of file diff --git a/.metadata b/.metadata deleted file mode 100644 index e7c10010..00000000 --- a/.metadata +++ /dev/null @@ -1,45 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled. - -version: - revision: 85684f9300908116a78138ea4c6036c35c9a1236 - channel: stable - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - base_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - - platform: android - create_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - base_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - - platform: ios - create_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - base_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - - platform: linux - create_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - base_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - - platform: macos - create_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - base_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - - platform: web - create_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - base_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - - platform: windows - create_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - base_revision: 85684f9300908116a78138ea4c6036c35c9a1236 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/.releaserc b/.releaserc deleted file mode 100644 index a10173d6..00000000 --- a/.releaserc +++ /dev/null @@ -1,75 +0,0 @@ -{ - "branches": [ - "main", - { - "name": "dev", - "prerelease": true - } - ], - "plugins": [ - "semantic-release-export-data", - "@semantic-release/commit-analyzer", - [ - "@semantic-release/release-notes-generator", - { - "presetConfig": { - "types": [ - { - "type": "build", - "section": "Dependency Updates" - }, - { - "type": "chore", - "section": "Other Changes", - "hidden": false - }, - { - "type": "perf", - "section": "Performance Improvements", - "hidden": false - }, - { - "type": "refactor", - "section": "Code Improvements", - "hidden": false - } - ] - } - } - ], - "@semantic-release/changelog", - "semantic-release-flutter-plugin", - [ - "@semantic-release/git", - { - "assets": [ - "CHANGELOG.md", - "pubspec.yaml" - ] - } - ], - [ - "@semantic-release/github", - { - "assets": [ - { - "path": "build/app/outputs/apk/release/revanced-manager-*.apk" - } - ], - "successComment": false - } - ], - [ - "@saithodev/semantic-release-backmerge", - { - "backmergeBranches": [ - { - "from": "main", - "to": "dev" - } - ], - "clearWorkspace": true - } - ] - ] -} diff --git a/.run/main.dart.run.xml b/.run/main.dart.run.xml deleted file mode 100644 index 4767aff8..00000000 --- a/.run/main.dart.run.xml +++ /dev/null @@ -1,6 +0,0 @@ -<component name="ProjectRunConfigurationManager"> - <configuration default="false" name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter"> - <option name="filePath" value="$PROJECT_DIR$/lib/main.dart" /> - <method v="2" /> - </configuration> -</component> \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index a09c28f5..00000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "Generate (Builder)", - "type": "shell", - "command": "flutter packages pub run build_runner build --delete-conflicting-outputs", - "problemMatcher": [] - }, - { - "label": "Build (Android)", - "type": "shell", - "command": "flutter build apk", - "problemMatcher": [], - "group": { - "kind": "build", - "isDefault": true - } - }, - { - "label": "Install (Android)", - "type": "shell", - "command": "adb install build\\app\\outputs\\flutter-apk\\app-release.apk", - "problemMatcher": [] - }, - { - "label": "Clean (Flutter)", - "type": "shell", - "command": "flutter clean && flutter pub get", - "problemMatcher": [] - }, - { - "label": "Clean (Builder)", - "type": "shell", - "command": "flutter packages pub run build_runner clean", - "problemMatcher": [] - }, - { - "label": "Build all (Android)", - "dependsOrder": "sequence", - "dependsOn": [ - "Generate (Builder)", - "Build (Android)" - ], - "problemMatcher": [] - }, - { - "label": "Clean all", - "dependsOrder": "sequence", - "dependsOn": [ - "Clean (Flutter)", - "Clean (Builder)" - ], - "problemMatcher": [] - }, - { - "label": "Clean all & Build all (Android)", - "dependsOrder": "sequence", - "dependsOn": [ - "Clean all", - "Build all (Android)" - ], - "problemMatcher": [] - }, - { - "label": "Clean all & Install (Android)", - "dependsOrder": "sequence", - "dependsOn": [ - "Clean all", - "Build all (Android)", - "Install (Android)", - ], - "problemMatcher": [] - }, - { - "label": "Build & Install (Android)", - "dependsOrder": "sequence", - "dependsOn": [ - "Build (Android)", - "Install (Android)" - ], - "problemMatcher": [] - }, - { - "label": "Validate translations", - "type": "shell", - "command": "flutter pub run flutter_i18n diff en.json pt.json", - "problemMatcher": [] - } - ] -} diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 8b137891..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/LICENSE b/LICENSE deleted file mode 100644 index f288702d..00000000 --- a/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - <program> Copyright (C) <year> <name of author> - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -<https://www.gnu.org/licenses/>. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -<https://www.gnu.org/licenses/why-not-lgpl.html>. diff --git a/README.md b/README.md deleted file mode 100644 index 07ed4a79..00000000 --- a/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# 💊 ReVanced Manager - -The official ReVanced Manager based on Flutter. - -## 🔽 Download -To download latest Manager, go [here](https://github.com/revanced/revanced-manager/releases/latest) and install the provided APK file. - -## 📝 Prerequisites -1. Android 8 or higher -2. Does not work on some armv7 devices - -## 🔴 Issues -For suggestions and bug reports, open an issue [here](https://github.com/revanced/revanced-manager/issues/new/choose). - -## 💭 Discussion -If you wish to discuss the Manager, a thread has been made under the [#development](https://discord.com/channels/952946952348270622/1002922226443632761) channel in the Discord server, please note that this thread may be temporary and may be removed in the future. - - -## 🌐 Translation -[![Crowdin](https://badges.crowdin.net/revanced/localized.svg)](https://crowdin.com/project/revanced) - -If you wish to translate ReVanced Manager, we're accepting translations on [Crowdin](https://translate.revanced.app) - -## 🛠️ Building Manager from source -1. Setup flutter environment for your [platform](https://docs.flutter.dev/get-started/install) -2. Clone the repository locally -3. Add your github token in gradle.properties like [this](/docs/4_building.md) -4. Open the project in terminal -5. Run `flutter pub get` in terminal -6. Then `flutter packages pub run build_runner build --delete-conflicting-outputs` (Must be done on each git pull) -7. To build release apk run `flutter build apk` diff --git a/analysis_options.yaml b/analysis_options.yaml deleted file mode 100644 index 1c02c24c..00000000 --- a/analysis_options.yaml +++ /dev/null @@ -1,163 +0,0 @@ -# This file configures the analyzer, which statically analyzes Dart code to -# check for errors, warnings, and lints. -# -# The issues identified by the analyzer are surfaced in the UI of Dart-enabled -# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be -# invoked from the command line by running `flutter analyze`. - -# The following line activates a set of recommended lints for Flutter apps, -# packages, and plugins designed to encourage good coding practices. -include: package:flutter_lints/flutter.yaml - -analyzer: - exclude: - - lib/app/app.locator.dart - - lib/app/app.router.dart - - lib/models/patch.g.dart - - lib/models/patched_application.g.dart - -linter: - rules: - - always_declare_return_types - - require_trailing_commas - - always_put_control_body_on_new_line - - always_require_non_null_named_parameters - - always_use_package_imports # we do this commonly - - annotate_overrides - - avoid_bool_literals_in_conditional_expressions - - avoid_double_and_int_checks - - avoid_empty_else - - avoid_equals_and_hash_code_on_mutable_classes - - avoid_escaping_inner_quotes - - avoid_field_initializers_in_const_classes - - avoid_function_literals_in_foreach_calls - - avoid_implementing_value_types - - avoid_init_to_null - - avoid_js_rounded_ints - - avoid_null_checks_in_equality_operators - - avoid_print - - avoid_redundant_argument_values - - avoid_relative_lib_imports - - avoid_renaming_method_parameters - - avoid_return_types_on_setters - - avoid_returning_null - - avoid_returning_null_for_future - - avoid_returning_null_for_void - - avoid_setters_without_getters - - avoid_shadowing_type_parameters - - avoid_single_cascade_in_expression_statements - - avoid_type_to_string - - avoid_types_as_parameter_names - - avoid_unnecessary_containers - - avoid_void_async - - avoid_web_libraries_in_flutter # we use web libraries in web-specific code, and our tests prevent us from using them elsewhere - - await_only_futures - - camel_case_extensions - - camel_case_types - - cancel_subscriptions - - cast_nullable_to_non_nullable - - close_sinks # not reliable enough - - control_flow_in_finally - - curly_braces_in_flow_control_structures - - depend_on_referenced_packages - - deprecated_consistency - - directives_ordering - - empty_catches - - empty_constructor_bodies - - empty_statements - - eol_at_end_of_file - - exhaustive_cases - - file_names - - flutter_style_todos - - hash_and_equals - - implementation_imports - - collection_methods_unrelated_type - - leading_newlines_in_multiline_strings - - library_names - - library_prefixes - - library_private_types_in_public_api - - missing_whitespace_between_adjacent_strings - - no_adjacent_strings_in_list - - no_duplicate_case_values - - no_logic_in_create_state - - non_constant_identifier_names - - noop_primitive_operations - - null_check_on_nullable_type_parameter - - null_closures - - overridden_fields - - package_api_docs - - package_names - - package_prefixed_library_names - - prefer_adjacent_string_concatenation - - prefer_asserts_in_initializer_lists - - prefer_collection_literals - - prefer_conditional_assignment - - prefer_const_constructors - - prefer_const_constructors_in_immutables - - prefer_const_declarations - - prefer_const_literals_to_create_immutables - - prefer_contains - - prefer_final_fields - - prefer_final_in_for_each - - prefer_final_locals - - prefer_for_elements_to_map_fromIterable - - prefer_foreach - - prefer_function_declarations_over_variables - - prefer_generic_function_type_aliases - - prefer_if_elements_to_conditional_expressions - - prefer_if_null_operators - - prefer_initializing_formals - - prefer_inlined_adds - - prefer_interpolation_to_compose_strings - - prefer_is_empty - - prefer_is_not_empty - - prefer_is_not_operator - - prefer_iterable_whereType - - prefer_mixin # Has false positives, see https://github.com/dart-lang/linter/issues/3018 - - prefer_null_aware_method_calls # "call()" is confusing to people new to the language since it's not documented anywhere - - prefer_null_aware_operators - - prefer_single_quotes - - prefer_spread_collections - - prefer_typing_uninitialized_variables - - prefer_void_to_null - - provide_deprecation_message - - recursive_getters - - sized_box_for_whitespace - - slash_for_doc_comments - - sort_child_properties_last - - sort_constructors_first - - sort_unnamed_constructors_first - - test_types_in_equals - - throw_in_finally - - tighten_type_of_initializing_formals - - type_init_formals - - unnecessary_brace_in_string_interps - - unnecessary_const - - unnecessary_getters_setters - - unnecessary_new - - unnecessary_null_aware_assignments - - unnecessary_null_checks - - unnecessary_null_in_if_null_operators - - unnecessary_nullable_for_final_variable_declarations - - unnecessary_overrides - - unnecessary_parenthesis - - unnecessary_statements - - unnecessary_string_escapes - - unnecessary_string_interpolations - - unnecessary_this - - unrelated_type_equality_checks - - unsafe_html - - use_build_context_synchronously - - use_full_hex_values_for_flutter_colors - - use_function_type_syntax_for_parameters - - use_if_null_to_convert_nulls_to_bools - - use_is_even_rather_than_modulo - - use_key_in_widget_constructors - - use_late_for_private_fields_and_variables - - use_named_constants - - use_raw_strings - - use_rethrow_when_possible - - use_setters_to_change_properties - - use_test_throws_matchers - - valid_regexps - - void_checks diff --git a/android/.gitignore b/android/.gitignore deleted file mode 100644 index 6f568019..00000000 --- a/android/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -gradle-wrapper.jar -/.gradle -/captures/ -/gradlew -/gradlew.bat -/local.properties -GeneratedPluginRegistrant.java - -# Remember to never publicly share your keystore. -# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app -key.properties -**/*.keystore -**/*.jks diff --git a/android/Gemfile b/android/Gemfile deleted file mode 100644 index 7a118b49..00000000 --- a/android/Gemfile +++ /dev/null @@ -1,3 +0,0 @@ -source "https://rubygems.org" - -gem "fastlane" diff --git a/android/app/build.gradle b/android/app/build.gradle deleted file mode 100644 index 8663736a..00000000 --- a/android/app/build.gradle +++ /dev/null @@ -1,92 +0,0 @@ -def localProperties = new Properties() -def localPropertiesFile = rootProject.file('local.properties') -if (localPropertiesFile.exists()) { - localPropertiesFile.withReader('UTF-8') { reader -> - localProperties.load(reader) - } -} - -def flutterRoot = localProperties.getProperty('flutter.sdk') -if (flutterRoot == null) { - throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") -} - -def flutterVersionCode = localProperties.getProperty('flutter.versionCode') -if (flutterVersionCode == null) { - flutterVersionCode = '1' -} - -def flutterVersionName = localProperties.getProperty('flutter.versionName') -if (flutterVersionName == null) { - flutterVersionName = '1.0' -} - -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' -apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" - -android { - compileSdkVersion flutter.compileSdkVersion - ndkVersion flutter.ndkVersion - - compileOptions { - sourceCompatibility JavaVersion.VERSION_11 - targetCompatibility JavaVersion.VERSION_11 - } - - kotlinOptions { - jvmTarget = '11' - } - - sourceSets { - main.java.srcDirs += 'src/main/kotlin' - } - - defaultConfig { - applicationId "app.revanced.manager.flutter" - minSdkVersion 26 - targetSdkVersion 33 - versionCode flutterVersionCode.toInteger() - versionName flutterVersionName - } - - buildTypes { - release { - resValue "string", "app_name", "ReVanced Manager" - signingConfig signingConfigs.debug - ndk { - abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64' - } - } - debug { - shrinkResources false - minifyEnabled false - resValue "string", "app_name", "ReVanced Manager Debug" - applicationIdSuffix ".debug" - signingConfig signingConfigs.debug - ndk { - abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64' - } - } - } - - packagingOptions { - exclude '/prebuilt/**' - } -} - -flutter { - source '../..' -} - -dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - - // ReVanced - implementation "app.revanced:revanced-patcher:11.0.4" - - // Signing & aligning - implementation("org.bouncycastle:bcpkix-jdk15on:1.70") - implementation("com.android.tools.build:apksig:7.2.2") - -} diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml deleted file mode 100644 index 2abfc8e9..00000000 --- a/android/app/src/debug/AndroidManifest.xml +++ /dev/null @@ -1,4 +0,0 @@ -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="app.revanced.manager.flutter"> - <uses-permission android:name="android.permission.INTERNET"/> -</manifest> diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml deleted file mode 100644 index 85483241..00000000 --- a/android/app/src/main/AndroidManifest.xml +++ /dev/null @@ -1,59 +0,0 @@ -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="app.revanced.manager.flutter"> - <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> - <uses-permission android:name="android.permission.INTERNET" /> - - <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> - <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> - <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" /> - - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" - android:maxSdkVersion="32" /> - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" - android:maxSdkVersion="32" /> - <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> - - <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /> - <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> - <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> - <uses-permission android:name="android.permission.WAKE_LOCK" /> - - <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> - <application - android:label="@string/app_name" - android:name="${applicationName}" - android:icon="@mipmap/ic_launcher" - android:largeHeap="true" - android:requestLegacyExternalStorage="true" - android:extractNativeLibs="true" - android:enableOnBackInvokedCallback="true"> - <activity - android:name=".MainActivity" - android:exported="true" - android:launchMode="singleTop" - android:theme="@style/LaunchTheme" - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" - android:hardwareAccelerated="true" - android:windowSoftInputMode="adjustResize"> - <meta-data - android:name="io.flutter.embedding.android.NormalTheme" - android:resource="@style/NormalTheme"/> - <intent-filter> - <action android:name="android.intent.action.MAIN"/> - <category android:name="android.intent.category.LAUNCHER"/> - </intent-filter> - </activity> - <meta-data - android:name="flutterEmbedding" - android:value="2" /> - <provider - android:name="androidx.core.content.FileProvider" - android:authorities="${applicationId}.fileProvider" - android:exported="false" - android:grantUriPermissions="true"> - <meta-data - android:name="android.support.FILE_PROVIDER_PATHS" - android:resource="@xml/file_paths" /> - </provider> - </application> -</manifest> diff --git a/android/app/src/main/jniLibs/arm64-v8a/libaapt2.so b/android/app/src/main/jniLibs/arm64-v8a/libaapt2.so deleted file mode 100644 index a8d0f848..00000000 Binary files a/android/app/src/main/jniLibs/arm64-v8a/libaapt2.so and /dev/null differ diff --git a/android/app/src/main/jniLibs/armeabi-v7a/libaapt2.so b/android/app/src/main/jniLibs/armeabi-v7a/libaapt2.so deleted file mode 100644 index 8506316d..00000000 Binary files a/android/app/src/main/jniLibs/armeabi-v7a/libaapt2.so and /dev/null differ diff --git a/android/app/src/main/jniLibs/x86/libaapt2.so b/android/app/src/main/jniLibs/x86/libaapt2.so deleted file mode 100644 index c96fc819..00000000 Binary files a/android/app/src/main/jniLibs/x86/libaapt2.so and /dev/null differ diff --git a/android/app/src/main/jniLibs/x86_64/libaapt2.so b/android/app/src/main/jniLibs/x86_64/libaapt2.so deleted file mode 100644 index e0b76b32..00000000 Binary files a/android/app/src/main/jniLibs/x86_64/libaapt2.so and /dev/null differ diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt deleted file mode 100644 index 2c8d7716..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt +++ /dev/null @@ -1,385 +0,0 @@ -package app.revanced.manager.flutter - -import android.os.Build -import android.os.Handler -import android.os.Looper -import androidx.annotation.NonNull -import app.revanced.manager.flutter.utils.Aapt -import app.revanced.manager.flutter.utils.aligning.ZipAligner -import app.revanced.manager.flutter.utils.signing.Signer -import app.revanced.manager.flutter.utils.zip.ZipFile -import app.revanced.manager.flutter.utils.zip.structures.ZipEntry -import app.revanced.patcher.Patcher -import app.revanced.patcher.PatcherOptions -import app.revanced.patcher.extensions.PatchExtensions.compatiblePackages -import app.revanced.patcher.extensions.PatchExtensions.patchName -import app.revanced.patcher.logging.Logger -import app.revanced.patcher.util.patch.PatchBundle -import dalvik.system.DexClassLoader -import io.flutter.embedding.android.FlutterActivity -import io.flutter.embedding.engine.FlutterEngine -import io.flutter.plugin.common.MethodChannel -import java.io.File - -private const val PATCHER_CHANNEL = "app.revanced.manager.flutter/patcher" -private const val INSTALLER_CHANNEL = "app.revanced.manager.flutter/installer" - -class MainActivity : FlutterActivity() { - private val handler = Handler(Looper.getMainLooper()) - private lateinit var installerChannel: MethodChannel - private var cancel: Boolean = false - private var stopResult: MethodChannel.Result? = null - - override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { - super.configureFlutterEngine(flutterEngine) - val mainChannel = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, PATCHER_CHANNEL) - installerChannel = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, INSTALLER_CHANNEL) - mainChannel.setMethodCallHandler { call, result -> - when (call.method) { - "runPatcher" -> { - val patchBundleFilePath = call.argument<String>("patchBundleFilePath") - val originalFilePath = call.argument<String>("originalFilePath") - val inputFilePath = call.argument<String>("inputFilePath") - val patchedFilePath = call.argument<String>("patchedFilePath") - val outFilePath = call.argument<String>("outFilePath") - val integrationsPath = call.argument<String>("integrationsPath") - val selectedPatches = call.argument<List<String>>("selectedPatches") - val cacheDirPath = call.argument<String>("cacheDirPath") - val keyStoreFilePath = call.argument<String>("keyStoreFilePath") - val keystorePassword = call.argument<String>("keystorePassword") - - if (patchBundleFilePath != null && - originalFilePath != null && - inputFilePath != null && - patchedFilePath != null && - outFilePath != null && - integrationsPath != null && - selectedPatches != null && - cacheDirPath != null && - keyStoreFilePath != null && - keystorePassword != null - ) { - cancel = false - runPatcher( - result, - patchBundleFilePath, - originalFilePath, - inputFilePath, - patchedFilePath, - outFilePath, - integrationsPath, - selectedPatches, - cacheDirPath, - keyStoreFilePath, - keystorePassword - ) - } else { - result.notImplemented() - } - } - "stopPatcher" -> { - cancel = true - stopResult = result - } - else -> result.notImplemented() - } - } - } - - private fun runPatcher( - result: MethodChannel.Result, - patchBundleFilePath: String, - originalFilePath: String, - inputFilePath: String, - patchedFilePath: String, - outFilePath: String, - integrationsPath: String, - selectedPatches: List<String>, - cacheDirPath: String, - keyStoreFilePath: String, - keystorePassword: String - ) { - val originalFile = File(originalFilePath) - val inputFile = File(inputFilePath) - val patchedFile = File(patchedFilePath) - val outFile = File(outFilePath) - val integrations = File(integrationsPath) - val keyStoreFile = File(keyStoreFilePath) - - Thread { - try { - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 0.1, - "header" to "", - "log" to "Copying original apk" - ) - ) - } - - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - - originalFile.copyTo(inputFile, true) - - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 0.2, - "header" to "Unpacking apk...", - "log" to "Unpacking input apk" - ) - ) - } - - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - - val patcher = - Patcher( - PatcherOptions( - inputFile, - cacheDirPath, - Aapt.binary(applicationContext).absolutePath, - cacheDirPath, - logger = ManagerLogger() - ) - ) - - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - - handler.post { - installerChannel.invokeMethod( - "update", - mapOf("progress" to 0.3, "header" to "", "log" to "") - ) - } - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 0.4, - "header" to "Merging integrations...", - "log" to "Merging integrations" - ) - ) - } - - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - - patcher.addIntegrations(listOf(integrations)) {} - - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 0.5, - "header" to "Applying patches...", - "log" to "" - ) - ) - } - - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - - val patches = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.CUPCAKE) { - PatchBundle.Dex( - patchBundleFilePath, - DexClassLoader( - patchBundleFilePath, - cacheDirPath, - null, - javaClass.classLoader - ) - ).loadPatches().filter { patch -> - (patch.compatiblePackages?.any { it.name == patcher.context.packageMetadata.packageName } == true || patch.compatiblePackages.isNullOrEmpty()) && - selectedPatches.any { it == patch.patchName } - } - } else { - TODO("VERSION.SDK_INT < CUPCAKE") - } - - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - - patcher.addPatches(patches) - patcher.executePatches().forEach { (patch, res) -> - if (res.isSuccess) { - val msg = "Applied $patch" - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 0.5, - "header" to "", - "log" to msg - ) - ) - } - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - return@forEach - } - val msg = - "Failed to apply $patch: " + "${res.exceptionOrNull()!!.message ?: res.exceptionOrNull()!!.cause!!::class.simpleName}" - handler.post { - installerChannel.invokeMethod( - "update", - mapOf("progress" to 0.5, "header" to "", "log" to msg) - ) - } - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - } - - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 0.7, - "header" to "Repacking apk...", - "log" to "Repacking patched apk" - ) - ) - } - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - val res = patcher.save() - ZipFile(patchedFile).use { file -> - res.dexFiles.forEach { - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - file.addEntryCompressData( - ZipEntry.createWithName(it.name), - it.stream.readBytes() - ) - } - res.resourceFile?.let { - file.copyEntriesFromFileAligned( - ZipFile(it), - ZipAligner::getEntryAlignment - ) - } - file.copyEntriesFromFileAligned( - ZipFile(inputFile), - ZipAligner::getEntryAlignment - ) - } - if(cancel) { - handler.post { stopResult!!.success(null) } - return@Thread - } - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 0.9, - "header" to "Signing apk...", - "log" to "" - ) - ) - } - - try { - Signer("ReVanced", keystorePassword).signApk( - patchedFile, - outFile, - keyStoreFile - ) - } catch (e: Exception) { - //log to console - print("Error signing apk: ${e.message}") - e.printStackTrace() - } - - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to 1.0, - "header" to "Finished!", - "log" to "Finished!" - ) - ) - } - } catch (ex: Throwable) { - val stack = ex.stackTraceToString() - handler.post { - installerChannel.invokeMethod( - "update", - mapOf( - "progress" to -100.0, - "header" to "Aborted...", - "log" to "An error occurred! Aborted\nError:\n$stack" - ) - ) - } - } - handler.post { result.success(null) } - }.start() - } - - inner class ManagerLogger : Logger { - override fun error(msg: String) { - handler.post { - installerChannel - .invokeMethod( - "update", - mapOf("progress" to -1.0, "header" to "", "log" to msg) - ) - } - } - - override fun warn(msg: String) { - handler.post { - installerChannel.invokeMethod( - "update", - mapOf("progress" to -1.0, "header" to "", "log" to msg) - ) - } - } - - override fun info(msg: String) { - handler.post { - installerChannel.invokeMethod( - "update", - mapOf("progress" to -1.0, "header" to "", "log" to msg) - ) - } - } - - override fun trace(_msg: String) { /* unused */ - } - } -} diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/Aapt.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/Aapt.kt deleted file mode 100644 index 72198e58..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/Aapt.kt +++ /dev/null @@ -1,12 +0,0 @@ -package app.revanced.manager.flutter.utils - -import android.content.Context -import java.io.File - -object Aapt { - fun binary(context: Context): File { - return File(context.applicationInfo.nativeLibraryDir).resolveAapt() - } -} - -private fun File.resolveAapt() = resolve(list { _, f -> !File(f).isDirectory && f.contains("aapt") }!!.first()) \ No newline at end of file diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/aligning/ZipAligner.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/aligning/ZipAligner.kt deleted file mode 100644 index 088aad59..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/aligning/ZipAligner.kt +++ /dev/null @@ -1,11 +0,0 @@ -package app.revanced.manager.flutter.utils.aligning - -import app.revanced.manager.flutter.utils.zip.structures.ZipEntry - -internal object ZipAligner { - private const val DEFAULT_ALIGNMENT = 4 - private const val LIBRARY_ALIGNMENT = 4096 - - fun getEntryAlignment(entry: ZipEntry): Int? = - if (entry.compression.toUInt() != 0u) null else if (entry.fileName.endsWith(".so")) LIBRARY_ALIGNMENT else DEFAULT_ALIGNMENT -} diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/signing/Signer.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/signing/Signer.kt deleted file mode 100644 index 1e1a08a2..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/signing/Signer.kt +++ /dev/null @@ -1,74 +0,0 @@ -package app.revanced.manager.flutter.utils.signing - -import com.android.apksig.ApkSigner -import org.bouncycastle.asn1.x500.X500Name -import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo -import org.bouncycastle.cert.X509v3CertificateBuilder -import org.bouncycastle.cert.jcajce.JcaX509CertificateConverter -import org.bouncycastle.jce.provider.BouncyCastleProvider -import org.bouncycastle.operator.ContentSigner -import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder -import java.io.File -import java.io.FileInputStream -import java.io.FileOutputStream -import java.math.BigInteger -import java.security.* -import java.security.cert.X509Certificate -import java.util.* - -internal class Signer( - private val cn: String, password: String -) { - private val passwordCharArray = password.toCharArray() - private fun newKeystore(out: File) { - val (publicKey, privateKey) = createKey() - val privateKS = KeyStore.getInstance("BKS", "BC") - privateKS.load(null, passwordCharArray) - privateKS.setKeyEntry("alias", privateKey, passwordCharArray, arrayOf(publicKey)) - privateKS.store(FileOutputStream(out), passwordCharArray) - } - - private fun createKey(): Pair<X509Certificate, PrivateKey> { - val gen = KeyPairGenerator.getInstance("RSA") - gen.initialize(2048) - val pair = gen.generateKeyPair() - var serialNumber: BigInteger - do serialNumber = - BigInteger.valueOf(SecureRandom().nextLong()) while (serialNumber < BigInteger.ZERO) - val x500Name = X500Name("CN=$cn") - val builder = X509v3CertificateBuilder( - x500Name, - serialNumber, - Date(System.currentTimeMillis() - 1000L * 60L * 60L * 24L * 30L), - Date(System.currentTimeMillis() + 1000L * 60L * 60L * 24L * 366L * 30L), - Locale.ENGLISH, - x500Name, - SubjectPublicKeyInfo.getInstance(pair.public.encoded) - ) - val signer: ContentSigner = JcaContentSignerBuilder("SHA256withRSA").build(pair.private) - return JcaX509CertificateConverter().getCertificate(builder.build(signer)) to pair.private - } - - fun signApk(input: File, output: File, ks: File) { - Security.addProvider(BouncyCastleProvider()) - - if (!ks.exists()) newKeystore(ks) - - val keyStore = KeyStore.getInstance("BKS", "BC") - FileInputStream(ks).use { fis -> keyStore.load(fis, null) } - val alias = keyStore.aliases().nextElement() - - val config = ApkSigner.SignerConfig.Builder( - cn, - keyStore.getKey(alias, passwordCharArray) as PrivateKey, - listOf(keyStore.getCertificate(alias) as X509Certificate) - ).build() - - val signer = ApkSigner.Builder(listOf(config)) - signer.setCreatedBy(cn) - signer.setInputApk(input) - signer.setOutputApk(output) - - signer.build().sign() - } -} diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/Extensions.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/Extensions.kt deleted file mode 100644 index 3ff0516d..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/Extensions.kt +++ /dev/null @@ -1,35 +0,0 @@ -@file:Suppress("unused") - -package app.revanced.manager.flutter.utils.zip - -import java.io.DataInput -import java.io.DataOutput -import java.nio.ByteBuffer - -fun UInt.toLittleEndian() = - (((this.toInt() and 0xff000000.toInt()) shr 24) or ((this.toInt() and 0x00ff0000) shr 8) or ((this.toInt() and 0x0000ff00) shl 8) or (this.toInt() shl 24)).toUInt() - -fun UShort.toLittleEndian() = (this.toUInt() shl 16).toLittleEndian().toUShort() - -fun UInt.toBigEndian() = (((this.toInt() and 0xff) shl 24) or ((this.toInt() and 0xff00) shl 8) - or ((this.toInt() and 0x00ff0000) ushr 8) or (this.toInt() ushr 24)).toUInt() - -fun UShort.toBigEndian() = (this.toUInt() shl 16).toBigEndian().toUShort() - -fun ByteBuffer.getUShort() = this.short.toUShort() -fun ByteBuffer.getUInt() = this.int.toUInt() - -fun ByteBuffer.putUShort(ushort: UShort): ByteBuffer = this.putShort(ushort.toShort()) -fun ByteBuffer.putUInt(uint: UInt): ByteBuffer = this.putInt(uint.toInt()) - -fun DataInput.readUShort() = this.readShort().toUShort() -fun DataInput.readUInt() = this.readInt().toUInt() - -fun DataOutput.writeUShort(ushort: UShort) = this.writeShort(ushort.toInt()) -fun DataOutput.writeUInt(uint: UInt) = this.writeInt(uint.toInt()) - -fun DataInput.readUShortLE() = this.readUShort().toBigEndian() -fun DataInput.readUIntLE() = this.readUInt().toBigEndian() - -fun DataOutput.writeUShortLE(ushort: UShort) = this.writeUShort(ushort.toLittleEndian()) -fun DataOutput.writeUIntLE(uint: UInt) = this.writeUInt(uint.toLittleEndian()) diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/ZipFile.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/ZipFile.kt deleted file mode 100644 index 2330938b..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/ZipFile.kt +++ /dev/null @@ -1,176 +0,0 @@ -package app.revanced.manager.flutter.utils.zip - -import app.revanced.manager.flutter.utils.zip.structures.ZipEndRecord -import app.revanced.manager.flutter.utils.zip.structures.ZipEntry -import java.io.Closeable -import java.io.File -import java.io.RandomAccessFile -import java.nio.ByteBuffer -import java.nio.channels.FileChannel -import java.util.zip.CRC32 -import java.util.zip.Deflater - -class ZipFile(file: File) : Closeable { - var entries: MutableList<ZipEntry> = mutableListOf() - - private val filePointer: RandomAccessFile = RandomAccessFile(file, "rw") - private var CDNeedsRewrite = false - - private val compressionLevel = 5 - - init { - //if file isn't empty try to load entries - if (file.length() > 0) { - val endRecord = findEndRecord() - - if (endRecord.diskNumber > 0u || endRecord.totalEntries != endRecord.diskEntries) - throw IllegalArgumentException("Multi-file archives are not supported") - - entries = readEntries(endRecord).toMutableList() - } - - //seek back to start for writing - filePointer.seek(0) - } - - private fun findEndRecord(): ZipEndRecord { - //look from end to start since end record is at the end - for (i in filePointer.length() - 1 downTo 0) { - filePointer.seek(i) - //possible beginning of signature - if (filePointer.readByte() == 0x50.toByte()) { - //seek back to get the full int - filePointer.seek(i) - val possibleSignature = filePointer.readUIntLE() - if (possibleSignature == ZipEndRecord.ECD_SIGNATURE) { - filePointer.seek(i) - return ZipEndRecord.fromECD(filePointer) - } - } - } - - throw Exception("Couldn't find end record") - } - - private fun readEntries(endRecord: ZipEndRecord): List<ZipEntry> { - filePointer.seek(endRecord.centralDirectoryStartOffset.toLong()) - - val numberOfEntries = endRecord.diskEntries.toInt() - - return buildList(numberOfEntries) { - for (i in 1..numberOfEntries) { - add( - ZipEntry.fromCDE(filePointer).also - { - //for some reason the local extra field can be different from the central one - it.readLocalExtra( - filePointer.channel.map( - FileChannel.MapMode.READ_ONLY, - it.localHeaderOffset.toLong() + 28, - 2 - ) - ) - }) - } - } - } - - private fun writeCD() { - val CDStart = filePointer.channel.position().toUInt() - - entries.forEach { - filePointer.channel.write(it.toCDE()) - } - - val entriesCount = entries.size.toUShort() - - val endRecord = ZipEndRecord( - 0u, - 0u, - entriesCount, - entriesCount, - filePointer.channel.position().toUInt() - CDStart, - CDStart, - "" - ) - - filePointer.channel.write(endRecord.toECD()) - } - - private fun addEntry(entry: ZipEntry, data: ByteBuffer) { - CDNeedsRewrite = true - - entry.localHeaderOffset = filePointer.channel.position().toUInt() - - filePointer.channel.write(entry.toLFH()) - filePointer.channel.write(data) - - entries.add(entry) - } - - fun addEntryCompressData(entry: ZipEntry, data: ByteArray) { - val compressor = Deflater(compressionLevel, true) - compressor.setInput(data) - compressor.finish() - - val uncompressedSize = data.size - val compressedData = - ByteArray(uncompressedSize) //i'm guessing compression won't make the data bigger - - val compressedDataLength = compressor.deflate(compressedData) - val compressedBuffer = - ByteBuffer.wrap(compressedData.take(compressedDataLength).toByteArray()) - - compressor.end() - - val crc = CRC32() - crc.update(data) - - entry.compression = 8u //deflate compression - entry.uncompressedSize = uncompressedSize.toUInt() - entry.compressedSize = compressedDataLength.toUInt() - entry.crc32 = crc.value.toUInt() - - addEntry(entry, compressedBuffer) - } - - private fun addEntryCopyData(entry: ZipEntry, data: ByteBuffer, alignment: Int? = null) { - alignment?.let { - //calculate where data would end up - val dataOffset = filePointer.filePointer + entry.LFHSize - - val mod = dataOffset % alignment - - //wrong alignment - if (mod != 0L) { - //add padding at end of extra field - entry.localExtraField = - entry.localExtraField.copyOf((entry.localExtraField.size + (alignment - mod)).toInt()) - } - } - - addEntry(entry, data) - } - - fun getDataForEntry(entry: ZipEntry): ByteBuffer { - return filePointer.channel.map( - FileChannel.MapMode.READ_ONLY, - entry.dataOffset.toLong(), - entry.compressedSize.toLong() - ) - } - - fun copyEntriesFromFileAligned(file: ZipFile, entryAlignment: (entry: ZipEntry) -> Int?) { - for (entry in file.entries) { - if (entries.any { it.fileName == entry.fileName }) continue //don't add duplicates - - val data = file.getDataForEntry(entry) - addEntryCopyData(entry, data, entryAlignment(entry)) - } - } - - override fun close() { - if (CDNeedsRewrite) writeCD() - filePointer.close() - } -} diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/structures/ZipEndRecord.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/structures/ZipEndRecord.kt deleted file mode 100644 index e7b9b58e..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/structures/ZipEndRecord.kt +++ /dev/null @@ -1,78 +0,0 @@ -package app.revanced.manager.flutter.utils.zip.structures - -import app.revanced.manager.flutter.utils.zip.putUInt -import app.revanced.manager.flutter.utils.zip.putUShort -import app.revanced.manager.flutter.utils.zip.readUIntLE -import app.revanced.manager.flutter.utils.zip.readUShortLE -import java.io.DataInput -import java.nio.ByteBuffer -import java.nio.ByteOrder - -data class ZipEndRecord( - val diskNumber: UShort, - val startingDiskNumber: UShort, - val diskEntries: UShort, - val totalEntries: UShort, - val centralDirectorySize: UInt, - val centralDirectoryStartOffset: UInt, - val fileComment: String, -) { - - companion object { - const val ECD_HEADER_SIZE = 22 - const val ECD_SIGNATURE = 0x06054b50u - - fun fromECD(input: DataInput): ZipEndRecord { - val signature = input.readUIntLE() - - if (signature != ECD_SIGNATURE) - throw IllegalArgumentException("Input doesn't start with end record signature") - - val diskNumber = input.readUShortLE() - val startingDiskNumber = input.readUShortLE() - val diskEntries = input.readUShortLE() - val totalEntries = input.readUShortLE() - val centralDirectorySize = input.readUIntLE() - val centralDirectoryStartOffset = input.readUIntLE() - val fileCommentLength = input.readUShortLE() - var fileComment = "" - - if (fileCommentLength > 0u) { - val fileCommentBytes = ByteArray(fileCommentLength.toInt()) - input.readFully(fileCommentBytes) - fileComment = fileCommentBytes.toString(Charsets.UTF_8) - } - - return ZipEndRecord( - diskNumber, - startingDiskNumber, - diskEntries, - totalEntries, - centralDirectorySize, - centralDirectoryStartOffset, - fileComment - ) - } - } - - fun toECD(): ByteBuffer { - val commentBytes = fileComment.toByteArray(Charsets.UTF_8) - - val buffer = ByteBuffer.allocate(ECD_HEADER_SIZE + commentBytes.size) - .also { it.order(ByteOrder.LITTLE_ENDIAN) } - - buffer.putUInt(ECD_SIGNATURE) - buffer.putUShort(diskNumber) - buffer.putUShort(startingDiskNumber) - buffer.putUShort(diskEntries) - buffer.putUShort(totalEntries) - buffer.putUInt(centralDirectorySize) - buffer.putUInt(centralDirectoryStartOffset) - buffer.putUShort(commentBytes.size.toUShort()) - - buffer.put(commentBytes) - - buffer.flip() - return buffer - } -} diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/structures/ZipEntry.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/structures/ZipEntry.kt deleted file mode 100644 index bda1398e..00000000 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/utils/zip/structures/ZipEntry.kt +++ /dev/null @@ -1,190 +0,0 @@ -package app.revanced.manager.flutter.utils.zip.structures - -import app.revanced.manager.flutter.utils.zip.* -import java.io.DataInput -import java.nio.ByteBuffer -import java.nio.ByteOrder - -data class ZipEntry( - val version: UShort, - val versionNeeded: UShort, - val flags: UShort, - var compression: UShort, - val modificationTime: UShort, - val modificationDate: UShort, - var crc32: UInt, - var compressedSize: UInt, - var uncompressedSize: UInt, - val diskNumber: UShort, - val internalAttributes: UShort, - val externalAttributes: UInt, - var localHeaderOffset: UInt, - val fileName: String, - val extraField: ByteArray, - val fileComment: String, - var localExtraField: ByteArray = ByteArray(0), //separate for alignment -) { - val LFHSize: Int - get() = LFH_HEADER_SIZE + fileName.toByteArray(Charsets.UTF_8).size + localExtraField.size - - val dataOffset: UInt - get() = localHeaderOffset + LFHSize.toUInt() - - companion object { - const val CDE_HEADER_SIZE = 46 - const val CDE_SIGNATURE = 0x02014b50u - - const val LFH_HEADER_SIZE = 30 - const val LFH_SIGNATURE = 0x04034b50u - - fun createWithName(fileName: String): ZipEntry { - return ZipEntry( - 0x1403u, //made by unix, version 20 - 0u, - 0u, - 0u, - 0x0821u, //seems to be static time google uses, no idea - 0x0221u, //same as above - 0u, - 0u, - 0u, - 0u, - 0u, - 0u, - 0u, - fileName, - ByteArray(0), - "" - ) - } - - fun fromCDE(input: DataInput): ZipEntry { - val signature = input.readUIntLE() - - if (signature != CDE_SIGNATURE) - throw IllegalArgumentException("Input doesn't start with central directory entry signature") - - val version = input.readUShortLE() - val versionNeeded = input.readUShortLE() - var flags = input.readUShortLE() - val compression = input.readUShortLE() - val modificationTime = input.readUShortLE() - val modificationDate = input.readUShortLE() - val crc32 = input.readUIntLE() - val compressedSize = input.readUIntLE() - val uncompressedSize = input.readUIntLE() - val fileNameLength = input.readUShortLE() - var fileName = "" - val extraFieldLength = input.readUShortLE() - val extraField = ByteArray(extraFieldLength.toInt()) - val fileCommentLength = input.readUShortLE() - var fileComment = "" - val diskNumber = input.readUShortLE() - val internalAttributes = input.readUShortLE() - val externalAttributes = input.readUIntLE() - val localHeaderOffset = input.readUIntLE() - - val variableFieldsLength = - fileNameLength.toInt() + extraFieldLength.toInt() + fileCommentLength.toInt() - - if (variableFieldsLength > 0) { - val fileNameBytes = ByteArray(fileNameLength.toInt()) - input.readFully(fileNameBytes) - fileName = fileNameBytes.toString(Charsets.UTF_8) - - input.readFully(extraField) - - val fileCommentBytes = ByteArray(fileCommentLength.toInt()) - input.readFully(fileCommentBytes) - fileComment = fileCommentBytes.toString(Charsets.UTF_8) - } - - flags = (flags and 0b1000u.inv() - .toUShort()) //disable data descriptor flag as they are not used - - return ZipEntry( - version, - versionNeeded, - flags, - compression, - modificationTime, - modificationDate, - crc32, - compressedSize, - uncompressedSize, - diskNumber, - internalAttributes, - externalAttributes, - localHeaderOffset, - fileName, - extraField, - fileComment, - ) - } - } - - fun readLocalExtra(buffer: ByteBuffer) { - buffer.order(ByteOrder.LITTLE_ENDIAN) - localExtraField = ByteArray(buffer.getUShort().toInt()) - } - - fun toLFH(): ByteBuffer { - val nameBytes = fileName.toByteArray(Charsets.UTF_8) - - val buffer = ByteBuffer.allocate(LFH_HEADER_SIZE + nameBytes.size + localExtraField.size) - .also { it.order(ByteOrder.LITTLE_ENDIAN) } - - buffer.putUInt(LFH_SIGNATURE) - buffer.putUShort(versionNeeded) - buffer.putUShort(flags) - buffer.putUShort(compression) - buffer.putUShort(modificationTime) - buffer.putUShort(modificationDate) - buffer.putUInt(crc32) - buffer.putUInt(compressedSize) - buffer.putUInt(uncompressedSize) - buffer.putUShort(nameBytes.size.toUShort()) - buffer.putUShort(localExtraField.size.toUShort()) - - buffer.put(nameBytes) - buffer.put(localExtraField) - - buffer.flip() - return buffer - } - - fun toCDE(): ByteBuffer { - val nameBytes = fileName.toByteArray(Charsets.UTF_8) - val commentBytes = fileComment.toByteArray(Charsets.UTF_8) - - val buffer = - ByteBuffer.allocate(CDE_HEADER_SIZE + nameBytes.size + extraField.size + commentBytes.size) - .also { it.order(ByteOrder.LITTLE_ENDIAN) } - - buffer.putUInt(CDE_SIGNATURE) - buffer.putUShort(version) - buffer.putUShort(versionNeeded) - buffer.putUShort(flags) - buffer.putUShort(compression) - buffer.putUShort(modificationTime) - buffer.putUShort(modificationDate) - buffer.putUInt(crc32) - buffer.putUInt(compressedSize) - buffer.putUInt(uncompressedSize) - buffer.putUShort(nameBytes.size.toUShort()) - buffer.putUShort(extraField.size.toUShort()) - buffer.putUShort(commentBytes.size.toUShort()) - buffer.putUShort(diskNumber) - buffer.putUShort(internalAttributes) - buffer.putUInt(externalAttributes) - buffer.putUInt(localHeaderOffset) - - buffer.put(nameBytes) - buffer.put(extraField) - buffer.put(commentBytes) - - buffer.flip() - return buffer - } -} - diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml deleted file mode 100644 index f74085f3..00000000 --- a/android/app/src/main/res/drawable-v21/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Modify this file to customize your launch splash screen --> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:drawable="?android:colorBackground" /> - - <!-- You can insert your own image assets here --> - <!-- <item> - <bitmap - android:gravity="center" - android:src="@mipmap/launch_image" /> - </item> --> -</layer-list> diff --git a/android/app/src/main/res/drawable/ic_launcher_foreground.xml b/android/app/src/main/res/drawable/ic_launcher_foreground.xml deleted file mode 100644 index d7092b33..00000000 --- a/android/app/src/main/res/drawable/ic_launcher_foreground.xml +++ /dev/null @@ -1,30 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:width="108dp" - android:height="108dp" - android:viewportWidth="256" - android:viewportHeight="256"> - <group android:scaleX="0.23" - android:scaleY="0.23" - android:translateX="98.56" - android:translateY="98.56"> - <path - android:pathData="M253.85,4.9C254.32,3.82 254.22,2.57 253.58,1.58C252.93,0.6 251.83,0 250.64,0C243.29,0 230.47,0 225.95,0C224.96,0 224.06,0.59 223.66,1.5C216.03,18.88 144.1,182.7 130.29,214.16C129.89,215.07 128.99,215.66 128,215.66C127.01,215.66 126.11,215.07 125.71,214.16C111.9,182.7 39.97,18.88 32.34,1.5C31.94,0.59 31.04,0 30.05,0C25.53,0 12.71,0 5.36,0C4.17,0 3.07,0.6 2.42,1.58C1.78,2.57 1.68,3.82 2.15,4.9C16.78,38.3 101.47,231.61 111.24,253.9C111.8,255.18 113.06,256 114.45,256C120.29,256 135.71,256 141.55,256C142.94,256 144.2,255.18 144.76,253.9C154.52,231.61 239.22,38.3 253.85,4.9Z" - android:fillColor="#ffffff"/> - <path - android:pathData="M130.59,131.75C130.06,132.68 129.07,133.25 128,133.25C126.93,133.25 125.94,132.68 125.4,131.75C113.45,111.06 63.88,25.19 51.93,4.5C51.4,3.57 51.4,2.43 51.93,1.5C52.47,0.57 53.46,-0 54.53,-0L201.47,-0C202.54,-0 203.53,0.57 204.06,1.5C204.6,2.43 204.6,3.57 204.06,4.5C192.12,25.19 142.54,111.06 130.59,131.75Z"> - <aapt:attr name="android:fillColor"> - <gradient - android:startX="128" - android:startY="-0" - android:endX="128" - android:endY="254.6" - android:type="linear"> - <item android:offset="0" android:color="#FFF04E98"/> - <item android:offset="0.5" android:color="#FF5F65D4"/> - <item android:offset="1" android:color="#FF4E98F0"/> - </gradient> - </aapt:attr> - </path> - </group> -</vector> diff --git a/android/app/src/main/res/drawable/ic_launcher_round.png b/android/app/src/main/res/drawable/ic_launcher_round.png deleted file mode 100644 index bef6f587..00000000 Binary files a/android/app/src/main/res/drawable/ic_launcher_round.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/ic_notification.png b/android/app/src/main/res/drawable/ic_notification.png deleted file mode 100644 index 30564097..00000000 Binary files a/android/app/src/main/res/drawable/ic_notification.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml deleted file mode 100644 index 304732f8..00000000 --- a/android/app/src/main/res/drawable/launch_background.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Modify this file to customize your launch splash screen --> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:drawable="@android:color/white" /> - - <!-- You can insert your own image assets here --> - <!-- <item> - <bitmap - android:gravity="center" - android:src="@mipmap/launch_image" /> - </item> --> -</layer-list> diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index ef49c991..00000000 --- a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@color/ic_launcher_background"/> - <foreground android:drawable="@drawable/ic_launcher_foreground"/> - <monochrome android:drawable="@drawable/ic_launcher_foreground"/> -</adaptive-icon> \ No newline at end of file diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 33b841f9..00000000 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index b8787842..00000000 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 3d1462ab..00000000 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index a604654d..00000000 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 1f59fa1d..00000000 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/android/app/src/main/res/values-night-v31/styles.xml b/android/app/src/main/res/values-night-v31/styles.xml deleted file mode 100644 index 581c5fca..00000000 --- a/android/app/src/main/res/values-night-v31/styles.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on --> - <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar"> - <!-- Show a splash screen on the activity. Automatically removed when - the Flutter engine draws its first frame --> - <item name="android:windowBackground">@drawable/launch_background</item> - <item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_launcher_round</item> - </style> - <!-- Theme applied to the Android Window as soon as the process has started. - This theme determines the color of the Android Window while your - Flutter UI initializes, as well as behind your Flutter UI while its - running. - - This Theme is only used starting with V2 of Flutter's Android embedding. --> - <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar"> - <item name="android:windowBackground">?android:colorBackground</item> - </style> -</resources> diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml deleted file mode 100644 index 06952be7..00000000 --- a/android/app/src/main/res/values-night/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on --> - <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar"> - <!-- Show a splash screen on the activity. Automatically removed when - the Flutter engine draws its first frame --> - <item name="android:windowBackground">@drawable/launch_background</item> - </style> - <!-- Theme applied to the Android Window as soon as the process has started. - This theme determines the color of the Android Window while your - Flutter UI initializes, as well as behind your Flutter UI while its - running. - - This Theme is only used starting with V2 of Flutter's Android embedding. --> - <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar"> - <item name="android:windowBackground">?android:colorBackground</item> - </style> -</resources> diff --git a/android/app/src/main/res/values-v31/styles.xml b/android/app/src/main/res/values-v31/styles.xml deleted file mode 100644 index 41f95cf1..00000000 --- a/android/app/src/main/res/values-v31/styles.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off --> - <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar"> - <!-- Show a splash screen on the activity. Automatically removed when - the Flutter engine draws its first frame --> - <item name="android:windowBackground">@drawable/launch_background</item> - <item name="android:windowSplashScreenAnimatedIcon">@drawable/ic_launcher_round</item> - </style> - <!-- Theme applied to the Android Window as soon as the process has started. - This theme determines the color of the Android Window while your - Flutter UI initializes, as well as behind your Flutter UI while its - running. - - This Theme is only used starting with V2 of Flutter's Android embedding. --> - <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar"> - <item name="android:windowBackground">?android:colorBackground</item> - </style> -</resources> - diff --git a/android/app/src/main/res/values/ic_launcher_background.xml b/android/app/src/main/res/values/ic_launcher_background.xml deleted file mode 100644 index 74008be8..00000000 --- a/android/app/src/main/res/values/ic_launcher_background.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="ic_launcher_background">#1B1B1B</color> -</resources> \ No newline at end of file diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml deleted file mode 100644 index cb1ef880..00000000 --- a/android/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off --> - <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar"> - <!-- Show a splash screen on the activity. Automatically removed when - the Flutter engine draws its first frame --> - <item name="android:windowBackground">@drawable/launch_background</item> - </style> - <!-- Theme applied to the Android Window as soon as the process has started. - This theme determines the color of the Android Window while your - Flutter UI initializes, as well as behind your Flutter UI while its - running. - - This Theme is only used starting with V2 of Flutter's Android embedding. --> - <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar"> - <item name="android:windowBackground">?android:colorBackground</item> - </style> -</resources> diff --git a/android/app/src/main/res/xml/file_paths.xml b/android/app/src/main/res/xml/file_paths.xml deleted file mode 100644 index d2e2c8de..00000000 --- a/android/app/src/main/res/xml/file_paths.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<paths> - <cache-path name="cache" path="." /> -</paths> diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml deleted file mode 100644 index 2abfc8e9..00000000 --- a/android/app/src/profile/AndroidManifest.xml +++ /dev/null @@ -1,4 +0,0 @@ -<manifest xmlns:android="http://schemas.android.com/apk/res/android" - package="app.revanced.manager.flutter"> - <uses-permission android:name="android.permission.INTERNET"/> -</manifest> diff --git a/android/build.gradle b/android/build.gradle deleted file mode 100644 index 88ac491c..00000000 --- a/android/build.gradle +++ /dev/null @@ -1,37 +0,0 @@ -buildscript { - ext.kotlin_version = '1.7.10' - repositories { - google() - mavenCentral() - } - - dependencies { - classpath 'com.android.tools.build:gradle:7.1.3' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - } -} - -allprojects { - repositories { - google() - mavenCentral() - maven { - url = uri("https://maven.pkg.github.com/revanced/revanced-patcher") - credentials { - username = (project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")) as String - password = (project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")) as String - } - } - mavenLocal() - } -} - -rootProject.buildDir = '../build' -subprojects { - project.buildDir = "${rootProject.buildDir}/${project.name}" - project.evaluationDependsOn(':app') -} - -tasks.register("clean", Delete) { - delete rootProject.buildDir -} diff --git a/android/gradle.properties b/android/gradle.properties deleted file mode 100644 index 4b11638c..00000000 --- a/android/gradle.properties +++ /dev/null @@ -1,6 +0,0 @@ -org.gradle.jvmargs=-Xmx1536M -XX:+UseParallelGC -org.gradle.parallel=true -org.gradle.daemon=true -org.gradle.caching=true -android.useAndroidX=true -android.enableJetifier=true diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index 76777308..00000000 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,7 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionSha256Sum=a01b6587e15fe7ed120a0ee299c25982a1eee045abd6a9dd5e216b2f628ef9ac -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip -networkTimeout=10000 -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/android/settings.gradle b/android/settings.gradle deleted file mode 100644 index 44e62bcf..00000000 --- a/android/settings.gradle +++ /dev/null @@ -1,11 +0,0 @@ -include ':app' - -def localPropertiesFile = new File(rootProject.projectDir, "local.properties") -def properties = new Properties() - -assert localPropertiesFile.exists() -localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } - -def flutterSdkPath = properties.getProperty("flutter.sdk") -assert flutterSdkPath != null, "flutter.sdk not set in local.properties" -apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" diff --git a/assets/i18n/en_US.json b/assets/i18n/en_US.json deleted file mode 100644 index 63e82677..00000000 --- a/assets/i18n/en_US.json +++ /dev/null @@ -1,306 +0,0 @@ -{ - "okButton": "OK", - "cancelButton": "Cancel", - "quitButton": "Quit", - "updateButton": "Update", - "enabledLabel": "Enabled", - "disabledLabel": "Disabled", - "installed":"Installed: {version}", - "suggested":"Suggested: {version}", - "yesButton": "Yes", - "noButton": "No", - "warning": "Warning", - "notice": "Notice", - "noShowAgain": "Don't show this again", - "new": "New", - "navigationView": { - "dashboardTab": "Dashboard", - "patcherTab": "Patcher", - "settingsTab": "Settings" - }, - "homeView": { - "refreshSuccess": "Refreshed successfully", - "widgetTitle": "Dashboard", - - "updatesSubtitle": "Updates", - "patchedSubtitle": "Patched applications", - - "noUpdates": "No updates available", - - "WIP": "Work in progress...", - - "noInstallations": "No patched applications installed", - "installUpdate": "Continue to install the update?", - - "updateDialogTitle": "Update Manager", - "updatePatchesDialogTitle": "Update ReVanced Patches", - "updateChangelogTitle": "Changelog", - - "patchesConsentDialogText": "ReVanced Patches needs to be downloaded.", - "patchesConsentDialogText2": "This will connect you to {url}.", - "patchesConsentDialogText3": "Auto update?", - "patchesConsentDialogText3Sub": "You can change this in settings at a later time.", - - "notificationTitle": "Update downloaded", - "notificationText": "Tap to install the update", - - "downloadingMessage": "Downloading update...", - "downloadedMessage": "Update downloaded!", - - "installingMessage": "Installing update...", - - "errorDownloadMessage": "Unable to download update", - "errorInstallMessage": "Unable to install update", - - "noConnection": "No internet connection", - "updatesDisabled": "Updating a patched app is currently disabled. Repatch the app again." - }, - "applicationItem": { - "patchButton": "Patch", - "infoButton": "Info", - "changelogLabel": "Changelog" - }, - "latestCommitCard": { - "loadingLabel": "Loading...", - "timeagoLabel": "{time} ago", - "patcherLabel": "Patcher: ", - "managerLabel": "Manager: ", - "updateButton": "Update Manager" - }, - "patcherView": { - "widgetTitle": "Patcher", - "patchButton": "Patch", - - "patchDialogText": "You have selected a resource patch and a split APK installation has been detected, so patching errors may occur.\nAre you sure you want to proceed?", - "armv7WarningDialogText": "Patching on ARMv7 devices is not yet supported and might fail. Proceed anyways?", - "splitApkWarningDialogText": "Patching a split APK is not yet supported and might fail. Proceed anyways?", - "removedPatchesWarningDialogText": "The following patches have been removed since the last time you used them.\n\n{patches}\n\nProceed anyways?" - }, - "appSelectorCard": { - "widgetTitle": "Select an application", - "widgetTitleSelected": "Selected application", - "widgetSubtitle": "No application selected", - - "noAppsLabel": "No applications found", - "notInstalled":"App not installed", - - "currentVersion": "Current", - "suggestedVersion": "Suggested", - "allVersions": "All versions" - }, - "patchSelectorCard": { - "widgetTitle": "Select patches", - "widgetTitleSelected": "Selected patches", - - "widgetSubtitle": "Select an application first", - "widgetEmptySubtitle": "No patches selected" - }, - "socialMediaCard": { - "widgetTitle": "Socials", - "widgetSubtitle": "We are online!" - }, - "appSelectorView": { - "viewTitle": "Select an application", - "searchBarHint": "Search applications", - - "storageButton": "Storage", - "selectFromStorageButton": "Select from storage", - - "errorMessage": "Unable to use selected application", - - "downloadToast": "Download function is not available yet", - - "featureNotAvailable": "Feature not implemented", - "featureNotAvailableText": "This application is a split APK and cannot be selected. Unfortunately, this feature is only available for rooted users at the moment. However, you can still install the application by selecting its APK files from your device's storage instead" - }, - "patchesSelectorView": { - "viewTitle": "Select patches", - "searchBarHint": "Search patches", - "universalPatches": "Universal patches", - - "doneButton": "Done", - - "default": "Default", - "defaultTooltip": "Select all default patches", - - "none": "None", - "noneTooltip": "Deselect all patches", - - "loadPatchesSelection": "Load patches selection", - "noSavedPatches": "No saved patches for the selected app.\nPress Done to save current selection.", - "noPatchesFound": "No patches found for the selected app", - - "selectAllPatchesWarningContent": "You are about to select all patches, that includes non-suggested patches and can cause unwanted behavior." - }, - "patchItem": { - "unsupportedDialogText": "Selecting this patch may result in patching errors.\n\nApp version: {packageVersion}\nSupported versions:\n{supportedVersions}", - "unsupportedPatchVersion": "Patch is not supported for this app version. Enable the experimental toggle in settings to proceed.", - - "newPatchDialogText": "This is a new patch that has been added since the last time you have patched this app.", - "newPatch": "New patch", - - "patchesChangeWarningDialogText": "It is recommended to use the default selection of patches because changing it may cause unexpected issues.\n\nIf you know what you are doing, you can enable \"Enable changing selection\" in the settings.", - "patchesChangeWarningDialogButton": "Use default selection" - }, - "installerView": { - "widgetTitle": "Installer", - "installType": "Select install type", - "installTypeDescription": "Select the installation type to proceed with.", - - "installButton": "Install", - "installRootType": "Root", - "installNonRootType": "Non-root", - "installRecommendedType": "Recommended", - - "pressBackAgain": "Press back again to cancel", - "openButton": "Open", - "shareButton": "Share file", - - "notificationTitle": "ReVanced Manager is patching", - "notificationText": "Tap to return to the installer", - - "exportApkButtonTooltip": "Export patched APK", - "exportLogButtonTooltip": "Export log", - - "installErrorDialogTitle": "Error", - "installErrorDialogText1": "Root install is not possible with the current patches selection.\nRepatch your app or choose non-root install.", - "installErrorDialogText2": "Non-root install is not possible with the current patches selection.\nRepatch your app or choose root install if you have your device rooted.", - "installErrorDialogText3": "Root install is not possible as the original APK was selected from storage.\nSelect an installed app or choose non-root install.", - "noExit": "Installer is still running, cannot exit..." - }, - "settingsView": { - "widgetTitle": "Settings", - - "appearanceSectionTitle": "Appearance", - "teamSectionTitle": "Team", - "infoSectionTitle": "Info", - "advancedSectionTitle": "Advanced", - "exportSectionTitle": "Import & export", - "logsSectionTitle": "Logs", - - "darkThemeLabel": "Dark mode", - "darkThemeHint": "Welcome to the dark side", - - "dynamicThemeLabel": "Material You", - "dynamicThemeHint": "Enjoy an experience closer to your device", - - "languageLabel": "Language", - "englishOption": "English", - - "sourcesLabel": "Sources", - "sourcesLabelHint": "Configure your custom sources", - "sourcesIntegrationsLabel": "Integrations source", - "sourcesResetDialogTitle": "Reset", - "sourcesResetDialogText": "Are you sure you want to reset custom sources to their default values?", - "apiURLResetDialogText": "Are you sure you want to reset API URL to its default value?", - "sourcesUpdateNote": "Note: ReVanced Patches will be updated to the latest version automatically.\n\nThis will reveal your IP address to the server.", - - "apiURLLabel": "API URL", - "apiURLHint": "Configure your custom API URL", - "selectApiURL": "API URL", - "hostRepositoryLabel": "Repository API", - "orgPatchesLabel": "Patches organization", - "sourcesPatchesLabel": "Patches source", - "orgIntegrationsLabel": "Integrations organization", - - "contributorsLabel": "Contributors", - "contributorsHint": "A list of contributors of ReVanced", - - "logsLabel": "Logs", - "logsHint": "Share Manager's logs", - - "enablePatchesSelectionLabel": "Enable changing selection", - "enablePatchesSelectionHint": "Enable changing the selection of patches.", - "enablePatchesSelectionWarningText": "Changing the default selection of patches may cause unexpected issues.\n\nEnable anyways?", - "disablePatchesSelectionWarningText": "You are about to disable changing the selection of patches.\nThe default selection of patches will be restored.\n\nDisable anyways?", - - "autoUpdatePatchesLabel": "Auto update patches", - "autoUpdatePatchesHint": "Automatically update ReVanced Patches to the latest version", - "experimentalUniversalPatchesLabel": "Experimental universal patches support", - "experimentalUniversalPatchesHint": "Display all applications to use with universal patches, loading list of apps may be slower", - "experimentalPatchesLabel": "Experimental patches support", - "experimentalPatchesHint": "Enable usage of unsupported patches in any app version", - "enabledExperimentalPatches": "Experimental patches support enabled", - - "aboutLabel": "About", - "snackbarMessage": "Copied to clipboard", - "restartAppForChanges": "Restart the app to apply changes", - - "deleteTempDirLabel": "Delete temporary files", - "deleteTempDirHint": "Delete unused temporary files", - "deletedTempDir": "Temporary files deleted", - - "exportPatchesLabel": "Export patches selection", - "exportPatchesHint": "Export patches selection to a JSON file", - "exportedPatches": "Patches selection exported", - "noExportFileFound": "No patches selection to export", - - "importPatchesLabel": "Import patches selection", - "importPatchesHint": "Import patches selection from a JSON file", - "importedPatches": "Patches selection imported", - - "resetStoredPatchesLabel": "Reset patches", - "resetStoredPatchesHint": "Reset the stored patches selection", - - "resetStoredPatchesDialogTitle": "Reset patches selection?", - "resetStoredPatchesDialogText": "Resetting patches selection will remove all selected patches.", - "resetStoredPatches": "Patches selection has been reset", - - "deleteLogsLabel": "Delete logs", - "deleteLogsHint": "Delete collected manager logs", - "deletedLogs": "Logs deleted", - - "regenerateKeystoreLabel": "Regenerate keystore", - "regenerateKeystoreHint": "Regenerate the keystore used to sign the app", - - "regenerateKeystoreDialogTitle": "Regenerate keystore?", - "regenerateKeystoreDialogText": "Patched apps signed with the old keystore will no longer be able to update.", - "regeneratedKeystore": "Keystore regenerated", - - "exportKeystoreLabel": "Export keystore", - "exportKeystoreHint": "Export keystore used to sign apps", - "exportedKeystore": "Keystore exported", - "noKeystoreExportFileFound": "No keystore to export", - - "importKeystoreLabel": "Import keystore", - "importKeystoreHint": "Import keystore used to sign apps", - "importedKeystore": "Keystore imported", - - "selectKeystorePassword": "Keystore Password", - "selectKeystorePasswordHint": "Select keystore password used to sign the apk", - - "jsonSelectorErrorMessage": "Unable to use selected JSON file", - "keystoreSelectorErrorMessage": "Unable to use selected KEYSTORE file" - }, - "appInfoView": { - "widgetTitle": "App info", - "openButton": "Open", - "uninstallButton": "Uninstall", - "unpatchButton": "Unpatch", - "rootDialogTitle": "Error", - - "unpatchDialogText": "Are you sure you want to unpatch this app?", - "rootDialogText": "App was installed with superuser permissions, but currently ReVanced Manager has no permissions.\nPlease grant superuser permissions first.", - - "packageNameLabel": "Package name", - "originalPackageNameLabel": "Original package name", - "installTypeLabel": "Installation type", - "rootTypeLabel": "Root", - "nonRootTypeLabel": "Non-root", - "patchedDateLabel": "Patched date", - "appliedPatchesLabel": "Applied patches", - - "patchedDateHint": "{date} at {time}", - "appliedPatchesHint": "{quantity} applied patches", - - "updateNotImplemented": "This feature has not been implemented yet" - }, - "contributorsView": { - "widgetTitle": "Contributors", - "patcherContributors": "Patcher contributors", - "patchesContributors": "Patches contributors", - "integrationsContributors": "Integrations contributors", - "cliContributors": "CLI contributors", - "managerContributors": "Manager contributors" - } -} diff --git a/crowdin.yml b/crowdin.yml deleted file mode 100644 index 177682aa..00000000 --- a/crowdin.yml +++ /dev/null @@ -1,9 +0,0 @@ -project_id_env: CROWDIN_PROJECT_ID -api_token_env: CROWDIN_PERSONAL_TOKEN - -commit_message: 'chore(i18n): sync translations' - -preserve_hierarchy: true -files: - - source: assets/i18n/en_US.json - translation: assets/i18n/%locale_with_underscore%.json \ No newline at end of file diff --git a/docs/0_prerequisites.md b/docs/0_prerequisites.md deleted file mode 100644 index a53b46fb..00000000 --- a/docs/0_prerequisites.md +++ /dev/null @@ -1,16 +0,0 @@ -# 💼 Prerequisites - -In order to use ReVanced Manager, certain requirements must be met. - -## 🤝 Requirements - -- An Android device running Android 8 or higher -- Any device architecture except ARMv7[^1] - -[^1]: This constraint only applies to patches, that require patching APK resources which is why some patches may or may not work on ARMv7 architecture. You can find out, which architectures your device supports here: [⚙️ Configuring ReVanced Manager](2_4_settings.md#%E2%84%B9%EF%B8%8F-about). - -## ⏭️ What's next - -The next page will guide you through patching an app. - -Continue: [⬇️ Installation](1_installation.md) diff --git a/docs/1_installation.md b/docs/1_installation.md deleted file mode 100644 index d4c08984..00000000 --- a/docs/1_installation.md +++ /dev/null @@ -1,14 +0,0 @@ -# ⬇️ Installation - -In order to use ReVanced on your Android device, ReVanced Manager must be installed. - -## ✅ Installation steps - -1. Download the latest version of ReVanced Manager from [here](https://github.com/revanced/revanced-manager/releases/latest) -2. Install ReVanced Manager - -## ⏭️ What's next - -The next page will guide you through using ReVanced Manager. - -Continue: [🛠️ Usage](2_usage.md) diff --git a/docs/2_1_patching.md b/docs/2_1_patching.md deleted file mode 100644 index 428660ce..00000000 --- a/docs/2_1_patching.md +++ /dev/null @@ -1,27 +0,0 @@ -# 🧩 Patching apps - -The following pages will guide you through using ReVanced Manager to patch apps. - -## ✅ Steps to patch apps - -1. Navigate to the **Patcher** tab from the bottom navigation bar -2. Tap on the **Select an app** card -3. Choose an app to patch[^1] - > **Note**: The suggested version is visible in each app's card. -4. Tap on the **Select patches** card and select the patches you want to apply[^2] - > **Warning**: If you see a warning you can click on it for more information. -5. Tap on the **Done** then **Patch** button - > **Warning**: The patching process may take ~5 minutes. Exiting the app may increase the time it takes to patch. -6. Tap on the **Install** button - > **Note**: If you are rooted, you can mount the patched app on top of the original app.[^3] - > Optionally, you may export the patched app to storage using the options in the top right corner. - -[^1]: Non-root users may be prompted to select an APK from storage, in which case you have to source the APK file yourself. ReVanced does not provide any APK files. -[^2]: It is suggested to use the default set of patches by tapping on the **Default** button above the list of patches. -[^3]: Mounting the patched app on top of the original app will only work if the installed app version matches the version of the app selected in step 3. above. - -## ⏭️ What's next - -The next page will bring you back to the usage page. - -Continue: [🛠️ Usage](2_usage.md) diff --git a/docs/2_2_managing.md b/docs/2_2_managing.md deleted file mode 100644 index 1ad02229..00000000 --- a/docs/2_2_managing.md +++ /dev/null @@ -1,15 +0,0 @@ -# 🧰 Managing patched apps - -After patching an app, you may want to manage it. This page will guide you through managing patched apps. - -## ✅ Steps to manage patched apps - -1. Tap on the **Dashboard** tab in the bottom navigation bar -2. Tap on the **Info** button for the app you want to manage -3. Choose one of the options from the menu - -## ⏭️ What's next - -The next page will bring you back to the usage page. - -Continue: [🛠️ Usage](2_usage.md) diff --git a/docs/2_3_updating.md b/docs/2_3_updating.md deleted file mode 100644 index 9851ac90..00000000 --- a/docs/2_3_updating.md +++ /dev/null @@ -1,14 +0,0 @@ -# 🔄 Updating ReVanced Manager - -In order to keep up with the latest features and bug fixes, it is recommended to keep ReVanced Manager up to date. - -## ✅ Updating steps - -1. Navigate to the **Dashboard** tab from the bottom navigation bar -2. Tap on the **Update** button in the **Updates** section - -## ⏭️ What's next - -The next page will bring you back to the usage page. - -Continue: [🛠️ Usage](2_usage.md) diff --git a/docs/2_4_settings.md b/docs/2_4_settings.md deleted file mode 100644 index 008cda46..00000000 --- a/docs/2_4_settings.md +++ /dev/null @@ -1,39 +0,0 @@ -# ⚙️ Configuring ReVanced Manager - -ReVanced Manager has settings that can be configured to your liking. - -## ⭐ Essential settings - -- ### 🔗 API URL - - Specify the URL of the API to use. This is used to fetch ReVanced Patches and update ReVanced Manager. - -- ### 🧬 Sources - - Override the API and change the source of ReVanced Patches. - -- ### 🧪 Experimental ReVanced Patches support - - Lift app version constraints from ReVanced Patches. This allows you to patch any version of an app, even if the patch is not explicitly compatible with it. - -- ### 🧑‍🔬 Experimental universal support - - This will show or hide ReVanced Patches, which are not meant for any app in particular but rather for all apps but may not work on all apps. - -- ### 🔑 Export, import or delete keystore - - Manage the keystore used to sign patched apps. - -- ### 📄 Export, import or reset ReVanced Patches selection - - Manage the ReVanced Patches selection. This is useful if you want to share your ReVanced Patches selection with others or reset it to the default selection. - -- ### ℹ️ About - - View information about your device and ReVanced Manager. This includes the version of ReVanced Manager and supported architectures of your device. - -## ⏭️ What's next - -The next page will bring you back to the usage page. - -Continue: [🛠️ Usage](2_usage.md) diff --git a/docs/2_usage.md b/docs/2_usage.md deleted file mode 100644 index f079782f..00000000 --- a/docs/2_usage.md +++ /dev/null @@ -1,16 +0,0 @@ -# 🛠️ Usage - -The following pages will guide you through using ReVanced Manager to patch apps, manage patched apps, and update ReVanced Manager. - -## 📖 Table of contents - -1. [🧩 Patching apps](2_1_patching.md) -2. [🧰 Managing patched apps](2_2_managing.md) -3. [🔄 Updating ReVanced Manager](2_3_updating.md) -4. [⚙️ Configuring ReVanced Manager](2_4_settings.md) - -## ⏭️ What's next - -The next page will guide you through troubleshooting ReVanced Manager. - -Continue: [❔ Troubleshooting](3_troubleshooting.md) diff --git a/docs/3_troubleshooting.md b/docs/3_troubleshooting.md deleted file mode 100644 index 5a860c6b..00000000 --- a/docs/3_troubleshooting.md +++ /dev/null @@ -1,31 +0,0 @@ -# ❔ Troubleshooting - -In case you encounter any issues while using ReVanced Manager, please refer to this page for possible solutions. - -- 💉 Patching fails with an error - - Make sure ReVanced Manager is up to date by following [🔄 Updating ReVanced Manager](2_3_updating.md) and select the **Default** button when choosing patches. - -- 💥 App not installed as package conflicts with an existing package - - An existing installation of the app you're trying to patch is conflicting with the patched app. Uninstall the existing app before installing the patched app. - -- ❗️ Error code `135`, `139` or `1` when patching the app - - Your device is not supported. Refer to the [Prerequisites](0_prerequisites.md) page for supported devices. - - Alternatively, you can use [ReVanced CLI](https://github.com/revanced/revanced-cli) to patch the app. - -- 🚫 Non-root install is not possible with the current patches selection - - Select the **Default** button when choosing patches. - -- 🚨 Patched app crashes on launch - - Select the **Default** button when choosing patches. - -## ⏭️ What's next - -The next page will teach you how to build ReVanced Manager from source. - -Continue: [🔨 Building from source](4_building.md) diff --git a/docs/4_building.md b/docs/4_building.md deleted file mode 100644 index d4c0887c..00000000 --- a/docs/4_building.md +++ /dev/null @@ -1,40 +0,0 @@ -# 🛠️ Building from source - -This page will guide you through building ReVanced Manager from source. - -1. Setup the Flutter environment for your [platform](https://docs.flutter.dev/get-started/install) - -2. Clone the repository - - ```sh - git clone https://github.com/revanced/revanced-manager.git && cd revanced-manager - ``` - -3. Create a GitHub personal access token with the `read:packages` scope [here](https://github.com/settings/tokens/new?scopes=read:packages&description=ReVanced) - -4. Add your GitHub username and the token to `~/.gradle/gradle.properties` - - ```properties - gpr.user = YourUsername - gpr.key = ghp_longrandomkey - ``` - -5. Get dependencies - - ```sh - flutter pub get - ``` - -6. Delete conflicting outputs - - ```sh - flutter packages pub run build_runner build --delete-conflicting-outputs - ``` - - > **Note**: Must be run every time you sync your local repository with the remote repository. - -7. Build the APK - - ```sh - flutter build apk - ``` diff --git a/docs/README.md b/docs/README.md deleted file mode 100644 index af2926b6..00000000 --- a/docs/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# 💊 ReVanced Manager - -This documentation explains how to use [ReVanced Manager](https://github.com/revanced/revanced-manager). - -## 📖 Table of contents - -0. [💼 Prerequisites](0_prerequisites.md) -1. [⬇️ Installation](1_installation.md) -2. [🛠️ Usage](2_usage.md) - 1. [🧩 Patching apps](2_1_patching.md) - 2. [🧰 Managing patched apps](2_2_managing.md) - 3. [🔄 Updating ReVanced Manager](2_3_updating.md) - 4. [⚙️ Configuring ReVanced Manager](2_4_settings.md) -3. [❔ Troubleshooting](3_troubleshooting.md) -4. [🔨 Building from source](4_building.md) - -## ⏭️ Start here - -The next page will tell you about the prerequisites for using ReVanced Manager. - -Continue: [💼 Prerequisites](0_prerequisites.md) diff --git a/fastlane/Appfile b/fastlane/Appfile deleted file mode 100644 index 5f978f40..00000000 --- a/fastlane/Appfile +++ /dev/null @@ -1,2 +0,0 @@ -json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one -package_name("app.revanced.manager.flutter") # e.g. com.krausefx.app diff --git a/fastlane/Fastfile b/fastlane/Fastfile deleted file mode 100644 index 19c557cc..00000000 --- a/fastlane/Fastfile +++ /dev/null @@ -1,38 +0,0 @@ -# This file contains the fastlane.tools configuration -# You can find the documentation at https://docs.fastlane.tools -# -# For a list of all available actions, check out -# -# https://docs.fastlane.tools/actions -# -# For a list of all available plugins, check out -# -# https://docs.fastlane.tools/plugins/available-plugins -# - -# Uncomment the line if you want fastlane to automatically update itself -# update_fastlane - -default_platform(:android) - -platform :android do - desc "Runs all the tests" - lane :test do - gradle(task: "test") - end - - desc "Submit a new Beta Build to Crashlytics Beta" - lane :beta do - gradle(task: "clean assembleRelease") - crashlytics - - # sh "your_script.sh" - # You can also use other beta testing services here - end - - desc "Deploy a new version to the Google Play" - lane :deploy do - gradle(task: "clean assembleRelease") - upload_to_play_store - end -end diff --git a/fastlane/README.md b/fastlane/README.md deleted file mode 100644 index 7ec1207f..00000000 --- a/fastlane/README.md +++ /dev/null @@ -1,48 +0,0 @@ -fastlane documentation ----- - -# Installation - -Make sure you have the latest version of the Xcode command line tools installed: - -```sh -xcode-select --install -``` - -For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) - -# Available Actions - -## Android - -### android test - -```sh -[bundle exec] fastlane android test -``` - -Runs all the tests - -### android beta - -```sh -[bundle exec] fastlane android beta -``` - -Submit a new Beta Build to Crashlytics Beta - -### android deploy - -```sh -[bundle exec] fastlane android deploy -``` - -Deploy a new version to the Google Play - ----- - -This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. - -More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). - -The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt deleted file mode 100644 index 673becbc..00000000 --- a/fastlane/metadata/android/en-US/full_description.txt +++ /dev/null @@ -1 +0,0 @@ -ReVanced Manager is an Android application that uses ReVanced Patcher to add, remove, and modify existing functionalities in Android applications diff --git a/fastlane/metadata/android/en-US/images/featureGraphic.png b/fastlane/metadata/android/en-US/images/featureGraphic.png deleted file mode 100644 index a872ceb7..00000000 Binary files a/fastlane/metadata/android/en-US/images/featureGraphic.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/icon.png b/fastlane/metadata/android/en-US/images/icon.png deleted file mode 100644 index bef6f587..00000000 Binary files a/fastlane/metadata/android/en-US/images/icon.png and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg b/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg deleted file mode 100644 index 4cc5f0c8..00000000 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/1.jpg and /dev/null differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg b/fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg deleted file mode 100644 index cb854351..00000000 Binary files a/fastlane/metadata/android/en-US/images/phoneScreenshots/2.jpg and /dev/null differ diff --git a/fastlane/metadata/android/en-US/short_description.txt b/fastlane/metadata/android/en-US/short_description.txt deleted file mode 100644 index 15d7c30f..00000000 --- a/fastlane/metadata/android/en-US/short_description.txt +++ /dev/null @@ -1 +0,0 @@ -Patch your favorite apps, right on your device. diff --git a/fastlane/metadata/android/en-US/title.txt b/fastlane/metadata/android/en-US/title.txt deleted file mode 100644 index 897c96af..00000000 --- a/fastlane/metadata/android/en-US/title.txt +++ /dev/null @@ -1 +0,0 @@ -ReVanced Manager \ No newline at end of file diff --git a/fastlane/report.xml b/fastlane/report.xml deleted file mode 100644 index 35ac130b..00000000 --- a/fastlane/report.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<testsuites> - <testsuite name="fastlane.lanes"> - - - - - <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000332814"> - - </testcase> - - - <testcase classname="fastlane.lanes" name="1: test" time="295.947688054"> - - <failure message="/var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/actions/actions_helper.rb:67:in `execute_action' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:229:in `chdir' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:229:in `execute_action' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing' Fastfile:21:in `block (2 levels) in parsing_binding' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/lane.rb:33:in `call' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:49:in `block in execute' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:45:in `chdir' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:45:in `execute' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run' /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call' /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run' /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!' /var/lib/gems/3.0.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:354:in `run' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:43:in `start' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off' /var/lib/gems/3.0.0/gems/fastlane-2.212.2/bin/fastlane:23:in `<top (required)>' /usr/local/bin/fastlane:25:in `load' /usr/local/bin/fastlane:25:in `<top (required)>' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `load' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `kernel_load' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:23:in `run' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:492:in `exec' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start' /var/lib/gems/3.0.0/gems/bundler-2.4.13/exe/bundle:45:in `block in <top (required)>' /var/lib/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors' /var/lib/gems/3.0.0/gems/bundler-2.4.13/exe/bundle:33:in `<top (required)>' /usr/local/bin/bundle:25:in `load' /usr/local/bin/bundle:25:in `<main>' Exit status of command '/home/aun/Programming/Projects/FlutterProjects/revanced-manager/android/gradlew test -p .' was 1 instead of 0. WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33 This Android Gradle plugin (7.1.3) was tested up to compileSdk = 32 This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=33 to this project's gradle.properties The build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 33 > Task :app:compileFlutterBuildDebug > Task :app:packLibsflutterBuildDebug > Task :app:preBuild UP-TO-DATE > Task :app:preDebugBuild UP-TO-DATE > Task :app_installer:preBuild UP-TO-DATE > Task :app_installer:preDebugBuild UP-TO-DATE > Task :app_installer:compileDebugAidl NO-SOURCE > Task :connectivity_plus:preBuild UP-TO-DATE > Task :connectivity_plus:preDebugBuild UP-TO-DATE > Task :connectivity_plus:compileDebugAidl NO-SOURCE > Task :cr_file_saver:preBuild UP-TO-DATE > Task :cr_file_saver:preDebugBuild UP-TO-DATE > Task :cr_file_saver:compileDebugAidl NO-SOURCE > Task :device_apps:preBuild UP-TO-DATE > Task :device_apps:preDebugBuild UP-TO-DATE > Task :device_apps:compileDebugAidl NO-SOURCE > Task :device_info_plus:preBuild UP-TO-DATE > Task :device_info_plus:preDebugBuild UP-TO-DATE > Task :device_info_plus:compileDebugAidl NO-SOURCE > Task :dynamic_color:preBuild UP-TO-DATE > Task :dynamic_color:preDebugBuild UP-TO-DATE > Task :dynamic_color:compileDebugAidl NO-SOURCE > Task :file_picker:preBuild UP-TO-DATE > Task :file_picker:preDebugBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:preBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:preDebugBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:compileDebugAidl NO-SOURCE > Task :file_picker:compileDebugAidl NO-SOURCE > Task :flutter_background:preBuild UP-TO-DATE > Task :flutter_background:preDebugBuild UP-TO-DATE > Task :flutter_background:compileDebugAidl NO-SOURCE > Task :flutter_local_notifications:preBuild UP-TO-DATE > Task :flutter_local_notifications:preDebugBuild UP-TO-DATE > Task :flutter_local_notifications:compileDebugAidl NO-SOURCE > Task :flutter_statusbarcolor_ns:preBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:preDebugBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileDebugAidl NO-SOURCE > Task :fluttertoast:preBuild UP-TO-DATE > Task :fluttertoast:preDebugBuild UP-TO-DATE > Task :fluttertoast:compileDebugAidl NO-SOURCE > Task :logcat:preBuild UP-TO-DATE > Task :logcat:preDebugBuild UP-TO-DATE > Task :logcat:compileDebugAidl NO-SOURCE > Task :package_info_plus:preBuild UP-TO-DATE > Task :package_info_plus:preDebugBuild UP-TO-DATE > Task :package_info_plus:compileDebugAidl NO-SOURCE > Task :path_provider_android:preBuild UP-TO-DATE > Task :path_provider_android:preDebugBuild UP-TO-DATE > Task :path_provider_android:compileDebugAidl NO-SOURCE > Task :permission_handler_android:preBuild UP-TO-DATE > Task :permission_handler_android:preDebugBuild UP-TO-DATE > Task :permission_handler_android:compileDebugAidl NO-SOURCE > Task :root:preBuild UP-TO-DATE > Task :root:preDebugBuild UP-TO-DATE > Task :root:compileDebugAidl NO-SOURCE > Task :share_extend:preBuild UP-TO-DATE > Task :share_extend:preDebugBuild UP-TO-DATE > Task :share_extend:compileDebugAidl NO-SOURCE > Task :shared_preferences_android:preBuild UP-TO-DATE > Task :shared_preferences_android:preDebugBuild UP-TO-DATE > Task :shared_preferences_android:compileDebugAidl NO-SOURCE > Task :sqflite:preBuild UP-TO-DATE > Task :sqflite:preDebugBuild UP-TO-DATE > Task :sqflite:compileDebugAidl NO-SOURCE > Task :url_launcher_android:preBuild UP-TO-DATE > Task :url_launcher_android:preDebugBuild UP-TO-DATE > Task :url_launcher_android:compileDebugAidl NO-SOURCE > Task :wakelock:preBuild UP-TO-DATE > Task :wakelock:preDebugBuild UP-TO-DATE > Task :wakelock:compileDebugAidl NO-SOURCE > Task :app:compileDebugAidl NO-SOURCE > Task :app_installer:packageDebugRenderscript NO-SOURCE > Task :connectivity_plus:packageDebugRenderscript NO-SOURCE > Task :cr_file_saver:packageDebugRenderscript NO-SOURCE > Task :device_apps:packageDebugRenderscript NO-SOURCE > Task :device_info_plus:packageDebugRenderscript NO-SOURCE > Task :dynamic_color:packageDebugRenderscript NO-SOURCE > Task :file_picker:packageDebugRenderscript NO-SOURCE > Task :flutter_background:packageDebugRenderscript NO-SOURCE > Task :flutter_local_notifications:packageDebugRenderscript NO-SOURCE > Task :flutter_plugin_android_lifecycle:packageDebugRenderscript NO-SOURCE > Task :flutter_statusbarcolor_ns:packageDebugRenderscript NO-SOURCE > Task :fluttertoast:packageDebugRenderscript NO-SOURCE > Task :logcat:packageDebugRenderscript NO-SOURCE > Task :package_info_plus:packageDebugRenderscript NO-SOURCE > Task :path_provider_android:packageDebugRenderscript NO-SOURCE > Task :permission_handler_android:packageDebugRenderscript NO-SOURCE > Task :root:packageDebugRenderscript NO-SOURCE > Task :share_extend:packageDebugRenderscript NO-SOURCE > Task :shared_preferences_android:packageDebugRenderscript NO-SOURCE > Task :sqflite:packageDebugRenderscript NO-SOURCE > Task :url_launcher_android:packageDebugRenderscript NO-SOURCE > Task :wakelock:packageDebugRenderscript NO-SOURCE > Task :app:compileDebugRenderscript NO-SOURCE > Task :app:generateDebugBuildConfig > Task :app_installer:writeDebugAarMetadata > Task :connectivity_plus:writeDebugAarMetadata > Task :cr_file_saver:writeDebugAarMetadata > Task :device_apps:writeDebugAarMetadata > Task :device_info_plus:writeDebugAarMetadata > Task :dynamic_color:writeDebugAarMetadata > Task :file_picker:writeDebugAarMetadata > Task :flutter_background:writeDebugAarMetadata > Task :flutter_local_notifications:writeDebugAarMetadata > Task :flutter_plugin_android_lifecycle:writeDebugAarMetadata > Task :flutter_statusbarcolor_ns:writeDebugAarMetadata > Task :fluttertoast:writeDebugAarMetadata > Task :logcat:writeDebugAarMetadata > Task :package_info_plus:writeDebugAarMetadata > Task :path_provider_android:writeDebugAarMetadata > Task :permission_handler_android:writeDebugAarMetadata > Task :root:writeDebugAarMetadata > Task :share_extend:writeDebugAarMetadata > Task :shared_preferences_android:writeDebugAarMetadata > Task :sqflite:writeDebugAarMetadata > Task :url_launcher_android:writeDebugAarMetadata > Task :wakelock:writeDebugAarMetadata > Task :app:cleanMergeDebugAssets UP-TO-DATE > Task :app:mergeDebugShaders > Task :app:checkDebugAarMetadata > Task :app:compileDebugShaders NO-SOURCE > Task :app:generateDebugAssets UP-TO-DATE > Task :app_installer:mergeDebugShaders > Task :app_installer:compileDebugShaders NO-SOURCE > Task :app_installer:generateDebugAssets UP-TO-DATE > Task :app_installer:packageDebugAssets > Task :connectivity_plus:mergeDebugShaders > Task :connectivity_plus:compileDebugShaders NO-SOURCE > Task :connectivity_plus:generateDebugAssets UP-TO-DATE > Task :connectivity_plus:packageDebugAssets > Task :cr_file_saver:mergeDebugShaders > Task :cr_file_saver:compileDebugShaders NO-SOURCE > Task :cr_file_saver:generateDebugAssets UP-TO-DATE > Task :cr_file_saver:packageDebugAssets > Task :device_apps:mergeDebugShaders > Task :device_apps:compileDebugShaders NO-SOURCE > Task :device_apps:generateDebugAssets UP-TO-DATE > Task :device_apps:packageDebugAssets > Task :device_info_plus:mergeDebugShaders > Task :device_info_plus:compileDebugShaders NO-SOURCE > Task :device_info_plus:generateDebugAssets UP-TO-DATE > Task :device_info_plus:packageDebugAssets > Task :dynamic_color:mergeDebugShaders > Task :dynamic_color:compileDebugShaders NO-SOURCE > Task :dynamic_color:generateDebugAssets UP-TO-DATE > Task :dynamic_color:packageDebugAssets > Task :file_picker:mergeDebugShaders > Task :file_picker:compileDebugShaders NO-SOURCE > Task :file_picker:generateDebugAssets UP-TO-DATE > Task :file_picker:packageDebugAssets > Task :flutter_background:mergeDebugShaders > Task :flutter_background:compileDebugShaders NO-SOURCE > Task :flutter_background:generateDebugAssets UP-TO-DATE > Task :flutter_background:packageDebugAssets > Task :flutter_local_notifications:mergeDebugShaders > Task :flutter_local_notifications:compileDebugShaders NO-SOURCE > Task :flutter_local_notifications:generateDebugAssets UP-TO-DATE > Task :flutter_local_notifications:packageDebugAssets > Task :flutter_plugin_android_lifecycle:mergeDebugShaders > Task :flutter_plugin_android_lifecycle:compileDebugShaders NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateDebugAssets UP-TO-DATE > Task :flutter_plugin_android_lifecycle:packageDebugAssets > Task :flutter_statusbarcolor_ns:mergeDebugShaders > Task :flutter_statusbarcolor_ns:compileDebugShaders NO-SOURCE > Task :flutter_statusbarcolor_ns:generateDebugAssets UP-TO-DATE > Task :flutter_statusbarcolor_ns:packageDebugAssets > Task :fluttertoast:mergeDebugShaders > Task :fluttertoast:compileDebugShaders NO-SOURCE > Task :fluttertoast:generateDebugAssets UP-TO-DATE > Task :fluttertoast:packageDebugAssets > Task :logcat:mergeDebugShaders > Task :logcat:compileDebugShaders NO-SOURCE > Task :logcat:generateDebugAssets UP-TO-DATE > Task :logcat:packageDebugAssets > Task :package_info_plus:mergeDebugShaders > Task :package_info_plus:compileDebugShaders NO-SOURCE > Task :package_info_plus:generateDebugAssets UP-TO-DATE > Task :package_info_plus:packageDebugAssets > Task :path_provider_android:mergeDebugShaders > Task :path_provider_android:compileDebugShaders NO-SOURCE > Task :path_provider_android:generateDebugAssets UP-TO-DATE > Task :path_provider_android:packageDebugAssets > Task :permission_handler_android:mergeDebugShaders > Task :permission_handler_android:compileDebugShaders NO-SOURCE > Task :permission_handler_android:generateDebugAssets UP-TO-DATE > Task :permission_handler_android:packageDebugAssets > Task :root:mergeDebugShaders > Task :root:compileDebugShaders NO-SOURCE > Task :root:generateDebugAssets UP-TO-DATE > Task :root:packageDebugAssets > Task :share_extend:mergeDebugShaders > Task :share_extend:compileDebugShaders NO-SOURCE > Task :share_extend:generateDebugAssets UP-TO-DATE > Task :share_extend:packageDebugAssets > Task :shared_preferences_android:mergeDebugShaders > Task :shared_preferences_android:compileDebugShaders NO-SOURCE > Task :shared_preferences_android:generateDebugAssets UP-TO-DATE > Task :shared_preferences_android:packageDebugAssets > Task :sqflite:mergeDebugShaders > Task :sqflite:compileDebugShaders NO-SOURCE > Task :sqflite:generateDebugAssets UP-TO-DATE > Task :sqflite:packageDebugAssets > Task :url_launcher_android:mergeDebugShaders > Task :url_launcher_android:compileDebugShaders NO-SOURCE > Task :url_launcher_android:generateDebugAssets UP-TO-DATE > Task :url_launcher_android:packageDebugAssets > Task :wakelock:mergeDebugShaders > Task :wakelock:compileDebugShaders NO-SOURCE > Task :wakelock:generateDebugAssets UP-TO-DATE > Task :wakelock:packageDebugAssets > Task :app:mergeDebugAssets > Task :app:copyFlutterAssetsDebug > Task :app:generateDebugResValues > Task :app:generateDebugResources > Task :app_installer:compileDebugRenderscript NO-SOURCE > Task :app_installer:generateDebugResValues > Task :app_installer:generateDebugResources > Task :app_installer:packageDebugResources > Task :connectivity_plus:compileDebugRenderscript NO-SOURCE > Task :connectivity_plus:generateDebugResValues > Task :connectivity_plus:generateDebugResources > Task :connectivity_plus:packageDebugResources > Task :cr_file_saver:compileDebugRenderscript NO-SOURCE > Task :cr_file_saver:generateDebugResValues > Task :cr_file_saver:generateDebugResources > Task :cr_file_saver:packageDebugResources > Task :device_apps:compileDebugRenderscript NO-SOURCE > Task :device_apps:generateDebugResValues > Task :device_apps:generateDebugResources > Task :device_apps:packageDebugResources > Task :device_info_plus:compileDebugRenderscript NO-SOURCE > Task :device_info_plus:generateDebugResValues > Task :device_info_plus:generateDebugResources > Task :device_info_plus:packageDebugResources > Task :dynamic_color:compileDebugRenderscript NO-SOURCE > Task :dynamic_color:generateDebugResValues > Task :dynamic_color:generateDebugResources > Task :dynamic_color:packageDebugResources > Task :file_picker:compileDebugRenderscript NO-SOURCE > Task :file_picker:generateDebugResValues > Task :file_picker:generateDebugResources > Task :file_picker:packageDebugResources > Task :flutter_background:compileDebugRenderscript NO-SOURCE > Task :flutter_background:generateDebugResValues > Task :flutter_background:generateDebugResources > Task :flutter_background:packageDebugResources > Task :flutter_local_notifications:compileDebugRenderscript NO-SOURCE > Task :flutter_local_notifications:generateDebugResValues > Task :flutter_local_notifications:generateDebugResources > Task :flutter_local_notifications:packageDebugResources > Task :flutter_plugin_android_lifecycle:compileDebugRenderscript NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateDebugResValues > Task :flutter_plugin_android_lifecycle:generateDebugResources > Task :flutter_plugin_android_lifecycle:packageDebugResources > Task :flutter_statusbarcolor_ns:compileDebugRenderscript NO-SOURCE > Task :flutter_statusbarcolor_ns:generateDebugResValues > Task :flutter_statusbarcolor_ns:generateDebugResources > Task :flutter_statusbarcolor_ns:packageDebugResources > Task :fluttertoast:compileDebugRenderscript NO-SOURCE > Task :fluttertoast:generateDebugResValues > Task :fluttertoast:generateDebugResources > Task :fluttertoast:packageDebugResources > Task :logcat:compileDebugRenderscript NO-SOURCE > Task :logcat:generateDebugResValues > Task :logcat:generateDebugResources > Task :logcat:packageDebugResources > Task :package_info_plus:compileDebugRenderscript NO-SOURCE > Task :package_info_plus:generateDebugResValues > Task :package_info_plus:generateDebugResources > Task :package_info_plus:packageDebugResources > Task :path_provider_android:compileDebugRenderscript NO-SOURCE > Task :path_provider_android:generateDebugResValues > Task :path_provider_android:generateDebugResources > Task :path_provider_android:packageDebugResources > Task :permission_handler_android:compileDebugRenderscript NO-SOURCE > Task :permission_handler_android:generateDebugResValues > Task :permission_handler_android:generateDebugResources > Task :permission_handler_android:packageDebugResources > Task :root:compileDebugRenderscript NO-SOURCE > Task :root:generateDebugResValues > Task :root:generateDebugResources > Task :root:packageDebugResources > Task :share_extend:compileDebugRenderscript NO-SOURCE > Task :share_extend:generateDebugResValues > Task :share_extend:generateDebugResources > Task :share_extend:packageDebugResources > Task :shared_preferences_android:compileDebugRenderscript NO-SOURCE > Task :shared_preferences_android:generateDebugResValues > Task :shared_preferences_android:generateDebugResources > Task :shared_preferences_android:packageDebugResources > Task :sqflite:compileDebugRenderscript NO-SOURCE > Task :sqflite:generateDebugResValues > Task :sqflite:generateDebugResources > Task :sqflite:packageDebugResources > Task :url_launcher_android:compileDebugRenderscript NO-SOURCE > Task :url_launcher_android:generateDebugResValues > Task :url_launcher_android:generateDebugResources > Task :url_launcher_android:packageDebugResources > Task :wakelock:compileDebugRenderscript NO-SOURCE > Task :wakelock:generateDebugResValues > Task :wakelock:generateDebugResources > Task :wakelock:packageDebugResources > Task :app:createDebugCompatibleScreenManifests > Task :app:extractDeepLinksDebug > Task :app_installer:extractDeepLinksDebug > Task :connectivity_plus:extractDeepLinksDebug > Task :cr_file_saver:extractDeepLinksDebug > Task :device_apps:extractDeepLinksDebug > Task :connectivity_plus:processDebugManifest > Task :device_info_plus:extractDeepLinksDebug > Task :app_installer:processDebugManifest > Task :device_apps:processDebugManifest > Task :cr_file_saver:processDebugManifest > Task :device_info_plus:processDebugManifest > Task :dynamic_color:extractDeepLinksDebug > Task :file_picker:extractDeepLinksDebug > Task :flutter_background:extractDeepLinksDebug > Task :dynamic_color:processDebugManifest > Task :flutter_local_notifications:extractDeepLinksDebug > Task :file_picker:processDebugManifest > Task :flutter_background:processDebugManifest > Task :flutter_plugin_android_lifecycle:extractDeepLinksDebug > Task :app:mergeDebugResources > Task :flutter_statusbarcolor_ns:extractDeepLinksDebug > Task :flutter_local_notifications:processDebugManifest > Task :fluttertoast:extractDeepLinksDebug > Task :flutter_plugin_android_lifecycle:processDebugManifest > Task :flutter_statusbarcolor_ns:processDebugManifest > Task :logcat:extractDeepLinksDebug > Task :fluttertoast:processDebugManifest > Task :package_info_plus:extractDeepLinksDebug > Task :logcat:processDebugManifest > Task :path_provider_android:extractDeepLinksDebug > Task :package_info_plus:processDebugManifest > Task :permission_handler_android:extractDeepLinksDebug > Task :path_provider_android:processDebugManifest > Task :root:extractDeepLinksDebug > Task :permission_handler_android:processDebugManifest > Task :share_extend:extractDeepLinksDebug > Task :root:processDebugManifest > Task :shared_preferences_android:extractDeepLinksDebug > Task :sqflite:extractDeepLinksDebug > Task :share_extend:processDebugManifest > Task :shared_preferences_android:processDebugManifest > Task :url_launcher_android:extractDeepLinksDebug > Task :wakelock:extractDeepLinksDebug > Task :sqflite:processDebugManifest > Task :url_launcher_android:processDebugManifest > Task :wakelock:processDebugManifest > Task :app_installer:compileDebugLibraryResources > Task :app_installer:parseDebugLocalResources > Task :app:processDebugMainManifest > Task :app:processDebugManifest > Task :app:processDebugManifestForPackage > Task :connectivity_plus:compileDebugLibraryResources > Task :connectivity_plus:parseDebugLocalResources > Task :cr_file_saver:compileDebugLibraryResources > Task :app_installer:generateDebugRFile > Task :cr_file_saver:parseDebugLocalResources > Task :connectivity_plus:generateDebugRFile > Task :device_apps:compileDebugLibraryResources > Task :cr_file_saver:generateDebugRFile > Task :device_info_plus:compileDebugLibraryResources > Task :device_apps:parseDebugLocalResources > Task :device_info_plus:parseDebugLocalResources > Task :device_apps:generateDebugRFile > Task :dynamic_color:compileDebugLibraryResources > Task :dynamic_color:parseDebugLocalResources > Task :device_info_plus:generateDebugRFile > Task :file_picker:compileDebugLibraryResources > Task :file_picker:parseDebugLocalResources > Task :dynamic_color:generateDebugRFile > Task :flutter_plugin_android_lifecycle:parseDebugLocalResources > Task :flutter_background:compileDebugLibraryResources > Task :flutter_plugin_android_lifecycle:generateDebugRFile > Task :flutter_background:parseDebugLocalResources > Task :flutter_local_notifications:compileDebugLibraryResources > Task :file_picker:generateDebugRFile > Task :flutter_local_notifications:parseDebugLocalResources > Task :flutter_plugin_android_lifecycle:compileDebugLibraryResources > Task :flutter_statusbarcolor_ns:compileDebugLibraryResources > Task :flutter_background:generateDebugRFile > Task :flutter_statusbarcolor_ns:parseDebugLocalResources > Task :fluttertoast:compileDebugLibraryResources > Task :logcat:compileDebugLibraryResources > Task :flutter_local_notifications:generateDebugRFile > Task :fluttertoast:parseDebugLocalResources > Task :flutter_statusbarcolor_ns:generateDebugRFile > Task :logcat:parseDebugLocalResources > Task :fluttertoast:generateDebugRFile > Task :package_info_plus:compileDebugLibraryResources > Task :logcat:generateDebugRFile > Task :package_info_plus:parseDebugLocalResources > Task :path_provider_android:compileDebugLibraryResources > Task :package_info_plus:generateDebugRFile > Task :path_provider_android:parseDebugLocalResources > Task :permission_handler_android:compileDebugLibraryResources > Task :path_provider_android:generateDebugRFile > Task :root:compileDebugLibraryResources > Task :permission_handler_android:parseDebugLocalResources > Task :root:parseDebugLocalResources > Task :permission_handler_android:generateDebugRFile > Task :share_extend:compileDebugLibraryResources > Task :root:generateDebugRFile > Task :shared_preferences_android:compileDebugLibraryResources > Task :share_extend:parseDebugLocalResources > Task :shared_preferences_android:parseDebugLocalResources > Task :share_extend:generateDebugRFile > Task :sqflite:compileDebugLibraryResources > Task :shared_preferences_android:generateDebugRFile > Task :url_launcher_android:compileDebugLibraryResources > Task :sqflite:parseDebugLocalResources > Task :url_launcher_android:parseDebugLocalResources > Task :sqflite:generateDebugRFile > Task :wakelock:compileDebugLibraryResources > Task :url_launcher_android:generateDebugRFile > Task :app_installer:generateDebugBuildConfig > Task :wakelock:parseDebugLocalResources > Task :app_installer:javaPreCompileDebug > Task :wakelock:generateDebugRFile > Task :app_installer:compileDebugJavaWithJavac Note: /home/aun/.pub-cache/hosted/pub.dev/app_installer-1.1.0/android/src/main/java/com/zero/app_installer/AppInstallerPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :app_installer:bundleLibCompileToJarDebug > Task :connectivity_plus:generateDebugBuildConfig > Task :connectivity_plus:javaPreCompileDebug > Task :cr_file_saver:generateDebugBuildConfig > Task :connectivity_plus:compileDebugJavaWithJavac > Task :connectivity_plus:bundleLibCompileToJarDebug > Task :cr_file_saver:javaPreCompileDebug > Task :device_apps:generateDebugBuildConfig > Task :device_apps:javaPreCompileDebug > Task :device_info_plus:generateDebugBuildConfig > Task :device_apps:compileDebugJavaWithJavac Note: /home/aun/.pub-cache/git/flutter_plugin_device_apps-0f0558df6fb2c9a3ed62529835704df010eeb56c/android/src/main/java/fr/g123k/deviceapps/DeviceAppsPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :device_apps:bundleLibCompileToJarDebug > Task :device_info_plus:javaPreCompileDebug > Task :dynamic_color:generateDebugBuildConfig > Task :dynamic_color:javaPreCompileDebug > Task :file_picker:generateDebugBuildConfig > Task :file_picker:javaPreCompileDebug > Task :flutter_plugin_android_lifecycle:generateDebugBuildConfig > Task :flutter_background:generateDebugBuildConfig > Task :flutter_plugin_android_lifecycle:javaPreCompileDebug > Task :flutter_plugin_android_lifecycle:compileDebugJavaWithJavac > Task :flutter_plugin_android_lifecycle:bundleLibCompileToJarDebug > Task :flutter_background:javaPreCompileDebug > Task :file_picker:compileDebugJavaWithJavac Note: /home/aun/.pub-cache/git/flutter_file_picker-f4a8faac83df23506f310a1b49a1861df228a54a/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerDelegate.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :flutter_local_notifications:generateDebugBuildConfig > Task :file_picker:bundleLibCompileToJarDebug > Task :flutter_statusbarcolor_ns:generateDebugBuildConfig > Task :flutter_local_notifications:javaPreCompileDebug > Task :app:processDebugResources > Task :dynamic_color:compileDebugKotlin > Task :flutter_local_notifications:compileDebugJavaWithJavac > Task :dynamic_color:compileDebugJavaWithJavac > Task :flutter_statusbarcolor_ns:javaPreCompileDebug > Task :fluttertoast:generateDebugBuildConfig > Task :dynamic_color:bundleLibCompileToJarDebug > Task :flutter_local_notifications:bundleLibCompileToJarDebug > Task :fluttertoast:javaPreCompileDebug > Task :logcat:generateDebugBuildConfig > Task :logcat:javaPreCompileDebug > Task :package_info_plus:generateDebugBuildConfig > Task :flutter_statusbarcolor_ns:compileDebugKotlin w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (67, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (67, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (67, 130): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (69, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (69, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (69, 129): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (100, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (100, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (100, 130): 'SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (102, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (102, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (102, 129): 'SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR: Int' is deprecated. Deprecated in Java > Task :logcat:compileDebugJavaWithJavac > Task :logcat:bundleLibCompileToJarDebug > Task :flutter_statusbarcolor_ns:compileDebugJavaWithJavac > Task :device_info_plus:compileDebugKotlin w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (67, 50): 'getter for defaultDisplay: Display!' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (70, 25): 'getRealMetrics(DisplayMetrics!): Unit' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (72, 25): 'getMetrics(DisplayMetrics!): Unit' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (89, 47): 'SERIAL: String!' is deprecated. Deprecated in Java > Task :path_provider_android:generateDebugBuildConfig > Task :flutter_statusbarcolor_ns:bundleLibCompileToJarDebug > Task :package_info_plus:javaPreCompileDebug > Task :path_provider_android:javaPreCompileDebug > Task :permission_handler_android:generateDebugBuildConfig > Task :path_provider_android:compileDebugJavaWithJavac > Task :device_info_plus:compileDebugJavaWithJavac > Task :path_provider_android:bundleLibCompileToJarDebug > Task :device_info_plus:bundleLibCompileToJarDebug > Task :root:generateDebugBuildConfig > Task :permission_handler_android:javaPreCompileDebug > Task :root:javaPreCompileDebug > Task :permission_handler_android:compileDebugJavaWithJavac > Task :permission_handler_android:bundleLibCompileToJarDebug > Task :root:compileDebugJavaWithJavac > Task :share_extend:generateDebugBuildConfig > Task :root:bundleLibCompileToJarDebug > Task :share_extend:javaPreCompileDebug > Task :shared_preferences_android:generateDebugBuildConfig > Task :cr_file_saver:compileDebugKotlin > Task :fluttertoast:compileDebugKotlin w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/FlutterToastPlugin.kt: (9, 48): 'Registrar' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (55, 40): 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (66, 29): 'setter for view: View?' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (71, 62): 'getter for view: View?' is deprecated. Deprecated in Java > Task :share_extend:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :cr_file_saver:compileDebugJavaWithJavac > Task :flutter_background:compileDebugKotlin w: /home/aun/.pub-cache/hosted/pub.dev/flutter_background-1.2.0/android/src/main/kotlin/de/julianassmann/flutter_background/FlutterBackgroundPlugin.kt: (18, 48): 'Registrar' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_background-1.2.0/android/src/main/kotlin/de/julianassmann/flutter_background/FlutterBackgroundPlugin.kt: (28, 33): 'Registrar' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_background-1.2.0/android/src/main/kotlin/de/julianassmann/flutter_background/IsolateHolderService.kt: (122, 51): 'WIFI_MODE_FULL: Int' is deprecated. Deprecated in Java > Task :cr_file_saver:bundleLibCompileToJarDebug > Task :fluttertoast:compileDebugJavaWithJavac > Task :package_info_plus:compileDebugKotlin > Task :flutter_background:compileDebugJavaWithJavac > Task :flutter_background:bundleLibCompileToJarDebug > Task :fluttertoast:bundleLibCompileToJarDebug > Task :package_info_plus:compileDebugJavaWithJavac > Task :package_info_plus:bundleLibCompileToJarDebug > Task :share_extend:bundleLibCompileToJarDebug > Task :shared_preferences_android:javaPreCompileDebug > Task :sqflite:generateDebugBuildConfig > Task :shared_preferences_android:compileDebugJavaWithJavac > Task :sqflite:javaPreCompileDebug > Task :url_launcher_android:generateDebugBuildConfig > Task :shared_preferences_android:bundleLibCompileToJarDebug > Task :sqflite:compileDebugJavaWithJavac > Task :url_launcher_android:javaPreCompileDebug > Task :wakelock:generateDebugBuildConfig > Task :sqflite:bundleLibCompileToJarDebug > Task :url_launcher_android:compileDebugJavaWithJavac > Task :url_launcher_android:bundleLibCompileToJarDebug > Task :wakelock:javaPreCompileDebug > Task :app:preDebugUnitTestBuild UP-TO-DATE > Task :app:javaPreCompileDebug > Task :app:processDebugJavaRes NO-SOURCE > Task :app:javaPreCompileDebugUnitTest > Task :app:processDebugUnitTestJavaRes NO-SOURCE > Task :app_installer:processDebugJavaRes NO-SOURCE > Task :app_installer:bundleLibResDebug NO-SOURCE > Task :connectivity_plus:processDebugJavaRes NO-SOURCE > Task :app_installer:bundleLibRuntimeToJarDebug > Task :connectivity_plus:bundleLibResDebug NO-SOURCE > Task :cr_file_saver:processDebugJavaRes NO-SOURCE > Task :connectivity_plus:bundleLibRuntimeToJarDebug > Task :cr_file_saver:bundleLibResDebug > Task :device_apps:processDebugJavaRes NO-SOURCE > Task :device_apps:bundleLibResDebug NO-SOURCE > Task :cr_file_saver:bundleLibRuntimeToJarDebug > Task :device_info_plus:processDebugJavaRes NO-SOURCE > Task :device_apps:bundleLibRuntimeToJarDebug > Task :device_info_plus:bundleLibResDebug > Task :dynamic_color:processDebugJavaRes NO-SOURCE > Task :device_info_plus:bundleLibRuntimeToJarDebug > Task :dynamic_color:bundleLibResDebug > Task :file_picker:processDebugJavaRes NO-SOURCE > Task :file_picker:bundleLibResDebug NO-SOURCE > Task :flutter_background:processDebugJavaRes NO-SOURCE > Task :dynamic_color:bundleLibRuntimeToJarDebug > Task :file_picker:bundleLibRuntimeToJarDebug > Task :flutter_local_notifications:processDebugJavaRes NO-SOURCE > Task :flutter_local_notifications:bundleLibResDebug NO-SOURCE > Task :flutter_plugin_android_lifecycle:processDebugJavaRes NO-SOURCE > Task :flutter_background:bundleLibRuntimeToJarDebug > Task :flutter_plugin_android_lifecycle:bundleLibResDebug NO-SOURCE > Task :flutter_background:bundleLibResDebug > Task :flutter_statusbarcolor_ns:processDebugJavaRes NO-SOURCE > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarDebug > Task :flutter_local_notifications:bundleLibRuntimeToJarDebug > Task :flutter_statusbarcolor_ns:bundleLibResDebug > Task :fluttertoast:processDebugJavaRes NO-SOURCE > Task :flutter_statusbarcolor_ns:bundleLibRuntimeToJarDebug > Task :fluttertoast:bundleLibResDebug > Task :logcat:processDebugJavaRes NO-SOURCE > Task :fluttertoast:bundleLibRuntimeToJarDebug > Task :logcat:bundleLibResDebug NO-SOURCE > Task :package_info_plus:processDebugJavaRes NO-SOURCE > Task :logcat:bundleLibRuntimeToJarDebug > Task :package_info_plus:bundleLibResDebug > Task :path_provider_android:processDebugJavaRes NO-SOURCE > Task :path_provider_android:bundleLibResDebug NO-SOURCE > Task :package_info_plus:bundleLibRuntimeToJarDebug > Task :path_provider_android:bundleLibRuntimeToJarDebug > Task :permission_handler_android:processDebugJavaRes NO-SOURCE > Task :permission_handler_android:bundleLibResDebug NO-SOURCE > Task :root:processDebugJavaRes NO-SOURCE > Task :root:bundleLibResDebug NO-SOURCE > Task :share_extend:processDebugJavaRes NO-SOURCE > Task :share_extend:bundleLibResDebug NO-SOURCE > Task :permission_handler_android:bundleLibRuntimeToJarDebug > Task :shared_preferences_android:processDebugJavaRes NO-SOURCE > Task :root:bundleLibRuntimeToJarDebug > Task :shared_preferences_android:bundleLibResDebug NO-SOURCE > Task :share_extend:bundleLibRuntimeToJarDebug > Task :sqflite:processDebugJavaRes NO-SOURCE > Task :shared_preferences_android:bundleLibRuntimeToJarDebug > Task :sqflite:bundleLibResDebug NO-SOURCE > Task :url_launcher_android:processDebugJavaRes NO-SOURCE > Task :url_launcher_android:bundleLibResDebug NO-SOURCE > Task :sqflite:bundleLibRuntimeToJarDebug > Task :wakelock:processDebugJavaRes NO-SOURCE > Task :url_launcher_android:bundleLibRuntimeToJarDebug > Task :wakelock:compileDebugKotlin > Task :app:compileFlutterBuildProfile > Task :wakelock:compileDebugJavaWithJavac > Task :wakelock:bundleLibCompileToJarDebug > Task :wakelock:bundleLibResDebug > Task :wakelock:bundleLibRuntimeToJarDebug > Task :app:compileDebugKotlin w: /home/aun/Programming/Projects/FlutterProjects/revanced-manager/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt: (313, 28): The corresponding parameter in the supertype 'Logger' is named 'msg'. This may cause problems when calling this function with named arguments. > Task :app:packLibsflutterBuildProfile > Task :app:compileDebugJavaWithJavac > Task :app:preProfileBuild UP-TO-DATE > Task :app_installer:preProfileBuild UP-TO-DATE > Task :app_installer:compileProfileAidl NO-SOURCE > Task :connectivity_plus:preProfileBuild UP-TO-DATE > Task :connectivity_plus:compileProfileAidl NO-SOURCE > Task :cr_file_saver:preProfileBuild UP-TO-DATE > Task :cr_file_saver:compileProfileAidl NO-SOURCE > Task :device_apps:preProfileBuild UP-TO-DATE > Task :device_apps:compileProfileAidl NO-SOURCE > Task :device_info_plus:preProfileBuild UP-TO-DATE > Task :device_info_plus:compileProfileAidl NO-SOURCE > Task :dynamic_color:preProfileBuild UP-TO-DATE > Task :dynamic_color:compileProfileAidl NO-SOURCE > Task :file_picker:preProfileBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:preProfileBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:compileProfileAidl NO-SOURCE > Task :app:bundleDebugClasses > Task :file_picker:compileProfileAidl NO-SOURCE > Task :app:compileDebugUnitTestKotlin NO-SOURCE > Task :app:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :flutter_background:preProfileBuild UP-TO-DATE > Task :flutter_background:compileProfileAidl NO-SOURCE > Task :app:bundleDebugClassesToRuntimeJar > Task :app:testDebugUnitTest NO-SOURCE > Task :flutter_local_notifications:preProfileBuild UP-TO-DATE > Task :flutter_local_notifications:compileProfileAidl NO-SOURCE > Task :flutter_statusbarcolor_ns:preProfileBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileProfileAidl NO-SOURCE > Task :fluttertoast:preProfileBuild UP-TO-DATE > Task :fluttertoast:compileProfileAidl NO-SOURCE > Task :logcat:preProfileBuild UP-TO-DATE > Task :logcat:compileProfileAidl NO-SOURCE > Task :package_info_plus:preProfileBuild UP-TO-DATE > Task :package_info_plus:compileProfileAidl NO-SOURCE > Task :path_provider_android:preProfileBuild UP-TO-DATE > Task :path_provider_android:compileProfileAidl NO-SOURCE > Task :permission_handler_android:preProfileBuild UP-TO-DATE > Task :permission_handler_android:compileProfileAidl NO-SOURCE > Task :root:preProfileBuild UP-TO-DATE > Task :root:compileProfileAidl NO-SOURCE > Task :share_extend:preProfileBuild UP-TO-DATE > Task :share_extend:compileProfileAidl NO-SOURCE > Task :shared_preferences_android:preProfileBuild UP-TO-DATE > Task :shared_preferences_android:compileProfileAidl NO-SOURCE > Task :sqflite:preProfileBuild UP-TO-DATE > Task :sqflite:compileProfileAidl NO-SOURCE > Task :url_launcher_android:preProfileBuild UP-TO-DATE > Task :url_launcher_android:compileProfileAidl NO-SOURCE > Task :wakelock:preProfileBuild UP-TO-DATE > Task :wakelock:compileProfileAidl NO-SOURCE > Task :app:compileProfileAidl NO-SOURCE > Task :app_installer:packageProfileRenderscript NO-SOURCE > Task :connectivity_plus:packageProfileRenderscript NO-SOURCE > Task :cr_file_saver:packageProfileRenderscript NO-SOURCE > Task :device_apps:packageProfileRenderscript NO-SOURCE > Task :device_info_plus:packageProfileRenderscript NO-SOURCE > Task :dynamic_color:packageProfileRenderscript NO-SOURCE > Task :file_picker:packageProfileRenderscript NO-SOURCE > Task :flutter_background:packageProfileRenderscript NO-SOURCE > Task :flutter_local_notifications:packageProfileRenderscript NO-SOURCE > Task :flutter_plugin_android_lifecycle:packageProfileRenderscript NO-SOURCE > Task :flutter_statusbarcolor_ns:packageProfileRenderscript NO-SOURCE > Task :fluttertoast:packageProfileRenderscript NO-SOURCE > Task :logcat:packageProfileRenderscript NO-SOURCE > Task :package_info_plus:packageProfileRenderscript NO-SOURCE > Task :path_provider_android:packageProfileRenderscript NO-SOURCE > Task :permission_handler_android:packageProfileRenderscript NO-SOURCE > Task :root:packageProfileRenderscript NO-SOURCE > Task :share_extend:packageProfileRenderscript NO-SOURCE > Task :shared_preferences_android:packageProfileRenderscript NO-SOURCE > Task :sqflite:packageProfileRenderscript NO-SOURCE > Task :url_launcher_android:packageProfileRenderscript NO-SOURCE > Task :wakelock:packageProfileRenderscript NO-SOURCE > Task :app:compileProfileRenderscript NO-SOURCE > Task :app:generateProfileBuildConfig > Task :app_installer:writeProfileAarMetadata > Task :connectivity_plus:writeProfileAarMetadata > Task :cr_file_saver:writeProfileAarMetadata > Task :device_apps:writeProfileAarMetadata > Task :device_info_plus:writeProfileAarMetadata > Task :dynamic_color:writeProfileAarMetadata > Task :file_picker:writeProfileAarMetadata > Task :flutter_background:writeProfileAarMetadata > Task :flutter_local_notifications:writeProfileAarMetadata > Task :flutter_plugin_android_lifecycle:writeProfileAarMetadata > Task :flutter_statusbarcolor_ns:writeProfileAarMetadata > Task :fluttertoast:writeProfileAarMetadata > Task :logcat:writeProfileAarMetadata > Task :package_info_plus:writeProfileAarMetadata > Task :path_provider_android:writeProfileAarMetadata > Task :permission_handler_android:writeProfileAarMetadata > Task :root:writeProfileAarMetadata > Task :share_extend:writeProfileAarMetadata > Task :shared_preferences_android:writeProfileAarMetadata > Task :url_launcher_android:writeProfileAarMetadata > Task :sqflite:writeProfileAarMetadata > Task :app:cleanMergeProfileAssets UP-TO-DATE > Task :wakelock:writeProfileAarMetadata > Task :app:mergeProfileShaders > Task :app:compileProfileShaders NO-SOURCE > Task :app:generateProfileAssets UP-TO-DATE > Task :app:checkProfileAarMetadata > Task :app_installer:mergeProfileShaders > Task :app_installer:compileProfileShaders NO-SOURCE > Task :app_installer:generateProfileAssets UP-TO-DATE > Task :app_installer:packageProfileAssets > Task :connectivity_plus:mergeProfileShaders > Task :connectivity_plus:compileProfileShaders NO-SOURCE > Task :connectivity_plus:generateProfileAssets UP-TO-DATE > Task :connectivity_plus:packageProfileAssets > Task :cr_file_saver:mergeProfileShaders > Task :cr_file_saver:compileProfileShaders NO-SOURCE > Task :cr_file_saver:generateProfileAssets UP-TO-DATE > Task :cr_file_saver:packageProfileAssets > Task :device_apps:mergeProfileShaders > Task :device_apps:compileProfileShaders NO-SOURCE > Task :device_apps:generateProfileAssets UP-TO-DATE > Task :device_apps:packageProfileAssets > Task :device_info_plus:mergeProfileShaders > Task :device_info_plus:compileProfileShaders NO-SOURCE > Task :device_info_plus:generateProfileAssets UP-TO-DATE > Task :device_info_plus:packageProfileAssets > Task :dynamic_color:mergeProfileShaders > Task :dynamic_color:compileProfileShaders NO-SOURCE > Task :dynamic_color:generateProfileAssets UP-TO-DATE > Task :dynamic_color:packageProfileAssets > Task :file_picker:mergeProfileShaders > Task :file_picker:compileProfileShaders NO-SOURCE > Task :file_picker:generateProfileAssets UP-TO-DATE > Task :file_picker:packageProfileAssets > Task :flutter_background:mergeProfileShaders > Task :flutter_background:compileProfileShaders NO-SOURCE > Task :flutter_background:generateProfileAssets UP-TO-DATE > Task :flutter_background:packageProfileAssets > Task :flutter_local_notifications:mergeProfileShaders > Task :flutter_local_notifications:compileProfileShaders NO-SOURCE > Task :flutter_local_notifications:generateProfileAssets UP-TO-DATE > Task :flutter_local_notifications:packageProfileAssets > Task :flutter_plugin_android_lifecycle:mergeProfileShaders > Task :flutter_plugin_android_lifecycle:compileProfileShaders NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateProfileAssets UP-TO-DATE > Task :flutter_plugin_android_lifecycle:packageProfileAssets > Task :flutter_statusbarcolor_ns:mergeProfileShaders > Task :flutter_statusbarcolor_ns:compileProfileShaders NO-SOURCE > Task :flutter_statusbarcolor_ns:generateProfileAssets UP-TO-DATE > Task :flutter_statusbarcolor_ns:packageProfileAssets > Task :fluttertoast:mergeProfileShaders > Task :fluttertoast:compileProfileShaders NO-SOURCE > Task :fluttertoast:generateProfileAssets UP-TO-DATE > Task :fluttertoast:packageProfileAssets > Task :logcat:mergeProfileShaders > Task :logcat:compileProfileShaders NO-SOURCE > Task :logcat:generateProfileAssets UP-TO-DATE > Task :logcat:packageProfileAssets > Task :package_info_plus:mergeProfileShaders > Task :package_info_plus:compileProfileShaders NO-SOURCE > Task :package_info_plus:generateProfileAssets UP-TO-DATE > Task :package_info_plus:packageProfileAssets > Task :path_provider_android:mergeProfileShaders > Task :path_provider_android:compileProfileShaders NO-SOURCE > Task :path_provider_android:generateProfileAssets UP-TO-DATE > Task :path_provider_android:packageProfileAssets > Task :permission_handler_android:mergeProfileShaders > Task :permission_handler_android:compileProfileShaders NO-SOURCE > Task :permission_handler_android:generateProfileAssets UP-TO-DATE > Task :permission_handler_android:packageProfileAssets > Task :root:mergeProfileShaders > Task :root:compileProfileShaders NO-SOURCE > Task :root:generateProfileAssets UP-TO-DATE > Task :root:packageProfileAssets > Task :share_extend:mergeProfileShaders > Task :share_extend:compileProfileShaders NO-SOURCE > Task :share_extend:generateProfileAssets UP-TO-DATE > Task :share_extend:packageProfileAssets > Task :shared_preferences_android:mergeProfileShaders > Task :shared_preferences_android:compileProfileShaders NO-SOURCE > Task :shared_preferences_android:generateProfileAssets UP-TO-DATE > Task :shared_preferences_android:packageProfileAssets > Task :sqflite:mergeProfileShaders > Task :sqflite:compileProfileShaders NO-SOURCE > Task :sqflite:generateProfileAssets UP-TO-DATE > Task :sqflite:packageProfileAssets > Task :url_launcher_android:mergeProfileShaders > Task :url_launcher_android:compileProfileShaders NO-SOURCE > Task :url_launcher_android:generateProfileAssets UP-TO-DATE > Task :url_launcher_android:packageProfileAssets > Task :wakelock:mergeProfileShaders > Task :wakelock:compileProfileShaders NO-SOURCE > Task :wakelock:generateProfileAssets UP-TO-DATE > Task :wakelock:packageProfileAssets > Task :app:mergeProfileAssets > Task :app:copyFlutterAssetsProfile > Task :app:generateProfileResValues > Task :app:generateProfileResources > Task :app_installer:compileProfileRenderscript NO-SOURCE > Task :app_installer:generateProfileResValues > Task :app_installer:generateProfileResources > Task :app_installer:packageProfileResources > Task :connectivity_plus:compileProfileRenderscript NO-SOURCE > Task :connectivity_plus:generateProfileResValues > Task :connectivity_plus:generateProfileResources > Task :connectivity_plus:packageProfileResources > Task :cr_file_saver:compileProfileRenderscript NO-SOURCE > Task :cr_file_saver:generateProfileResValues > Task :cr_file_saver:generateProfileResources > Task :cr_file_saver:packageProfileResources > Task :device_apps:compileProfileRenderscript NO-SOURCE > Task :device_apps:generateProfileResValues > Task :device_apps:generateProfileResources > Task :device_apps:packageProfileResources > Task :device_info_plus:compileProfileRenderscript NO-SOURCE > Task :device_info_plus:generateProfileResValues > Task :device_info_plus:generateProfileResources > Task :device_info_plus:packageProfileResources > Task :dynamic_color:compileProfileRenderscript NO-SOURCE > Task :dynamic_color:generateProfileResValues > Task :dynamic_color:generateProfileResources > Task :dynamic_color:packageProfileResources > Task :file_picker:compileProfileRenderscript NO-SOURCE > Task :file_picker:generateProfileResValues > Task :file_picker:generateProfileResources > Task :file_picker:packageProfileResources > Task :flutter_background:compileProfileRenderscript NO-SOURCE > Task :flutter_background:generateProfileResValues > Task :flutter_background:generateProfileResources > Task :flutter_background:packageProfileResources > Task :flutter_local_notifications:compileProfileRenderscript NO-SOURCE > Task :flutter_local_notifications:generateProfileResValues > Task :flutter_local_notifications:generateProfileResources > Task :flutter_local_notifications:packageProfileResources > Task :flutter_plugin_android_lifecycle:compileProfileRenderscript NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateProfileResValues > Task :flutter_plugin_android_lifecycle:generateProfileResources > Task :flutter_plugin_android_lifecycle:packageProfileResources > Task :flutter_statusbarcolor_ns:compileProfileRenderscript NO-SOURCE > Task :flutter_statusbarcolor_ns:generateProfileResValues > Task :flutter_statusbarcolor_ns:generateProfileResources > Task :flutter_statusbarcolor_ns:packageProfileResources > Task :fluttertoast:compileProfileRenderscript NO-SOURCE > Task :fluttertoast:generateProfileResValues > Task :fluttertoast:generateProfileResources > Task :fluttertoast:packageProfileResources > Task :logcat:compileProfileRenderscript NO-SOURCE > Task :logcat:generateProfileResValues > Task :logcat:generateProfileResources > Task :logcat:packageProfileResources > Task :package_info_plus:compileProfileRenderscript NO-SOURCE > Task :package_info_plus:generateProfileResValues > Task :package_info_plus:generateProfileResources > Task :package_info_plus:packageProfileResources > Task :path_provider_android:compileProfileRenderscript NO-SOURCE > Task :path_provider_android:generateProfileResValues > Task :path_provider_android:generateProfileResources > Task :path_provider_android:packageProfileResources > Task :permission_handler_android:compileProfileRenderscript NO-SOURCE > Task :permission_handler_android:generateProfileResValues > Task :permission_handler_android:generateProfileResources > Task :permission_handler_android:packageProfileResources > Task :root:compileProfileRenderscript NO-SOURCE > Task :root:generateProfileResValues > Task :root:generateProfileResources > Task :root:packageProfileResources > Task :share_extend:compileProfileRenderscript NO-SOURCE > Task :share_extend:generateProfileResValues > Task :share_extend:generateProfileResources > Task :share_extend:packageProfileResources > Task :shared_preferences_android:compileProfileRenderscript NO-SOURCE > Task :shared_preferences_android:generateProfileResValues > Task :shared_preferences_android:generateProfileResources > Task :shared_preferences_android:packageProfileResources > Task :sqflite:compileProfileRenderscript NO-SOURCE > Task :sqflite:generateProfileResValues > Task :sqflite:generateProfileResources > Task :sqflite:packageProfileResources > Task :url_launcher_android:compileProfileRenderscript NO-SOURCE > Task :url_launcher_android:generateProfileResValues > Task :url_launcher_android:generateProfileResources > Task :url_launcher_android:packageProfileResources > Task :wakelock:compileProfileRenderscript NO-SOURCE > Task :wakelock:generateProfileResValues > Task :wakelock:generateProfileResources > Task :wakelock:packageProfileResources > Task :app:createProfileCompatibleScreenManifests > Task :app:extractDeepLinksProfile > Task :app_installer:extractDeepLinksProfile > Task :connectivity_plus:extractDeepLinksProfile > Task :cr_file_saver:extractDeepLinksProfile > Task :app_installer:processProfileManifest > Task :connectivity_plus:processProfileManifest > Task :cr_file_saver:processProfileManifest > Task :device_apps:extractDeepLinksProfile > Task :device_info_plus:extractDeepLinksProfile > Task :dynamic_color:extractDeepLinksProfile > Task :device_apps:processProfileManifest > Task :device_info_plus:processProfileManifest > Task :file_picker:extractDeepLinksProfile > Task :dynamic_color:processProfileManifest > Task :flutter_background:extractDeepLinksProfile > Task :file_picker:processProfileManifest > Task :flutter_local_notifications:extractDeepLinksProfile > Task :flutter_background:processProfileManifest > Task :flutter_plugin_android_lifecycle:extractDeepLinksProfile > Task :app:mergeProfileResources > Task :flutter_statusbarcolor_ns:extractDeepLinksProfile > Task :flutter_local_notifications:processProfileManifest > Task :fluttertoast:extractDeepLinksProfile > Task :flutter_plugin_android_lifecycle:processProfileManifest > Task :flutter_statusbarcolor_ns:processProfileManifest > Task :logcat:extractDeepLinksProfile > Task :fluttertoast:processProfileManifest > Task :package_info_plus:extractDeepLinksProfile > Task :logcat:processProfileManifest > Task :path_provider_android:extractDeepLinksProfile > Task :package_info_plus:processProfileManifest > Task :permission_handler_android:extractDeepLinksProfile > Task :path_provider_android:processProfileManifest > Task :root:extractDeepLinksProfile > Task :permission_handler_android:processProfileManifest > Task :share_extend:extractDeepLinksProfile > Task :root:processProfileManifest > Task :shared_preferences_android:extractDeepLinksProfile > Task :share_extend:processProfileManifest > Task :sqflite:extractDeepLinksProfile > Task :url_launcher_android:extractDeepLinksProfile > Task :shared_preferences_android:processProfileManifest > Task :sqflite:processProfileManifest > Task :wakelock:extractDeepLinksProfile > Task :url_launcher_android:processProfileManifest > Task :app_installer:compileProfileLibraryResources > Task :wakelock:processProfileManifest > Task :connectivity_plus:compileProfileLibraryResources > Task :app_installer:parseProfileLocalResources > Task :connectivity_plus:parseProfileLocalResources > Task :app:processProfileMainManifest > Task :app:processProfileManifest > Task :app_installer:generateProfileRFile > Task :cr_file_saver:compileProfileLibraryResources > Task :app:processProfileManifestForPackage > Task :cr_file_saver:parseProfileLocalResources > Task :device_apps:compileProfileLibraryResources > Task :connectivity_plus:generateProfileRFile > Task :device_apps:parseProfileLocalResources > Task :cr_file_saver:generateProfileRFile > Task :device_info_plus:compileProfileLibraryResources > Task :device_info_plus:parseProfileLocalResources > Task :dynamic_color:compileProfileLibraryResources > Task :device_apps:generateProfileRFile > Task :dynamic_color:parseProfileLocalResources > Task :device_info_plus:generateProfileRFile > Task :file_picker:compileProfileLibraryResources > Task :file_picker:parseProfileLocalResources > Task :dynamic_color:generateProfileRFile > Task :flutter_background:compileProfileLibraryResources > Task :flutter_plugin_android_lifecycle:parseProfileLocalResources > Task :flutter_background:parseProfileLocalResources > Task :flutter_plugin_android_lifecycle:generateProfileRFile > Task :flutter_background:generateProfileRFile > Task :flutter_local_notifications:compileProfileLibraryResources > Task :flutter_plugin_android_lifecycle:compileProfileLibraryResources > Task :flutter_local_notifications:parseProfileLocalResources > Task :file_picker:generateProfileRFile > Task :flutter_statusbarcolor_ns:compileProfileLibraryResources > Task :fluttertoast:compileProfileLibraryResources > Task :flutter_statusbarcolor_ns:parseProfileLocalResources > Task :flutter_local_notifications:generateProfileRFile > Task :fluttertoast:parseProfileLocalResources > Task :flutter_statusbarcolor_ns:generateProfileRFile > Task :fluttertoast:generateProfileRFile > Task :logcat:compileProfileLibraryResources > Task :package_info_plus:compileProfileLibraryResources > Task :logcat:parseProfileLocalResources > Task :package_info_plus:parseProfileLocalResources > Task :path_provider_android:compileProfileLibraryResources > Task :logcat:generateProfileRFile > Task :path_provider_android:parseProfileLocalResources > Task :permission_handler_android:compileProfileLibraryResources > Task :permission_handler_android:parseProfileLocalResources > Task :package_info_plus:generateProfileRFile > Task :path_provider_android:generateProfileRFile > Task :root:compileProfileLibraryResources > Task :root:parseProfileLocalResources > Task :share_extend:compileProfileLibraryResources > Task :permission_handler_android:generateProfileRFile > Task :share_extend:parseProfileLocalResources > Task :root:generateProfileRFile > Task :shared_preferences_android:compileProfileLibraryResources > Task :share_extend:generateProfileRFile > Task :sqflite:compileProfileLibraryResources > Task :shared_preferences_android:parseProfileLocalResources > Task :sqflite:parseProfileLocalResources > Task :shared_preferences_android:generateProfileRFile > Task :url_launcher_android:compileProfileLibraryResources > Task :wakelock:compileProfileLibraryResources > Task :url_launcher_android:parseProfileLocalResources > Task :sqflite:generateProfileRFile > Task :wakelock:parseProfileLocalResources > Task :app_installer:generateProfileBuildConfig > Task :url_launcher_android:generateProfileRFile > Task :app_installer:javaPreCompileProfile > Task :connectivity_plus:generateProfileBuildConfig > Task :wakelock:generateProfileRFile > Task :app_installer:compileProfileJavaWithJavac Note: /home/aun/.pub-cache/hosted/pub.dev/app_installer-1.1.0/android/src/main/java/com/zero/app_installer/AppInstallerPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :app_installer:bundleLibCompileToJarProfile > Task :connectivity_plus:javaPreCompileProfile > Task :cr_file_saver:generateProfileBuildConfig > Task :connectivity_plus:compileProfileJavaWithJavac > Task :connectivity_plus:bundleLibCompileToJarProfile > Task :cr_file_saver:javaPreCompileProfile > Task :device_apps:generateProfileBuildConfig > Task :device_apps:javaPreCompileProfile > Task :device_info_plus:generateProfileBuildConfig > Task :device_apps:compileProfileJavaWithJavac Note: /home/aun/.pub-cache/git/flutter_plugin_device_apps-0f0558df6fb2c9a3ed62529835704df010eeb56c/android/src/main/java/fr/g123k/deviceapps/DeviceAppsPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :device_apps:bundleLibCompileToJarProfile > Task :device_info_plus:javaPreCompileProfile > Task :dynamic_color:generateProfileBuildConfig > Task :file_picker:generateProfileBuildConfig > Task :dynamic_color:javaPreCompileProfile > Task :flutter_plugin_android_lifecycle:generateProfileBuildConfig > Task :file_picker:javaPreCompileProfile > Task :flutter_plugin_android_lifecycle:javaPreCompileProfile > Task :flutter_background:generateProfileBuildConfig > Task :flutter_plugin_android_lifecycle:compileProfileJavaWithJavac > Task :flutter_plugin_android_lifecycle:bundleLibCompileToJarProfile > Task :file_picker:compileProfileJavaWithJavac Note: /home/aun/.pub-cache/git/flutter_file_picker-f4a8faac83df23506f310a1b49a1861df228a54a/android/src/main/java/com/mr/flutter/plugin/filepicker/FilePickerDelegate.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :flutter_local_notifications:generateProfileBuildConfig > Task :flutter_background:javaPreCompileProfile > Task :file_picker:bundleLibCompileToJarProfile > Task :flutter_statusbarcolor_ns:generateProfileBuildConfig > Task :flutter_local_notifications:javaPreCompileProfile > Task :app:processProfileResources > Task :dynamic_color:compileProfileKotlin > Task :device_info_plus:compileProfileKotlin w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (67, 50): 'getter for defaultDisplay: Display!' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (70, 25): 'getRealMetrics(DisplayMetrics!): Unit' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (72, 25): 'getMetrics(DisplayMetrics!): Unit' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/device_info_plus-8.2.2/android/src/main/kotlin/dev/fluttercommunity/plus/device_info/MethodCallHandlerImpl.kt: (89, 47): 'SERIAL: String!' is deprecated. Deprecated in Java > Task :flutter_statusbarcolor_ns:compileProfileKotlin w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (67, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (67, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (67, 130): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (69, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (69, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (69, 129): 'SYSTEM_UI_FLAG_LIGHT_STATUS_BAR: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (100, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (100, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (100, 130): 'SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (102, 53): 'setter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (102, 102): 'getter for systemUiVisibility: Int' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_statusbarcolor_ns-0.5.0/android/src/main/kotlin/com/sameer/flutterstatusbarcolor/flutterstatusbarcolor/FlutterStatusbarcolorPlugin.kt: (102, 129): 'SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR: Int' is deprecated. Deprecated in Java > Task :flutter_local_notifications:compileProfileJavaWithJavac > Task :device_info_plus:compileProfileJavaWithJavac > Task :device_info_plus:bundleLibCompileToJarProfile > Task :dynamic_color:compileProfileJavaWithJavac > Task :dynamic_color:bundleLibCompileToJarProfile > Task :flutter_statusbarcolor_ns:javaPreCompileProfile > Task :fluttertoast:generateProfileBuildConfig > Task :flutter_local_notifications:bundleLibCompileToJarProfile > Task :flutter_statusbarcolor_ns:compileProfileJavaWithJavac > Task :flutter_statusbarcolor_ns:bundleLibCompileToJarProfile > Task :cr_file_saver:compileProfileKotlin > Task :cr_file_saver:compileProfileJavaWithJavac > Task :cr_file_saver:bundleLibCompileToJarProfile > Task :logcat:generateProfileBuildConfig > Task :fluttertoast:javaPreCompileProfile > Task :package_info_plus:generateProfileBuildConfig > Task :logcat:javaPreCompileProfile > Task :logcat:compileProfileJavaWithJavac > Task :logcat:bundleLibCompileToJarProfile > Task :package_info_plus:javaPreCompileProfile > Task :path_provider_android:generateProfileBuildConfig > Task :path_provider_android:javaPreCompileProfile > Task :permission_handler_android:generateProfileBuildConfig > Task :flutter_background:compileProfileKotlin w: /home/aun/.pub-cache/hosted/pub.dev/flutter_background-1.2.0/android/src/main/kotlin/de/julianassmann/flutter_background/FlutterBackgroundPlugin.kt: (18, 48): 'Registrar' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_background-1.2.0/android/src/main/kotlin/de/julianassmann/flutter_background/FlutterBackgroundPlugin.kt: (28, 33): 'Registrar' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/flutter_background-1.2.0/android/src/main/kotlin/de/julianassmann/flutter_background/IsolateHolderService.kt: (122, 51): 'WIFI_MODE_FULL: Int' is deprecated. Deprecated in Java > Task :path_provider_android:compileProfileJavaWithJavac > Task :flutter_background:compileProfileJavaWithJavac > Task :root:generateProfileBuildConfig > Task :path_provider_android:bundleLibCompileToJarProfile > Task :flutter_background:bundleLibCompileToJarProfile > Task :permission_handler_android:javaPreCompileProfile > Task :root:javaPreCompileProfile > Task :share_extend:generateProfileBuildConfig > Task :fluttertoast:compileProfileKotlin w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/FlutterToastPlugin.kt: (9, 48): 'Registrar' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (55, 40): 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (66, 29): 'setter for view: View?' is deprecated. Deprecated in Java w: /home/aun/.pub-cache/hosted/pub.dev/fluttertoast-8.2.2/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt: (71, 62): 'getter for view: View?' is deprecated. Deprecated in Java > Task :permission_handler_android:compileProfileJavaWithJavac > Task :fluttertoast:compileProfileJavaWithJavac > Task :package_info_plus:compileProfileKotlin > Task :fluttertoast:bundleLibCompileToJarProfile > Task :permission_handler_android:bundleLibCompileToJarProfile > Task :package_info_plus:compileProfileJavaWithJavac > Task :package_info_plus:bundleLibCompileToJarProfile > Task :root:compileProfileJavaWithJavac > Task :share_extend:javaPreCompileProfile > Task :root:bundleLibCompileToJarProfile > Task :shared_preferences_android:generateProfileBuildConfig > Task :share_extend:compileProfileJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :shared_preferences_android:javaPreCompileProfile > Task :sqflite:generateProfileBuildConfig > Task :share_extend:bundleLibCompileToJarProfile > Task :shared_preferences_android:compileProfileJavaWithJavac > Task :shared_preferences_android:bundleLibCompileToJarProfile > Task :sqflite:javaPreCompileProfile > Task :url_launcher_android:generateProfileBuildConfig > Task :sqflite:compileProfileJavaWithJavac > Task :url_launcher_android:javaPreCompileProfile > Task :wakelock:generateProfileBuildConfig > Task :sqflite:bundleLibCompileToJarProfile > Task :url_launcher_android:compileProfileJavaWithJavac > Task :url_launcher_android:bundleLibCompileToJarProfile > Task :wakelock:javaPreCompileProfile > Task :app:preProfileUnitTestBuild UP-TO-DATE > Task :app:javaPreCompileProfile > Task :app:processProfileJavaRes NO-SOURCE > Task :app:javaPreCompileProfileUnitTest > Task :app:processProfileUnitTestJavaRes NO-SOURCE > Task :app_installer:processProfileJavaRes NO-SOURCE > Task :app_installer:bundleLibResProfile NO-SOURCE > Task :app_installer:bundleLibRuntimeToJarProfile > Task :connectivity_plus:processProfileJavaRes NO-SOURCE > Task :connectivity_plus:bundleLibResProfile NO-SOURCE > Task :cr_file_saver:processProfileJavaRes NO-SOURCE > Task :connectivity_plus:bundleLibRuntimeToJarProfile > Task :cr_file_saver:bundleLibResProfile > Task :device_apps:processProfileJavaRes NO-SOURCE > Task :device_apps:bundleLibResProfile NO-SOURCE > Task :device_info_plus:processProfileJavaRes NO-SOURCE > Task :cr_file_saver:bundleLibRuntimeToJarProfile > Task :device_apps:bundleLibRuntimeToJarProfile > Task :device_info_plus:bundleLibResProfile > Task :dynamic_color:processProfileJavaRes NO-SOURCE > Task :device_info_plus:bundleLibRuntimeToJarProfile > Task :dynamic_color:bundleLibResProfile > Task :file_picker:processProfileJavaRes NO-SOURCE > Task :file_picker:bundleLibResProfile NO-SOURCE > Task :dynamic_color:bundleLibRuntimeToJarProfile > Task :flutter_background:processProfileJavaRes NO-SOURCE > Task :file_picker:bundleLibRuntimeToJarProfile > Task :flutter_background:bundleLibResProfile > Task :flutter_local_notifications:processProfileJavaRes NO-SOURCE > Task :flutter_local_notifications:bundleLibResProfile NO-SOURCE > Task :flutter_background:bundleLibRuntimeToJarProfile > Task :flutter_plugin_android_lifecycle:processProfileJavaRes NO-SOURCE > Task :flutter_plugin_android_lifecycle:bundleLibResProfile NO-SOURCE > Task :flutter_local_notifications:bundleLibRuntimeToJarProfile > Task :flutter_statusbarcolor_ns:processProfileJavaRes NO-SOURCE > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarProfile > Task :fluttertoast:processProfileJavaRes NO-SOURCE > Task :flutter_statusbarcolor_ns:bundleLibResProfile > Task :flutter_statusbarcolor_ns:bundleLibRuntimeToJarProfile > Task :fluttertoast:bundleLibResProfile > Task :logcat:processProfileJavaRes NO-SOURCE > Task :fluttertoast:bundleLibRuntimeToJarProfile > Task :logcat:bundleLibResProfile NO-SOURCE > Task :package_info_plus:processProfileJavaRes NO-SOURCE > Task :logcat:bundleLibRuntimeToJarProfile > Task :package_info_plus:bundleLibResProfile > Task :path_provider_android:processProfileJavaRes NO-SOURCE > Task :path_provider_android:bundleLibResProfile NO-SOURCE > Task :package_info_plus:bundleLibRuntimeToJarProfile > Task :path_provider_android:bundleLibRuntimeToJarProfile > Task :permission_handler_android:processProfileJavaRes NO-SOURCE > Task :permission_handler_android:bundleLibResProfile NO-SOURCE > Task :root:processProfileJavaRes NO-SOURCE > Task :root:bundleLibResProfile NO-SOURCE > Task :permission_handler_android:bundleLibRuntimeToJarProfile > Task :share_extend:processProfileJavaRes NO-SOURCE > Task :share_extend:bundleLibResProfile NO-SOURCE > Task :root:bundleLibRuntimeToJarProfile > Task :shared_preferences_android:processProfileJavaRes NO-SOURCE > Task :shared_preferences_android:bundleLibResProfile NO-SOURCE > Task :share_extend:bundleLibRuntimeToJarProfile > Task :shared_preferences_android:bundleLibRuntimeToJarProfile > Task :sqflite:processProfileJavaRes NO-SOURCE > Task :sqflite:bundleLibResProfile NO-SOURCE > Task :url_launcher_android:processProfileJavaRes NO-SOURCE > Task :url_launcher_android:bundleLibResProfile NO-SOURCE > Task :wakelock:processProfileJavaRes NO-SOURCE > Task :url_launcher_android:bundleLibRuntimeToJarProfile > Task :app:buildKotlinToolingMetadata UP-TO-DATE > Task :sqflite:bundleLibRuntimeToJarProfile > Task :wakelock:compileProfileKotlin > Task :app:compileFlutterBuildRelease > Task :wakelock:compileProfileJavaWithJavac > Task :wakelock:bundleLibResProfile > Task :wakelock:bundleLibCompileToJarProfile > Task :app:packLibsflutterBuildRelease UP-TO-DATE > Task :wakelock:bundleLibRuntimeToJarProfile > Task :app:preReleaseBuild UP-TO-DATE > Task :app_installer:preReleaseBuild UP-TO-DATE > Task :app_installer:compileReleaseAidl NO-SOURCE > Task :connectivity_plus:preReleaseBuild UP-TO-DATE > Task :connectivity_plus:compileReleaseAidl NO-SOURCE > Task :cr_file_saver:preReleaseBuild UP-TO-DATE > Task :cr_file_saver:compileReleaseAidl NO-SOURCE > Task :device_apps:preReleaseBuild UP-TO-DATE > Task :device_apps:compileReleaseAidl NO-SOURCE > Task :device_info_plus:preReleaseBuild UP-TO-DATE > Task :device_info_plus:compileReleaseAidl NO-SOURCE > Task :dynamic_color:preReleaseBuild UP-TO-DATE > Task :dynamic_color:compileReleaseAidl NO-SOURCE > Task :file_picker:preReleaseBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:preReleaseBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:compileReleaseAidl NO-SOURCE > Task :file_picker:compileReleaseAidl NO-SOURCE > Task :flutter_background:preReleaseBuild UP-TO-DATE > Task :flutter_background:compileReleaseAidl NO-SOURCE > Task :flutter_local_notifications:preReleaseBuild UP-TO-DATE > Task :flutter_local_notifications:compileReleaseAidl NO-SOURCE > Task :flutter_statusbarcolor_ns:preReleaseBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileReleaseAidl NO-SOURCE > Task :fluttertoast:preReleaseBuild UP-TO-DATE > Task :fluttertoast:compileReleaseAidl NO-SOURCE > Task :logcat:preReleaseBuild UP-TO-DATE > Task :logcat:compileReleaseAidl NO-SOURCE > Task :package_info_plus:preReleaseBuild UP-TO-DATE > Task :package_info_plus:compileReleaseAidl NO-SOURCE > Task :path_provider_android:preReleaseBuild UP-TO-DATE > Task :path_provider_android:compileReleaseAidl NO-SOURCE > Task :permission_handler_android:preReleaseBuild UP-TO-DATE > Task :permission_handler_android:compileReleaseAidl NO-SOURCE > Task :root:preReleaseBuild UP-TO-DATE > Task :root:compileReleaseAidl NO-SOURCE > Task :share_extend:preReleaseBuild UP-TO-DATE > Task :share_extend:compileReleaseAidl NO-SOURCE > Task :shared_preferences_android:preReleaseBuild UP-TO-DATE > Task :shared_preferences_android:compileReleaseAidl NO-SOURCE > Task :sqflite:preReleaseBuild UP-TO-DATE > Task :sqflite:compileReleaseAidl NO-SOURCE > Task :url_launcher_android:preReleaseBuild UP-TO-DATE > Task :url_launcher_android:compileReleaseAidl NO-SOURCE > Task :wakelock:preReleaseBuild UP-TO-DATE > Task :wakelock:compileReleaseAidl NO-SOURCE > Task :app:compileReleaseAidl NO-SOURCE > Task :app_installer:packageReleaseRenderscript NO-SOURCE > Task :connectivity_plus:packageReleaseRenderscript NO-SOURCE > Task :cr_file_saver:packageReleaseRenderscript NO-SOURCE > Task :device_apps:packageReleaseRenderscript NO-SOURCE > Task :device_info_plus:packageReleaseRenderscript NO-SOURCE > Task :dynamic_color:packageReleaseRenderscript NO-SOURCE > Task :file_picker:packageReleaseRenderscript NO-SOURCE > Task :flutter_background:packageReleaseRenderscript NO-SOURCE > Task :flutter_local_notifications:packageReleaseRenderscript NO-SOURCE > Task :flutter_plugin_android_lifecycle:packageReleaseRenderscript NO-SOURCE > Task :flutter_statusbarcolor_ns:packageReleaseRenderscript NO-SOURCE > Task :fluttertoast:packageReleaseRenderscript NO-SOURCE > Task :logcat:packageReleaseRenderscript NO-SOURCE > Task :package_info_plus:packageReleaseRenderscript NO-SOURCE > Task :path_provider_android:packageReleaseRenderscript NO-SOURCE > Task :permission_handler_android:packageReleaseRenderscript NO-SOURCE > Task :root:packageReleaseRenderscript NO-SOURCE > Task :share_extend:packageReleaseRenderscript NO-SOURCE > Task :shared_preferences_android:packageReleaseRenderscript NO-SOURCE > Task :sqflite:packageReleaseRenderscript NO-SOURCE > Task :url_launcher_android:packageReleaseRenderscript NO-SOURCE > Task :wakelock:packageReleaseRenderscript NO-SOURCE > Task :app:compileReleaseRenderscript NO-SOURCE > Task :app:generateReleaseBuildConfig UP-TO-DATE > Task :app_installer:writeReleaseAarMetadata UP-TO-DATE > Task :connectivity_plus:writeReleaseAarMetadata UP-TO-DATE > Task :cr_file_saver:writeReleaseAarMetadata UP-TO-DATE > Task :device_apps:writeReleaseAarMetadata UP-TO-DATE > Task :device_info_plus:writeReleaseAarMetadata UP-TO-DATE > Task :dynamic_color:writeReleaseAarMetadata UP-TO-DATE > Task :file_picker:writeReleaseAarMetadata UP-TO-DATE > Task :flutter_background:writeReleaseAarMetadata UP-TO-DATE > Task :flutter_local_notifications:writeReleaseAarMetadata UP-TO-DATE > Task :flutter_plugin_android_lifecycle:writeReleaseAarMetadata UP-TO-DATE > Task :flutter_statusbarcolor_ns:writeReleaseAarMetadata UP-TO-DATE > Task :fluttertoast:writeReleaseAarMetadata UP-TO-DATE > Task :logcat:writeReleaseAarMetadata UP-TO-DATE > Task :package_info_plus:writeReleaseAarMetadata UP-TO-DATE > Task :path_provider_android:writeReleaseAarMetadata UP-TO-DATE > Task :permission_handler_android:writeReleaseAarMetadata UP-TO-DATE > Task :root:writeReleaseAarMetadata UP-TO-DATE > Task :share_extend:writeReleaseAarMetadata UP-TO-DATE > Task :shared_preferences_android:writeReleaseAarMetadata UP-TO-DATE > Task :sqflite:writeReleaseAarMetadata UP-TO-DATE > Task :url_launcher_android:writeReleaseAarMetadata UP-TO-DATE > Task :wakelock:writeReleaseAarMetadata UP-TO-DATE > Task :app:checkReleaseAarMetadata UP-TO-DATE > Task :app:cleanMergeReleaseAssets > Task :app:mergeReleaseShaders UP-TO-DATE > Task :app:compileReleaseShaders NO-SOURCE > Task :app:generateReleaseAssets UP-TO-DATE > Task :app_installer:mergeReleaseShaders UP-TO-DATE > Task :app_installer:compileReleaseShaders NO-SOURCE > Task :app_installer:generateReleaseAssets UP-TO-DATE > Task :app_installer:packageReleaseAssets UP-TO-DATE > Task :connectivity_plus:mergeReleaseShaders UP-TO-DATE > Task :connectivity_plus:compileReleaseShaders NO-SOURCE > Task :connectivity_plus:generateReleaseAssets UP-TO-DATE > Task :connectivity_plus:packageReleaseAssets UP-TO-DATE > Task :cr_file_saver:mergeReleaseShaders UP-TO-DATE > Task :cr_file_saver:compileReleaseShaders NO-SOURCE > Task :cr_file_saver:generateReleaseAssets UP-TO-DATE > Task :cr_file_saver:packageReleaseAssets UP-TO-DATE > Task :device_apps:mergeReleaseShaders UP-TO-DATE > Task :device_apps:compileReleaseShaders NO-SOURCE > Task :device_apps:generateReleaseAssets UP-TO-DATE > Task :device_apps:packageReleaseAssets UP-TO-DATE > Task :device_info_plus:mergeReleaseShaders UP-TO-DATE > Task :device_info_plus:compileReleaseShaders NO-SOURCE > Task :device_info_plus:generateReleaseAssets UP-TO-DATE > Task :device_info_plus:packageReleaseAssets UP-TO-DATE > Task :dynamic_color:mergeReleaseShaders UP-TO-DATE > Task :dynamic_color:compileReleaseShaders NO-SOURCE > Task :dynamic_color:generateReleaseAssets UP-TO-DATE > Task :dynamic_color:packageReleaseAssets UP-TO-DATE > Task :file_picker:mergeReleaseShaders UP-TO-DATE > Task :file_picker:compileReleaseShaders NO-SOURCE > Task :file_picker:generateReleaseAssets UP-TO-DATE > Task :file_picker:packageReleaseAssets UP-TO-DATE > Task :flutter_background:mergeReleaseShaders UP-TO-DATE > Task :flutter_background:compileReleaseShaders NO-SOURCE > Task :flutter_background:generateReleaseAssets UP-TO-DATE > Task :flutter_background:packageReleaseAssets UP-TO-DATE > Task :flutter_local_notifications:mergeReleaseShaders UP-TO-DATE > Task :flutter_local_notifications:compileReleaseShaders NO-SOURCE > Task :flutter_local_notifications:generateReleaseAssets UP-TO-DATE > Task :flutter_local_notifications:packageReleaseAssets UP-TO-DATE > Task :flutter_plugin_android_lifecycle:mergeReleaseShaders UP-TO-DATE > Task :flutter_plugin_android_lifecycle:compileReleaseShaders NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateReleaseAssets UP-TO-DATE > Task :flutter_plugin_android_lifecycle:packageReleaseAssets UP-TO-DATE > Task :flutter_statusbarcolor_ns:mergeReleaseShaders UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileReleaseShaders NO-SOURCE > Task :flutter_statusbarcolor_ns:generateReleaseAssets UP-TO-DATE > Task :flutter_statusbarcolor_ns:packageReleaseAssets UP-TO-DATE > Task :fluttertoast:mergeReleaseShaders UP-TO-DATE > Task :fluttertoast:compileReleaseShaders NO-SOURCE > Task :fluttertoast:generateReleaseAssets UP-TO-DATE > Task :fluttertoast:packageReleaseAssets UP-TO-DATE > Task :logcat:mergeReleaseShaders UP-TO-DATE > Task :logcat:compileReleaseShaders NO-SOURCE > Task :logcat:generateReleaseAssets UP-TO-DATE > Task :logcat:packageReleaseAssets UP-TO-DATE > Task :package_info_plus:mergeReleaseShaders UP-TO-DATE > Task :package_info_plus:compileReleaseShaders NO-SOURCE > Task :package_info_plus:generateReleaseAssets UP-TO-DATE > Task :package_info_plus:packageReleaseAssets UP-TO-DATE > Task :path_provider_android:mergeReleaseShaders UP-TO-DATE > Task :path_provider_android:compileReleaseShaders NO-SOURCE > Task :path_provider_android:generateReleaseAssets UP-TO-DATE > Task :path_provider_android:packageReleaseAssets UP-TO-DATE > Task :permission_handler_android:mergeReleaseShaders UP-TO-DATE > Task :permission_handler_android:compileReleaseShaders NO-SOURCE > Task :permission_handler_android:generateReleaseAssets UP-TO-DATE > Task :permission_handler_android:packageReleaseAssets UP-TO-DATE > Task :root:mergeReleaseShaders UP-TO-DATE > Task :root:compileReleaseShaders NO-SOURCE > Task :root:generateReleaseAssets UP-TO-DATE > Task :root:packageReleaseAssets UP-TO-DATE > Task :share_extend:mergeReleaseShaders UP-TO-DATE > Task :share_extend:compileReleaseShaders NO-SOURCE > Task :share_extend:generateReleaseAssets UP-TO-DATE > Task :share_extend:packageReleaseAssets UP-TO-DATE > Task :shared_preferences_android:mergeReleaseShaders UP-TO-DATE > Task :shared_preferences_android:compileReleaseShaders NO-SOURCE > Task :shared_preferences_android:generateReleaseAssets UP-TO-DATE > Task :shared_preferences_android:packageReleaseAssets UP-TO-DATE > Task :sqflite:mergeReleaseShaders UP-TO-DATE > Task :sqflite:compileReleaseShaders NO-SOURCE > Task :sqflite:generateReleaseAssets UP-TO-DATE > Task :sqflite:packageReleaseAssets UP-TO-DATE > Task :url_launcher_android:mergeReleaseShaders UP-TO-DATE > Task :url_launcher_android:compileReleaseShaders NO-SOURCE > Task :url_launcher_android:generateReleaseAssets UP-TO-DATE > Task :url_launcher_android:packageReleaseAssets UP-TO-DATE > Task :wakelock:mergeReleaseShaders UP-TO-DATE > Task :wakelock:compileReleaseShaders NO-SOURCE > Task :wakelock:generateReleaseAssets UP-TO-DATE > Task :wakelock:packageReleaseAssets UP-TO-DATE > Task :app:mergeReleaseAssets > Task :app:copyFlutterAssetsRelease > Task :app:generateReleaseResValues UP-TO-DATE > Task :app:generateReleaseResources UP-TO-DATE > Task :app_installer:compileReleaseRenderscript NO-SOURCE > Task :app_installer:generateReleaseResValues UP-TO-DATE > Task :app_installer:generateReleaseResources UP-TO-DATE > Task :app_installer:packageReleaseResources UP-TO-DATE > Task :connectivity_plus:compileReleaseRenderscript NO-SOURCE > Task :connectivity_plus:generateReleaseResValues UP-TO-DATE > Task :connectivity_plus:generateReleaseResources UP-TO-DATE > Task :connectivity_plus:packageReleaseResources UP-TO-DATE > Task :cr_file_saver:compileReleaseRenderscript NO-SOURCE > Task :cr_file_saver:generateReleaseResValues UP-TO-DATE > Task :cr_file_saver:generateReleaseResources UP-TO-DATE > Task :cr_file_saver:packageReleaseResources UP-TO-DATE > Task :device_apps:compileReleaseRenderscript NO-SOURCE > Task :device_apps:generateReleaseResValues UP-TO-DATE > Task :device_apps:generateReleaseResources UP-TO-DATE > Task :device_apps:packageReleaseResources UP-TO-DATE > Task :device_info_plus:compileReleaseRenderscript NO-SOURCE > Task :device_info_plus:generateReleaseResValues UP-TO-DATE > Task :device_info_plus:generateReleaseResources UP-TO-DATE > Task :device_info_plus:packageReleaseResources UP-TO-DATE > Task :dynamic_color:compileReleaseRenderscript NO-SOURCE > Task :dynamic_color:generateReleaseResValues UP-TO-DATE > Task :dynamic_color:generateReleaseResources UP-TO-DATE > Task :dynamic_color:packageReleaseResources UP-TO-DATE > Task :file_picker:compileReleaseRenderscript NO-SOURCE > Task :file_picker:generateReleaseResValues UP-TO-DATE > Task :file_picker:generateReleaseResources UP-TO-DATE > Task :file_picker:packageReleaseResources UP-TO-DATE > Task :flutter_background:compileReleaseRenderscript NO-SOURCE > Task :flutter_background:generateReleaseResValues UP-TO-DATE > Task :flutter_background:generateReleaseResources UP-TO-DATE > Task :flutter_background:packageReleaseResources UP-TO-DATE > Task :flutter_local_notifications:compileReleaseRenderscript NO-SOURCE > Task :flutter_local_notifications:generateReleaseResValues UP-TO-DATE > Task :flutter_local_notifications:generateReleaseResources UP-TO-DATE > Task :flutter_local_notifications:packageReleaseResources UP-TO-DATE > Task :flutter_plugin_android_lifecycle:compileReleaseRenderscript NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateReleaseResValues UP-TO-DATE > Task :flutter_plugin_android_lifecycle:generateReleaseResources UP-TO-DATE > Task :flutter_plugin_android_lifecycle:packageReleaseResources UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileReleaseRenderscript NO-SOURCE > Task :flutter_statusbarcolor_ns:generateReleaseResValues UP-TO-DATE > Task :flutter_statusbarcolor_ns:generateReleaseResources UP-TO-DATE > Task :flutter_statusbarcolor_ns:packageReleaseResources UP-TO-DATE > Task :fluttertoast:compileReleaseRenderscript NO-SOURCE > Task :fluttertoast:generateReleaseResValues UP-TO-DATE > Task :fluttertoast:generateReleaseResources UP-TO-DATE > Task :fluttertoast:packageReleaseResources UP-TO-DATE > Task :logcat:compileReleaseRenderscript NO-SOURCE > Task :logcat:generateReleaseResValues UP-TO-DATE > Task :logcat:generateReleaseResources UP-TO-DATE > Task :logcat:packageReleaseResources UP-TO-DATE > Task :package_info_plus:compileReleaseRenderscript NO-SOURCE > Task :package_info_plus:generateReleaseResValues UP-TO-DATE > Task :package_info_plus:generateReleaseResources UP-TO-DATE > Task :package_info_plus:packageReleaseResources UP-TO-DATE > Task :path_provider_android:compileReleaseRenderscript NO-SOURCE > Task :path_provider_android:generateReleaseResValues UP-TO-DATE > Task :path_provider_android:generateReleaseResources UP-TO-DATE > Task :path_provider_android:packageReleaseResources UP-TO-DATE > Task :permission_handler_android:compileReleaseRenderscript NO-SOURCE > Task :permission_handler_android:generateReleaseResValues UP-TO-DATE > Task :permission_handler_android:generateReleaseResources UP-TO-DATE > Task :permission_handler_android:packageReleaseResources UP-TO-DATE > Task :root:compileReleaseRenderscript NO-SOURCE > Task :root:generateReleaseResValues UP-TO-DATE > Task :root:generateReleaseResources UP-TO-DATE > Task :root:packageReleaseResources UP-TO-DATE > Task :share_extend:compileReleaseRenderscript NO-SOURCE > Task :share_extend:generateReleaseResValues UP-TO-DATE > Task :share_extend:generateReleaseResources UP-TO-DATE > Task :share_extend:packageReleaseResources UP-TO-DATE > Task :shared_preferences_android:compileReleaseRenderscript NO-SOURCE > Task :shared_preferences_android:generateReleaseResValues UP-TO-DATE > Task :shared_preferences_android:generateReleaseResources UP-TO-DATE > Task :shared_preferences_android:packageReleaseResources UP-TO-DATE > Task :sqflite:compileReleaseRenderscript NO-SOURCE > Task :sqflite:generateReleaseResValues UP-TO-DATE > Task :sqflite:generateReleaseResources UP-TO-DATE > Task :sqflite:packageReleaseResources UP-TO-DATE > Task :url_launcher_android:compileReleaseRenderscript NO-SOURCE > Task :url_launcher_android:generateReleaseResValues UP-TO-DATE > Task :url_launcher_android:generateReleaseResources UP-TO-DATE > Task :url_launcher_android:packageReleaseResources UP-TO-DATE > Task :wakelock:compileReleaseRenderscript NO-SOURCE > Task :wakelock:generateReleaseResValues UP-TO-DATE > Task :wakelock:generateReleaseResources UP-TO-DATE > Task :wakelock:packageReleaseResources UP-TO-DATE > Task :app:mergeReleaseResources UP-TO-DATE > Task :app:createReleaseCompatibleScreenManifests UP-TO-DATE > Task :app:extractDeepLinksRelease UP-TO-DATE > Task :app_installer:extractDeepLinksRelease UP-TO-DATE > Task :app_installer:processReleaseManifest UP-TO-DATE > Task :connectivity_plus:extractDeepLinksRelease UP-TO-DATE > Task :connectivity_plus:processReleaseManifest UP-TO-DATE > Task :cr_file_saver:extractDeepLinksRelease UP-TO-DATE > Task :cr_file_saver:processReleaseManifest UP-TO-DATE > Task :device_apps:extractDeepLinksRelease UP-TO-DATE > Task :device_apps:processReleaseManifest UP-TO-DATE > Task :device_info_plus:extractDeepLinksRelease UP-TO-DATE > Task :device_info_plus:processReleaseManifest UP-TO-DATE > Task :dynamic_color:extractDeepLinksRelease UP-TO-DATE > Task :dynamic_color:processReleaseManifest UP-TO-DATE > Task :file_picker:extractDeepLinksRelease UP-TO-DATE > Task :file_picker:processReleaseManifest UP-TO-DATE > Task :flutter_background:extractDeepLinksRelease UP-TO-DATE > Task :flutter_background:processReleaseManifest UP-TO-DATE > Task :flutter_local_notifications:extractDeepLinksRelease UP-TO-DATE > Task :flutter_local_notifications:processReleaseManifest UP-TO-DATE > Task :flutter_plugin_android_lifecycle:extractDeepLinksRelease UP-TO-DATE > Task :flutter_plugin_android_lifecycle:processReleaseManifest UP-TO-DATE > Task :flutter_statusbarcolor_ns:extractDeepLinksRelease UP-TO-DATE > Task :flutter_statusbarcolor_ns:processReleaseManifest UP-TO-DATE > Task :fluttertoast:extractDeepLinksRelease UP-TO-DATE > Task :fluttertoast:processReleaseManifest UP-TO-DATE > Task :logcat:extractDeepLinksRelease UP-TO-DATE > Task :logcat:processReleaseManifest UP-TO-DATE > Task :package_info_plus:extractDeepLinksRelease UP-TO-DATE > Task :package_info_plus:processReleaseManifest UP-TO-DATE > Task :path_provider_android:extractDeepLinksRelease UP-TO-DATE > Task :path_provider_android:processReleaseManifest UP-TO-DATE > Task :permission_handler_android:extractDeepLinksRelease UP-TO-DATE > Task :permission_handler_android:processReleaseManifest UP-TO-DATE > Task :root:extractDeepLinksRelease UP-TO-DATE > Task :root:processReleaseManifest UP-TO-DATE > Task :share_extend:extractDeepLinksRelease UP-TO-DATE > Task :share_extend:processReleaseManifest UP-TO-DATE > Task :shared_preferences_android:extractDeepLinksRelease UP-TO-DATE > Task :shared_preferences_android:processReleaseManifest UP-TO-DATE > Task :sqflite:extractDeepLinksRelease UP-TO-DATE > Task :sqflite:processReleaseManifest UP-TO-DATE > Task :url_launcher_android:extractDeepLinksRelease UP-TO-DATE > Task :url_launcher_android:processReleaseManifest UP-TO-DATE > Task :wakelock:extractDeepLinksRelease UP-TO-DATE > Task :wakelock:processReleaseManifest UP-TO-DATE > Task :app:processReleaseMainManifest UP-TO-DATE > Task :app:processReleaseManifest UP-TO-DATE > Task :app:processReleaseManifestForPackage UP-TO-DATE > Task :app_installer:compileReleaseLibraryResources UP-TO-DATE > Task :app_installer:parseReleaseLocalResources UP-TO-DATE > Task :app_installer:generateReleaseRFile UP-TO-DATE > Task :connectivity_plus:compileReleaseLibraryResources UP-TO-DATE > Task :connectivity_plus:parseReleaseLocalResources UP-TO-DATE > Task :connectivity_plus:generateReleaseRFile UP-TO-DATE > Task :cr_file_saver:compileReleaseLibraryResources UP-TO-DATE > Task :cr_file_saver:parseReleaseLocalResources UP-TO-DATE > Task :cr_file_saver:generateReleaseRFile UP-TO-DATE > Task :device_apps:compileReleaseLibraryResources UP-TO-DATE > Task :device_apps:parseReleaseLocalResources UP-TO-DATE > Task :device_apps:generateReleaseRFile UP-TO-DATE > Task :device_info_plus:compileReleaseLibraryResources UP-TO-DATE > Task :device_info_plus:parseReleaseLocalResources UP-TO-DATE > Task :device_info_plus:generateReleaseRFile UP-TO-DATE > Task :dynamic_color:compileReleaseLibraryResources UP-TO-DATE > Task :dynamic_color:parseReleaseLocalResources UP-TO-DATE > Task :dynamic_color:generateReleaseRFile UP-TO-DATE > Task :file_picker:compileReleaseLibraryResources UP-TO-DATE > Task :file_picker:parseReleaseLocalResources UP-TO-DATE > Task :flutter_plugin_android_lifecycle:parseReleaseLocalResources UP-TO-DATE > Task :flutter_plugin_android_lifecycle:generateReleaseRFile UP-TO-DATE > Task :file_picker:generateReleaseRFile UP-TO-DATE > Task :flutter_background:compileReleaseLibraryResources UP-TO-DATE > Task :flutter_background:parseReleaseLocalResources UP-TO-DATE > Task :flutter_background:generateReleaseRFile UP-TO-DATE > Task :flutter_local_notifications:compileReleaseLibraryResources UP-TO-DATE > Task :flutter_local_notifications:parseReleaseLocalResources UP-TO-DATE > Task :flutter_local_notifications:generateReleaseRFile UP-TO-DATE > Task :flutter_plugin_android_lifecycle:compileReleaseLibraryResources UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileReleaseLibraryResources UP-TO-DATE > Task :flutter_statusbarcolor_ns:parseReleaseLocalResources UP-TO-DATE > Task :flutter_statusbarcolor_ns:generateReleaseRFile UP-TO-DATE > Task :fluttertoast:compileReleaseLibraryResources UP-TO-DATE > Task :fluttertoast:parseReleaseLocalResources UP-TO-DATE > Task :fluttertoast:generateReleaseRFile UP-TO-DATE > Task :logcat:compileReleaseLibraryResources UP-TO-DATE > Task :logcat:parseReleaseLocalResources UP-TO-DATE > Task :logcat:generateReleaseRFile UP-TO-DATE > Task :package_info_plus:compileReleaseLibraryResources UP-TO-DATE > Task :package_info_plus:parseReleaseLocalResources UP-TO-DATE > Task :package_info_plus:generateReleaseRFile UP-TO-DATE > Task :path_provider_android:compileReleaseLibraryResources UP-TO-DATE > Task :path_provider_android:parseReleaseLocalResources UP-TO-DATE > Task :path_provider_android:generateReleaseRFile UP-TO-DATE > Task :permission_handler_android:compileReleaseLibraryResources UP-TO-DATE > Task :permission_handler_android:parseReleaseLocalResources UP-TO-DATE > Task :permission_handler_android:generateReleaseRFile UP-TO-DATE > Task :root:compileReleaseLibraryResources UP-TO-DATE > Task :root:parseReleaseLocalResources UP-TO-DATE > Task :root:generateReleaseRFile UP-TO-DATE > Task :share_extend:compileReleaseLibraryResources UP-TO-DATE > Task :share_extend:parseReleaseLocalResources UP-TO-DATE > Task :share_extend:generateReleaseRFile UP-TO-DATE > Task :shared_preferences_android:compileReleaseLibraryResources UP-TO-DATE > Task :shared_preferences_android:parseReleaseLocalResources UP-TO-DATE > Task :shared_preferences_android:generateReleaseRFile UP-TO-DATE > Task :sqflite:compileReleaseLibraryResources UP-TO-DATE > Task :sqflite:parseReleaseLocalResources UP-TO-DATE > Task :sqflite:generateReleaseRFile UP-TO-DATE > Task :url_launcher_android:compileReleaseLibraryResources UP-TO-DATE > Task :url_launcher_android:parseReleaseLocalResources UP-TO-DATE > Task :url_launcher_android:generateReleaseRFile UP-TO-DATE > Task :wakelock:compileReleaseLibraryResources UP-TO-DATE > Task :wakelock:parseReleaseLocalResources UP-TO-DATE > Task :wakelock:generateReleaseRFile UP-TO-DATE > Task :app:processReleaseResources UP-TO-DATE > Task :app_installer:generateReleaseBuildConfig UP-TO-DATE > Task :app_installer:javaPreCompileRelease UP-TO-DATE > Task :app_installer:compileReleaseJavaWithJavac UP-TO-DATE > Task :app_installer:bundleLibCompileToJarRelease UP-TO-DATE > Task :connectivity_plus:generateReleaseBuildConfig UP-TO-DATE > Task :connectivity_plus:javaPreCompileRelease UP-TO-DATE > Task :connectivity_plus:compileReleaseJavaWithJavac UP-TO-DATE > Task :connectivity_plus:bundleLibCompileToJarRelease UP-TO-DATE > Task :cr_file_saver:generateReleaseBuildConfig UP-TO-DATE > Task :cr_file_saver:compileReleaseKotlin UP-TO-DATE > Task :cr_file_saver:javaPreCompileRelease UP-TO-DATE > Task :cr_file_saver:compileReleaseJavaWithJavac UP-TO-DATE > Task :cr_file_saver:bundleLibCompileToJarRelease UP-TO-DATE > Task :device_apps:generateReleaseBuildConfig UP-TO-DATE > Task :device_apps:javaPreCompileRelease UP-TO-DATE > Task :device_apps:compileReleaseJavaWithJavac UP-TO-DATE > Task :device_apps:bundleLibCompileToJarRelease UP-TO-DATE > Task :device_info_plus:generateReleaseBuildConfig UP-TO-DATE > Task :device_info_plus:compileReleaseKotlin UP-TO-DATE > Task :device_info_plus:javaPreCompileRelease UP-TO-DATE > Task :device_info_plus:compileReleaseJavaWithJavac UP-TO-DATE > Task :device_info_plus:bundleLibCompileToJarRelease UP-TO-DATE > Task :dynamic_color:generateReleaseBuildConfig UP-TO-DATE > Task :dynamic_color:compileReleaseKotlin UP-TO-DATE > Task :dynamic_color:javaPreCompileRelease UP-TO-DATE > Task :dynamic_color:compileReleaseJavaWithJavac UP-TO-DATE > Task :dynamic_color:bundleLibCompileToJarRelease UP-TO-DATE > Task :file_picker:generateReleaseBuildConfig UP-TO-DATE > Task :file_picker:javaPreCompileRelease UP-TO-DATE > Task :flutter_plugin_android_lifecycle:generateReleaseBuildConfig UP-TO-DATE > Task :flutter_plugin_android_lifecycle:javaPreCompileRelease UP-TO-DATE > Task :flutter_plugin_android_lifecycle:compileReleaseJavaWithJavac UP-TO-DATE > Task :flutter_plugin_android_lifecycle:bundleLibCompileToJarRelease UP-TO-DATE > Task :file_picker:compileReleaseJavaWithJavac UP-TO-DATE > Task :file_picker:bundleLibCompileToJarRelease UP-TO-DATE > Task :flutter_background:generateReleaseBuildConfig UP-TO-DATE > Task :flutter_background:compileReleaseKotlin UP-TO-DATE > Task :flutter_background:javaPreCompileRelease UP-TO-DATE > Task :flutter_background:compileReleaseJavaWithJavac UP-TO-DATE > Task :flutter_background:bundleLibCompileToJarRelease UP-TO-DATE > Task :flutter_local_notifications:generateReleaseBuildConfig UP-TO-DATE > Task :flutter_local_notifications:javaPreCompileRelease UP-TO-DATE > Task :flutter_local_notifications:compileReleaseJavaWithJavac UP-TO-DATE > Task :flutter_local_notifications:bundleLibCompileToJarRelease UP-TO-DATE > Task :flutter_statusbarcolor_ns:generateReleaseBuildConfig UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileReleaseKotlin UP-TO-DATE > Task :flutter_statusbarcolor_ns:javaPreCompileRelease UP-TO-DATE > Task :flutter_statusbarcolor_ns:compileReleaseJavaWithJavac UP-TO-DATE > Task :flutter_statusbarcolor_ns:bundleLibCompileToJarRelease UP-TO-DATE > Task :fluttertoast:generateReleaseBuildConfig UP-TO-DATE > Task :fluttertoast:compileReleaseKotlin UP-TO-DATE > Task :fluttertoast:javaPreCompileRelease UP-TO-DATE > Task :fluttertoast:compileReleaseJavaWithJavac UP-TO-DATE > Task :fluttertoast:bundleLibCompileToJarRelease UP-TO-DATE > Task :logcat:generateReleaseBuildConfig UP-TO-DATE > Task :logcat:javaPreCompileRelease UP-TO-DATE > Task :logcat:compileReleaseJavaWithJavac UP-TO-DATE > Task :logcat:bundleLibCompileToJarRelease UP-TO-DATE > Task :package_info_plus:generateReleaseBuildConfig UP-TO-DATE > Task :package_info_plus:compileReleaseKotlin UP-TO-DATE > Task :package_info_plus:javaPreCompileRelease UP-TO-DATE > Task :package_info_plus:compileReleaseJavaWithJavac UP-TO-DATE > Task :package_info_plus:bundleLibCompileToJarRelease UP-TO-DATE > Task :path_provider_android:generateReleaseBuildConfig UP-TO-DATE > Task :path_provider_android:javaPreCompileRelease UP-TO-DATE > Task :path_provider_android:compileReleaseJavaWithJavac UP-TO-DATE > Task :path_provider_android:bundleLibCompileToJarRelease UP-TO-DATE > Task :permission_handler_android:generateReleaseBuildConfig UP-TO-DATE > Task :permission_handler_android:javaPreCompileRelease UP-TO-DATE > Task :permission_handler_android:compileReleaseJavaWithJavac UP-TO-DATE > Task :permission_handler_android:bundleLibCompileToJarRelease UP-TO-DATE > Task :root:generateReleaseBuildConfig UP-TO-DATE > Task :root:javaPreCompileRelease UP-TO-DATE > Task :root:compileReleaseJavaWithJavac UP-TO-DATE > Task :root:bundleLibCompileToJarRelease UP-TO-DATE > Task :share_extend:generateReleaseBuildConfig UP-TO-DATE > Task :share_extend:javaPreCompileRelease UP-TO-DATE > Task :share_extend:compileReleaseJavaWithJavac UP-TO-DATE > Task :share_extend:bundleLibCompileToJarRelease UP-TO-DATE > Task :shared_preferences_android:generateReleaseBuildConfig UP-TO-DATE > Task :shared_preferences_android:javaPreCompileRelease UP-TO-DATE > Task :shared_preferences_android:compileReleaseJavaWithJavac UP-TO-DATE > Task :shared_preferences_android:bundleLibCompileToJarRelease UP-TO-DATE > Task :sqflite:generateReleaseBuildConfig UP-TO-DATE > Task :sqflite:javaPreCompileRelease UP-TO-DATE > Task :sqflite:compileReleaseJavaWithJavac UP-TO-DATE > Task :sqflite:bundleLibCompileToJarRelease UP-TO-DATE > Task :url_launcher_android:generateReleaseBuildConfig UP-TO-DATE > Task :url_launcher_android:javaPreCompileRelease UP-TO-DATE > Task :url_launcher_android:compileReleaseJavaWithJavac UP-TO-DATE > Task :url_launcher_android:bundleLibCompileToJarRelease UP-TO-DATE > Task :wakelock:generateReleaseBuildConfig UP-TO-DATE > Task :wakelock:compileReleaseKotlin UP-TO-DATE > Task :wakelock:javaPreCompileRelease UP-TO-DATE > Task :wakelock:compileReleaseJavaWithJavac UP-TO-DATE > Task :wakelock:bundleLibCompileToJarRelease UP-TO-DATE > Task :app:compileReleaseKotlin UP-TO-DATE > Task :app:javaPreCompileRelease UP-TO-DATE > Task :app:compileReleaseJavaWithJavac UP-TO-DATE > Task :app:preReleaseUnitTestBuild UP-TO-DATE > Task :app:processReleaseJavaRes NO-SOURCE > Task :app:javaPreCompileReleaseUnitTest > Task :app:processReleaseUnitTestJavaRes NO-SOURCE > Task :app_installer:processReleaseJavaRes NO-SOURCE > Task :app_installer:bundleLibResRelease NO-SOURCE > Task :app_installer:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :connectivity_plus:processReleaseJavaRes NO-SOURCE > Task :connectivity_plus:bundleLibResRelease NO-SOURCE > Task :connectivity_plus:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :cr_file_saver:processReleaseJavaRes NO-SOURCE > Task :cr_file_saver:bundleLibResRelease UP-TO-DATE > Task :cr_file_saver:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :app:bundleReleaseClasses > Task :device_apps:processReleaseJavaRes NO-SOURCE > Task :device_apps:bundleLibResRelease NO-SOURCE > Task :device_apps:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :device_info_plus:processReleaseJavaRes NO-SOURCE > Task :device_info_plus:bundleLibResRelease UP-TO-DATE > Task :device_info_plus:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :dynamic_color:processReleaseJavaRes NO-SOURCE > Task :dynamic_color:bundleLibResRelease UP-TO-DATE > Task :dynamic_color:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :file_picker:processReleaseJavaRes NO-SOURCE > Task :file_picker:bundleLibResRelease NO-SOURCE > Task :file_picker:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :flutter_background:processReleaseJavaRes NO-SOURCE > Task :app:compileReleaseUnitTestKotlin NO-SOURCE > Task :app:bundleReleaseClassesToRuntimeJar > Task :app:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :flutter_background:bundleLibResRelease UP-TO-DATE > Task :flutter_background:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :flutter_local_notifications:processReleaseJavaRes NO-SOURCE > Task :flutter_local_notifications:bundleLibResRelease NO-SOURCE > Task :flutter_local_notifications:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :flutter_plugin_android_lifecycle:processReleaseJavaRes NO-SOURCE > Task :flutter_plugin_android_lifecycle:bundleLibResRelease NO-SOURCE > Task :flutter_plugin_android_lifecycle:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :flutter_statusbarcolor_ns:processReleaseJavaRes NO-SOURCE > Task :flutter_statusbarcolor_ns:bundleLibResRelease UP-TO-DATE > Task :flutter_statusbarcolor_ns:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :fluttertoast:processReleaseJavaRes NO-SOURCE > Task :fluttertoast:bundleLibResRelease UP-TO-DATE > Task :fluttertoast:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :logcat:processReleaseJavaRes NO-SOURCE > Task :logcat:bundleLibResRelease NO-SOURCE > Task :logcat:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :package_info_plus:processReleaseJavaRes NO-SOURCE > Task :package_info_plus:bundleLibResRelease UP-TO-DATE > Task :package_info_plus:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :path_provider_android:processReleaseJavaRes NO-SOURCE > Task :path_provider_android:bundleLibResRelease NO-SOURCE > Task :path_provider_android:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :permission_handler_android:processReleaseJavaRes NO-SOURCE > Task :permission_handler_android:bundleLibResRelease NO-SOURCE > Task :permission_handler_android:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :root:processReleaseJavaRes NO-SOURCE > Task :root:bundleLibResRelease NO-SOURCE > Task :root:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :share_extend:processReleaseJavaRes NO-SOURCE > Task :share_extend:bundleLibResRelease NO-SOURCE > Task :share_extend:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :shared_preferences_android:processReleaseJavaRes NO-SOURCE > Task :shared_preferences_android:bundleLibResRelease NO-SOURCE > Task :shared_preferences_android:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :sqflite:processReleaseJavaRes NO-SOURCE > Task :sqflite:bundleLibResRelease NO-SOURCE > Task :sqflite:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :url_launcher_android:processReleaseJavaRes NO-SOURCE > Task :url_launcher_android:bundleLibResRelease NO-SOURCE > Task :url_launcher_android:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :wakelock:processReleaseJavaRes NO-SOURCE > Task :wakelock:bundleLibResRelease UP-TO-DATE > Task :wakelock:bundleLibRuntimeToJarRelease UP-TO-DATE > Task :app:testReleaseUnitTest NO-SOURCE > Task :app_installer:preDebugUnitTestBuild UP-TO-DATE > Task :app_installer:processDebugUnitTestJavaRes NO-SOURCE > Task :app_installer:preProfileUnitTestBuild UP-TO-DATE > Task :app_installer:javaPreCompileDebugUnitTest > Task :app_installer:processProfileUnitTestJavaRes NO-SOURCE > Task :app_installer:preReleaseUnitTestBuild UP-TO-DATE > Task :app_installer:javaPreCompileProfileUnitTest > Task :app_installer:processReleaseUnitTestJavaRes NO-SOURCE > Task :connectivity_plus:preDebugUnitTestBuild UP-TO-DATE > Task :app_installer:javaPreCompileReleaseUnitTest > Task :app_installer:generateProfileUnitTestStubRFile > Task :app_installer:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :app_installer:testProfileUnitTest NO-SOURCE > Task :app_installer:generateReleaseUnitTestStubRFile > Task :app_installer:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :app_installer:generateDebugUnitTestStubRFile > Task :connectivity_plus:javaPreCompileDebugUnitTest > Task :app_installer:testReleaseUnitTest NO-SOURCE > Task :app_installer:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :app_installer:testDebugUnitTest NO-SOURCE > Task :app_installer:test UP-TO-DATE > Task :connectivity_plus:processDebugUnitTestJavaRes NO-SOURCE > Task :connectivity_plus:preProfileUnitTestBuild UP-TO-DATE > Task :connectivity_plus:generateDebugUnitTestStubRFile > Task :connectivity_plus:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :connectivity_plus:testDebugUnitTest NO-SOURCE > Task :connectivity_plus:processProfileUnitTestJavaRes NO-SOURCE > Task :connectivity_plus:preReleaseUnitTestBuild UP-TO-DATE > Task :connectivity_plus:javaPreCompileProfileUnitTest > Task :connectivity_plus:generateProfileUnitTestStubRFile > Task :connectivity_plus:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :connectivity_plus:testProfileUnitTest NO-SOURCE > Task :connectivity_plus:processReleaseUnitTestJavaRes NO-SOURCE > Task :cr_file_saver:preDebugUnitTestBuild UP-TO-DATE > Task :connectivity_plus:javaPreCompileReleaseUnitTest > Task :connectivity_plus:generateReleaseUnitTestStubRFile > Task :connectivity_plus:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :cr_file_saver:javaPreCompileDebugUnitTest > Task :connectivity_plus:testReleaseUnitTest NO-SOURCE > Task :connectivity_plus:test UP-TO-DATE > Task :cr_file_saver:processDebugUnitTestJavaRes NO-SOURCE > Task :cr_file_saver:preProfileUnitTestBuild UP-TO-DATE > Task :cr_file_saver:generateDebugUnitTestStubRFile > Task :cr_file_saver:compileDebugUnitTestKotlin NO-SOURCE > Task :cr_file_saver:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :cr_file_saver:testDebugUnitTest NO-SOURCE > Task :cr_file_saver:processProfileUnitTestJavaRes NO-SOURCE > Task :cr_file_saver:preReleaseUnitTestBuild UP-TO-DATE > Task :cr_file_saver:javaPreCompileProfileUnitTest > Task :cr_file_saver:generateProfileUnitTestStubRFile > Task :cr_file_saver:processReleaseUnitTestJavaRes NO-SOURCE > Task :cr_file_saver:compileProfileUnitTestKotlin NO-SOURCE > Task :cr_file_saver:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :cr_file_saver:testProfileUnitTest NO-SOURCE > Task :device_apps:preDebugUnitTestBuild UP-TO-DATE > Task :cr_file_saver:javaPreCompileReleaseUnitTest > Task :device_apps:processDebugUnitTestJavaRes NO-SOURCE > Task :device_apps:preProfileUnitTestBuild UP-TO-DATE > Task :device_apps:javaPreCompileDebugUnitTest > Task :cr_file_saver:generateReleaseUnitTestStubRFile > Task :device_apps:generateDebugUnitTestStubRFile > Task :cr_file_saver:compileReleaseUnitTestKotlin NO-SOURCE > Task :cr_file_saver:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :cr_file_saver:testReleaseUnitTest NO-SOURCE > Task :cr_file_saver:test UP-TO-DATE > Task :device_apps:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :device_apps:testDebugUnitTest NO-SOURCE > Task :device_apps:processProfileUnitTestJavaRes NO-SOURCE > Task :device_apps:preReleaseUnitTestBuild UP-TO-DATE > Task :device_apps:javaPreCompileProfileUnitTest > Task :device_apps:generateProfileUnitTestStubRFile > Task :device_apps:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :device_apps:testProfileUnitTest NO-SOURCE > Task :device_apps:processReleaseUnitTestJavaRes NO-SOURCE > Task :device_info_plus:preDebugUnitTestBuild UP-TO-DATE > Task :device_apps:javaPreCompileReleaseUnitTest > Task :device_info_plus:processDebugUnitTestJavaRes NO-SOURCE > Task :device_info_plus:preProfileUnitTestBuild UP-TO-DATE > Task :device_info_plus:javaPreCompileDebugUnitTest > Task :device_info_plus:generateDebugUnitTestStubRFile > Task :device_info_plus:generateProfileUnitTestStubRFile > Task :device_info_plus:compileDebugUnitTestKotlin NO-SOURCE > Task :device_info_plus:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :device_info_plus:javaPreCompileProfileUnitTest > Task :device_info_plus:testDebugUnitTest NO-SOURCE > Task :device_info_plus:compileProfileUnitTestKotlin NO-SOURCE > Task :device_info_plus:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :device_apps:generateReleaseUnitTestStubRFile > Task :device_info_plus:processProfileUnitTestJavaRes NO-SOURCE > Task :device_apps:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :device_apps:testReleaseUnitTest NO-SOURCE > Task :device_apps:test UP-TO-DATE > Task :device_info_plus:testProfileUnitTest NO-SOURCE > Task :device_info_plus:preReleaseUnitTestBuild UP-TO-DATE > Task :device_info_plus:processReleaseUnitTestJavaRes NO-SOURCE > Task :dynamic_color:preDebugUnitTestBuild UP-TO-DATE > Task :device_info_plus:javaPreCompileReleaseUnitTest > Task :dynamic_color:processDebugUnitTestJavaRes NO-SOURCE > Task :dynamic_color:preProfileUnitTestBuild UP-TO-DATE > Task :dynamic_color:generateDebugUnitTestStubRFile > Task :dynamic_color:javaPreCompileDebugUnitTest > Task :dynamic_color:compileDebugUnitTestKotlin NO-SOURCE > Task :dynamic_color:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :dynamic_color:testDebugUnitTest NO-SOURCE > Task :dynamic_color:processProfileUnitTestJavaRes NO-SOURCE > Task :dynamic_color:preReleaseUnitTestBuild UP-TO-DATE > Task :dynamic_color:javaPreCompileProfileUnitTest > Task :device_info_plus:generateReleaseUnitTestStubRFile > Task :dynamic_color:generateProfileUnitTestStubRFile > Task :device_info_plus:compileReleaseUnitTestKotlin NO-SOURCE > Task :device_info_plus:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :device_info_plus:testReleaseUnitTest NO-SOURCE > Task :device_info_plus:test UP-TO-DATE > Task :dynamic_color:compileProfileUnitTestKotlin NO-SOURCE > Task :dynamic_color:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :dynamic_color:testProfileUnitTest NO-SOURCE > Task :dynamic_color:generateReleaseUnitTestStubRFile > Task :dynamic_color:compileReleaseUnitTestKotlin NO-SOURCE > Task :dynamic_color:javaPreCompileReleaseUnitTest > Task :dynamic_color:processReleaseUnitTestJavaRes NO-SOURCE > Task :dynamic_color:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :dynamic_color:testReleaseUnitTest NO-SOURCE > Task :dynamic_color:test UP-TO-DATE > Task :file_picker:preDebugUnitTestBuild UP-TO-DATE > Task :file_picker:processDebugUnitTestJavaRes NO-SOURCE > Task :file_picker:preProfileUnitTestBuild UP-TO-DATE > Task :file_picker:javaPreCompileDebugUnitTest > Task :file_picker:processProfileUnitTestJavaRes NO-SOURCE > Task :file_picker:preReleaseUnitTestBuild UP-TO-DATE > Task :file_picker:javaPreCompileProfileUnitTest > Task :file_picker:processReleaseUnitTestJavaRes NO-SOURCE > Task :flutter_background:preDebugUnitTestBuild UP-TO-DATE > Task :file_picker:generateDebugUnitTestStubRFile > Task :file_picker:javaPreCompileReleaseUnitTest > Task :file_picker:generateProfileUnitTestStubRFile > Task :file_picker:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :file_picker:testDebugUnitTest NO-SOURCE > Task :file_picker:generateReleaseUnitTestStubRFile > Task :file_picker:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :file_picker:testProfileUnitTest NO-SOURCE > Task :file_picker:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :file_picker:testReleaseUnitTest NO-SOURCE > Task :file_picker:test UP-TO-DATE > Task :flutter_background:generateDebugUnitTestStubRFile > Task :flutter_background:compileDebugUnitTestKotlin NO-SOURCE > Task :flutter_background:processDebugUnitTestJavaRes NO-SOURCE > Task :flutter_background:preProfileUnitTestBuild UP-TO-DATE > Task :flutter_background:javaPreCompileDebugUnitTest > Task :flutter_background:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :flutter_background:testDebugUnitTest NO-SOURCE > Task :flutter_background:processProfileUnitTestJavaRes NO-SOURCE > Task :flutter_background:preReleaseUnitTestBuild UP-TO-DATE > Task :flutter_background:generateProfileUnitTestStubRFile > Task :flutter_background:javaPreCompileProfileUnitTest > Task :flutter_background:compileProfileUnitTestKotlin NO-SOURCE > Task :flutter_background:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :flutter_background:testProfileUnitTest NO-SOURCE > Task :flutter_background:processReleaseUnitTestJavaRes NO-SOURCE > Task :flutter_local_notifications:preDebugUnitTestBuild UP-TO-DATE > Task :flutter_background:javaPreCompileReleaseUnitTest > Task :flutter_background:generateReleaseUnitTestStubRFile > Task :app:compileProfileKotlin w: /home/aun/Programming/Projects/FlutterProjects/revanced-manager/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt: (313, 28): The corresponding parameter in the supertype 'Logger' is named 'msg'. This may cause problems when calling this function with named arguments. > Task :flutter_local_notifications:generateDebugUnitTestStubRFile > Task :app:compileProfileJavaWithJavac > Task :flutter_background:compileReleaseUnitTestKotlin NO-SOURCE > Task :flutter_background:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :flutter_background:testReleaseUnitTest NO-SOURCE > Task :flutter_background:test UP-TO-DATE > Task :flutter_local_notifications:processDebugUnitTestJavaRes NO-SOURCE > Task :flutter_local_notifications:preProfileUnitTestBuild UP-TO-DATE > Task :flutter_local_notifications:javaPreCompileDebugUnitTest > Task :app:bundleProfileClasses > Task :flutter_local_notifications:generateProfileUnitTestStubRFile > Task :app:bundleProfileClassesToRuntimeJar > Task :flutter_local_notifications:compileDebugUnitTestJavaWithJavac Note: /home/aun/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/android/src/test/java/com/dexterous/flutterlocalnotifications/models/NotificationActionTest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :app:compileProfileUnitTestKotlin NO-SOURCE > Task :app:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :app:testProfileUnitTest NO-SOURCE > Task :app:test UP-TO-DATE > Task :flutter_local_notifications:testDebugUnitTest > Task :flutter_local_notifications:processProfileUnitTestJavaRes NO-SOURCE > Task :flutter_local_notifications:preReleaseUnitTestBuild UP-TO-DATE > Task :flutter_local_notifications:javaPreCompileProfileUnitTest > Task :flutter_local_notifications:generateReleaseUnitTestStubRFile > Task :flutter_local_notifications:compileProfileUnitTestJavaWithJavac Note: /home/aun/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/android/src/test/java/com/dexterous/flutterlocalnotifications/models/NotificationActionTest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :flutter_local_notifications:testProfileUnitTest > Task :flutter_local_notifications:processReleaseUnitTestJavaRes NO-SOURCE > Task :flutter_plugin_android_lifecycle:preDebugUnitTestBuild UP-TO-DATE > Task :flutter_local_notifications:javaPreCompileReleaseUnitTest > Task :flutter_plugin_android_lifecycle:javaPreCompileDebugUnitTest > Task :flutter_local_notifications:compileReleaseUnitTestJavaWithJavac Note: /home/aun/.pub-cache/hosted/pub.dev/flutter_local_notifications-13.0.0/android/src/test/java/com/dexterous/flutterlocalnotifications/models/NotificationActionTest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :flutter_local_notifications:testReleaseUnitTest > Task :flutter_local_notifications:test > Task :flutter_plugin_android_lifecycle:generateDebugUnitTestResValues > Task :flutter_plugin_android_lifecycle:generateDebugUnitTestResources > Task :flutter_plugin_android_lifecycle:checkDebugUnitTestAarMetadata > Task :flutter_plugin_android_lifecycle:processDebugUnitTestManifest > Task :flutter_plugin_android_lifecycle:mergeDebugAssets > Task :flutter_plugin_android_lifecycle:mergeDebugAssetsForUnitTest NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateDebugUnitTestAssets UP-TO-DATE > Task :flutter_plugin_android_lifecycle:mergeDebugUnitTestAssets > Task :flutter_plugin_android_lifecycle:mergeDebugUnitTestAssetsForUnitTest NO-SOURCE > Task :flutter_plugin_android_lifecycle:processDebugUnitTestJavaRes NO-SOURCE > Task :flutter_plugin_android_lifecycle:preProfileUnitTestBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:javaPreCompileProfileUnitTest > Task :flutter_plugin_android_lifecycle:checkProfileUnitTestAarMetadata > Task :flutter_plugin_android_lifecycle:generateProfileUnitTestResValues > Task :flutter_plugin_android_lifecycle:generateProfileUnitTestResources > Task :flutter_plugin_android_lifecycle:mergeDebugUnitTestResources > Task :flutter_plugin_android_lifecycle:processProfileUnitTestManifest > Task :flutter_plugin_android_lifecycle:mergeProfileAssets > Task :flutter_plugin_android_lifecycle:mergeProfileAssetsForUnitTest NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateProfileUnitTestAssets UP-TO-DATE > Task :flutter_plugin_android_lifecycle:mergeProfileUnitTestAssets > Task :flutter_plugin_android_lifecycle:mergeProfileUnitTestAssetsForUnitTest NO-SOURCE > Task :flutter_plugin_android_lifecycle:processProfileUnitTestJavaRes NO-SOURCE > Task :flutter_plugin_android_lifecycle:preReleaseUnitTestBuild UP-TO-DATE > Task :flutter_plugin_android_lifecycle:javaPreCompileReleaseUnitTest > Task :flutter_plugin_android_lifecycle:generateReleaseUnitTestResValues > Task :flutter_plugin_android_lifecycle:generateReleaseUnitTestResources > Task :flutter_plugin_android_lifecycle:checkReleaseUnitTestAarMetadata > Task :flutter_plugin_android_lifecycle:mergeProfileUnitTestResources > Task :flutter_plugin_android_lifecycle:processReleaseUnitTestManifest > Task :flutter_plugin_android_lifecycle:mergeReleaseAssets > Task :flutter_plugin_android_lifecycle:mergeReleaseAssetsForUnitTest NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateReleaseUnitTestAssets UP-TO-DATE > Task :flutter_plugin_android_lifecycle:mergeReleaseUnitTestAssets > Task :flutter_plugin_android_lifecycle:mergeReleaseUnitTestAssetsForUnitTest NO-SOURCE > Task :flutter_plugin_android_lifecycle:processReleaseUnitTestJavaRes NO-SOURCE > Task :flutter_statusbarcolor_ns:preDebugUnitTestBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:processDebugUnitTestJavaRes NO-SOURCE > Task :flutter_statusbarcolor_ns:preProfileUnitTestBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:javaPreCompileDebugUnitTest > Task :flutter_plugin_android_lifecycle:mergeReleaseUnitTestResources > Task :flutter_statusbarcolor_ns:generateDebugUnitTestStubRFile > Task :flutter_statusbarcolor_ns:javaPreCompileProfileUnitTest > Task :flutter_plugin_android_lifecycle:processDebugUnitTestResources > Task :flutter_statusbarcolor_ns:generateProfileUnitTestStubRFile > Task :flutter_plugin_android_lifecycle:processProfileUnitTestResources > Task :flutter_plugin_android_lifecycle:processReleaseUnitTestResources > Task :flutter_plugin_android_lifecycle:compileDebugUnitTestJavaWithJavac > Task :flutter_plugin_android_lifecycle:packageDebugUnitTestForUnitTest > Task :flutter_plugin_android_lifecycle:generateDebugUnitTestConfig > Task :flutter_plugin_android_lifecycle:compileProfileUnitTestJavaWithJavac > Task :flutter_plugin_android_lifecycle:testDebugUnitTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended io.flutter.embedding.engine.plugins.lifecycle.FlutterLifecycleAdapterTest > getActivityLifecycle PASSED > Task :flutter_plugin_android_lifecycle:packageProfileUnitTestForUnitTest > Task :flutter_plugin_android_lifecycle:generateProfileUnitTestConfig > Task :flutter_plugin_android_lifecycle:compileReleaseUnitTestJavaWithJavac > Task :flutter_plugin_android_lifecycle:testProfileUnitTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended io.flutter.embedding.engine.plugins.lifecycle.FlutterLifecycleAdapterTest > getActivityLifecycle PASSED > Task :flutter_plugin_android_lifecycle:packageReleaseUnitTestForUnitTest > Task :flutter_statusbarcolor_ns:compileDebugUnitTestKotlin NO-SOURCE > Task :flutter_plugin_android_lifecycle:generateReleaseUnitTestConfig > Task :flutter_plugin_android_lifecycle:testReleaseUnitTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended io.flutter.embedding.engine.plugins.lifecycle.FlutterLifecycleAdapterTest > getActivityLifecycle PASSED > Task :flutter_plugin_android_lifecycle:test > Task :flutter_statusbarcolor_ns:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :flutter_statusbarcolor_ns:testDebugUnitTest NO-SOURCE > Task :flutter_statusbarcolor_ns:compileProfileUnitTestKotlin NO-SOURCE > Task :flutter_statusbarcolor_ns:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :flutter_statusbarcolor_ns:processProfileUnitTestJavaRes NO-SOURCE > Task :flutter_statusbarcolor_ns:testProfileUnitTest NO-SOURCE > Task :flutter_statusbarcolor_ns:preReleaseUnitTestBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:processReleaseUnitTestJavaRes NO-SOURCE > Task :fluttertoast:preDebugUnitTestBuild UP-TO-DATE > Task :flutter_statusbarcolor_ns:javaPreCompileReleaseUnitTest > Task :flutter_statusbarcolor_ns:generateReleaseUnitTestStubRFile > Task :fluttertoast:javaPreCompileDebugUnitTest > Task :flutter_statusbarcolor_ns:compileReleaseUnitTestKotlin NO-SOURCE > Task :flutter_statusbarcolor_ns:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :flutter_statusbarcolor_ns:testReleaseUnitTest NO-SOURCE > Task :flutter_statusbarcolor_ns:test UP-TO-DATE > Task :fluttertoast:processDebugUnitTestJavaRes NO-SOURCE > Task :fluttertoast:preProfileUnitTestBuild UP-TO-DATE > Task :fluttertoast:generateDebugUnitTestStubRFile > Task :fluttertoast:compileDebugUnitTestKotlin NO-SOURCE > Task :fluttertoast:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :fluttertoast:testDebugUnitTest NO-SOURCE > Task :fluttertoast:processProfileUnitTestJavaRes NO-SOURCE > Task :fluttertoast:preReleaseUnitTestBuild UP-TO-DATE > Task :fluttertoast:javaPreCompileProfileUnitTest > Task :fluttertoast:generateProfileUnitTestStubRFile > Task :fluttertoast:compileProfileUnitTestKotlin NO-SOURCE > Task :fluttertoast:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :fluttertoast:testProfileUnitTest NO-SOURCE > Task :fluttertoast:processReleaseUnitTestJavaRes NO-SOURCE > Task :logcat:preDebugUnitTestBuild UP-TO-DATE > Task :fluttertoast:javaPreCompileReleaseUnitTest > Task :fluttertoast:generateReleaseUnitTestStubRFile > Task :fluttertoast:compileReleaseUnitTestKotlin NO-SOURCE > Task :fluttertoast:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :fluttertoast:testReleaseUnitTest NO-SOURCE > Task :fluttertoast:test UP-TO-DATE > Task :logcat:processDebugUnitTestJavaRes NO-SOURCE > Task :logcat:preProfileUnitTestBuild UP-TO-DATE > Task :logcat:javaPreCompileDebugUnitTest > Task :logcat:generateDebugUnitTestStubRFile > Task :logcat:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :logcat:testDebugUnitTest NO-SOURCE > Task :logcat:processProfileUnitTestJavaRes NO-SOURCE > Task :logcat:preReleaseUnitTestBuild UP-TO-DATE > Task :logcat:javaPreCompileProfileUnitTest > Task :logcat:generateProfileUnitTestStubRFile > Task :logcat:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :logcat:testProfileUnitTest NO-SOURCE > Task :logcat:processReleaseUnitTestJavaRes NO-SOURCE > Task :package_info_plus:preDebugUnitTestBuild UP-TO-DATE > Task :logcat:javaPreCompileReleaseUnitTest > Task :logcat:generateReleaseUnitTestStubRFile > Task :package_info_plus:javaPreCompileDebugUnitTest > Task :logcat:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :logcat:testReleaseUnitTest NO-SOURCE > Task :logcat:test UP-TO-DATE > Task :package_info_plus:processDebugUnitTestJavaRes NO-SOURCE > Task :package_info_plus:preProfileUnitTestBuild UP-TO-DATE > Task :package_info_plus:processProfileUnitTestJavaRes NO-SOURCE > Task :package_info_plus:preReleaseUnitTestBuild UP-TO-DATE > Task :package_info_plus:javaPreCompileProfileUnitTest > Task :package_info_plus:generateDebugUnitTestStubRFile > Task :package_info_plus:generateProfileUnitTestStubRFile > Task :package_info_plus:compileDebugUnitTestKotlin NO-SOURCE > Task :package_info_plus:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :package_info_plus:testDebugUnitTest NO-SOURCE > Task :package_info_plus:compileProfileUnitTestKotlin NO-SOURCE > Task :package_info_plus:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :package_info_plus:testProfileUnitTest NO-SOURCE > Task :package_info_plus:generateReleaseUnitTestStubRFile > Task :package_info_plus:processReleaseUnitTestJavaRes NO-SOURCE > Task :package_info_plus:javaPreCompileReleaseUnitTest > Task :package_info_plus:compileReleaseUnitTestKotlin NO-SOURCE > Task :package_info_plus:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :package_info_plus:testReleaseUnitTest NO-SOURCE > Task :package_info_plus:test UP-TO-DATE > Task :path_provider_android:preDebugUnitTestBuild UP-TO-DATE > Task :path_provider_android:javaPreCompileDebugUnitTest > Task :path_provider_android:generateDebugUnitTestResValues > Task :path_provider_android:checkDebugUnitTestAarMetadata > Task :path_provider_android:generateDebugUnitTestResources > Task :path_provider_android:processDebugUnitTestManifest > Task :path_provider_android:mergeDebugAssets > Task :path_provider_android:mergeDebugAssetsForUnitTest NO-SOURCE > Task :path_provider_android:generateDebugUnitTestAssets UP-TO-DATE > Task :path_provider_android:mergeDebugUnitTestAssets > Task :path_provider_android:mergeDebugUnitTestAssetsForUnitTest NO-SOURCE > Task :path_provider_android:processDebugUnitTestJavaRes NO-SOURCE > Task :path_provider_android:preProfileUnitTestBuild UP-TO-DATE > Task :path_provider_android:javaPreCompileProfileUnitTest > Task :path_provider_android:checkProfileUnitTestAarMetadata > Task :path_provider_android:generateProfileUnitTestResValues > Task :path_provider_android:generateProfileUnitTestResources > Task :path_provider_android:mergeDebugUnitTestResources > Task :path_provider_android:processProfileUnitTestManifest > Task :path_provider_android:mergeProfileAssets > Task :path_provider_android:mergeProfileAssetsForUnitTest NO-SOURCE > Task :path_provider_android:generateProfileUnitTestAssets UP-TO-DATE > Task :path_provider_android:mergeProfileUnitTestAssets > Task :path_provider_android:mergeProfileUnitTestAssetsForUnitTest NO-SOURCE > Task :path_provider_android:processProfileUnitTestJavaRes NO-SOURCE > Task :path_provider_android:preReleaseUnitTestBuild UP-TO-DATE > Task :path_provider_android:javaPreCompileReleaseUnitTest > Task :path_provider_android:generateReleaseUnitTestResValues > Task :path_provider_android:generateReleaseUnitTestResources > Task :path_provider_android:checkReleaseUnitTestAarMetadata > Task :path_provider_android:mergeProfileUnitTestResources > Task :path_provider_android:processReleaseUnitTestManifest > Task :path_provider_android:mergeReleaseAssets > Task :path_provider_android:mergeReleaseAssetsForUnitTest NO-SOURCE > Task :path_provider_android:generateReleaseUnitTestAssets UP-TO-DATE > Task :path_provider_android:mergeReleaseUnitTestAssets > Task :path_provider_android:mergeReleaseUnitTestAssetsForUnitTest NO-SOURCE > Task :path_provider_android:processReleaseUnitTestJavaRes NO-SOURCE > Task :permission_handler_android:preDebugUnitTestBuild UP-TO-DATE > Task :permission_handler_android:processDebugUnitTestJavaRes NO-SOURCE > Task :permission_handler_android:preProfileUnitTestBuild UP-TO-DATE > Task :permission_handler_android:javaPreCompileDebugUnitTest > Task :permission_handler_android:generateDebugUnitTestStubRFile > Task :permission_handler_android:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :permission_handler_android:testDebugUnitTest NO-SOURCE > Task :path_provider_android:mergeReleaseUnitTestResources > Task :permission_handler_android:processProfileUnitTestJavaRes NO-SOURCE > Task :permission_handler_android:javaPreCompileProfileUnitTest > Task :permission_handler_android:generateProfileUnitTestStubRFile > Task :permission_handler_android:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :permission_handler_android:testProfileUnitTest NO-SOURCE > Task :permission_handler_android:preReleaseUnitTestBuild UP-TO-DATE > Task :permission_handler_android:processReleaseUnitTestJavaRes NO-SOURCE > Task :root:preDebugUnitTestBuild UP-TO-DATE > Task :permission_handler_android:javaPreCompileReleaseUnitTest > Task :permission_handler_android:generateReleaseUnitTestStubRFile > Task :root:javaPreCompileDebugUnitTest > Task :root:processDebugUnitTestJavaRes NO-SOURCE > Task :permission_handler_android:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :permission_handler_android:testReleaseUnitTest NO-SOURCE > Task :permission_handler_android:test UP-TO-DATE > Task :root:preProfileUnitTestBuild UP-TO-DATE > Task :root:generateDebugUnitTestStubRFile > Task :root:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :root:testDebugUnitTest NO-SOURCE > Task :root:processProfileUnitTestJavaRes NO-SOURCE > Task :root:javaPreCompileProfileUnitTest > Task :root:preReleaseUnitTestBuild UP-TO-DATE > Task :root:generateProfileUnitTestStubRFile > Task :root:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :root:testProfileUnitTest NO-SOURCE > Task :root:processReleaseUnitTestJavaRes NO-SOURCE > Task :share_extend:preDebugUnitTestBuild UP-TO-DATE > Task :root:javaPreCompileReleaseUnitTest > Task :root:generateReleaseUnitTestStubRFile > Task :root:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :root:testReleaseUnitTest NO-SOURCE > Task :root:test UP-TO-DATE > Task :share_extend:generateDebugUnitTestStubRFile > Task :share_extend:processDebugUnitTestJavaRes NO-SOURCE > Task :share_extend:preProfileUnitTestBuild UP-TO-DATE > Task :share_extend:javaPreCompileDebugUnitTest > Task :share_extend:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :share_extend:testDebugUnitTest NO-SOURCE > Task :share_extend:processProfileUnitTestJavaRes NO-SOURCE > Task :share_extend:preReleaseUnitTestBuild UP-TO-DATE > Task :share_extend:javaPreCompileProfileUnitTest > Task :share_extend:processReleaseUnitTestJavaRes NO-SOURCE > Task :shared_preferences_android:preDebugUnitTestBuild UP-TO-DATE > Task :share_extend:javaPreCompileReleaseUnitTest > Task :shared_preferences_android:javaPreCompileDebugUnitTest > Task :share_extend:generateProfileUnitTestStubRFile > Task :path_provider_android:processDebugUnitTestResources > Task :share_extend:generateReleaseUnitTestStubRFile > Task :path_provider_android:processProfileUnitTestResources > Task :path_provider_android:processReleaseUnitTestResources > Task :shared_preferences_android:checkDebugUnitTestAarMetadata > Task :path_provider_android:compileDebugUnitTestJavaWithJavac > Task :path_provider_android:packageDebugUnitTestForUnitTest > Task :path_provider_android:generateDebugUnitTestConfig > Task :path_provider_android:compileProfileUnitTestJavaWithJavac > Task :path_provider_android:testDebugUnitTest io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_valid PASSED io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_null PASSED io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_invalid PASSED > Task :path_provider_android:packageProfileUnitTestForUnitTest > Task :path_provider_android:generateProfileUnitTestConfig > Task :path_provider_android:compileReleaseUnitTestJavaWithJavac > Task :path_provider_android:testProfileUnitTest io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_valid PASSED io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_null PASSED io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_invalid PASSED > Task :path_provider_android:packageReleaseUnitTestForUnitTest > Task :share_extend:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :path_provider_android:generateReleaseUnitTestConfig > Task :share_extend:testProfileUnitTest NO-SOURCE > Task :path_provider_android:testReleaseUnitTest io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_valid PASSED io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_null PASSED io.flutter.plugins.pathprovider.StorageDirectoryMapperTest > testAndroidType_invalid PASSED > Task :path_provider_android:test > Task :share_extend:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :share_extend:testReleaseUnitTest NO-SOURCE > Task :share_extend:test UP-TO-DATE > Task :shared_preferences_android:generateDebugUnitTestResValues > Task :shared_preferences_android:generateDebugUnitTestResources > Task :shared_preferences_android:processDebugUnitTestManifest > Task :shared_preferences_android:mergeDebugAssets > Task :shared_preferences_android:mergeDebugAssetsForUnitTest NO-SOURCE > Task :shared_preferences_android:generateDebugUnitTestAssets UP-TO-DATE > Task :shared_preferences_android:mergeDebugUnitTestAssets > Task :shared_preferences_android:mergeDebugUnitTestAssetsForUnitTest NO-SOURCE > Task :shared_preferences_android:processDebugUnitTestJavaRes NO-SOURCE > Task :shared_preferences_android:preProfileUnitTestBuild UP-TO-DATE > Task :shared_preferences_android:javaPreCompileProfileUnitTest > Task :shared_preferences_android:checkProfileUnitTestAarMetadata > Task :shared_preferences_android:generateProfileUnitTestResValues > Task :shared_preferences_android:generateProfileUnitTestResources > Task :shared_preferences_android:mergeDebugUnitTestResources > Task :shared_preferences_android:processProfileUnitTestManifest > Task :shared_preferences_android:mergeProfileAssets > Task :shared_preferences_android:mergeProfileAssetsForUnitTest NO-SOURCE > Task :shared_preferences_android:generateProfileUnitTestAssets UP-TO-DATE > Task :shared_preferences_android:mergeProfileUnitTestAssets > Task :shared_preferences_android:mergeProfileUnitTestAssetsForUnitTest NO-SOURCE > Task :shared_preferences_android:processProfileUnitTestJavaRes NO-SOURCE > Task :shared_preferences_android:preReleaseUnitTestBuild UP-TO-DATE > Task :shared_preferences_android:javaPreCompileReleaseUnitTest > Task :shared_preferences_android:generateReleaseUnitTestResValues > Task :shared_preferences_android:generateReleaseUnitTestResources > Task :shared_preferences_android:checkReleaseUnitTestAarMetadata > Task :shared_preferences_android:mergeProfileUnitTestResources > Task :shared_preferences_android:processReleaseUnitTestManifest > Task :shared_preferences_android:mergeReleaseAssets > Task :shared_preferences_android:mergeReleaseAssetsForUnitTest NO-SOURCE > Task :shared_preferences_android:generateReleaseUnitTestAssets UP-TO-DATE > Task :shared_preferences_android:mergeReleaseUnitTestAssets > Task :shared_preferences_android:mergeReleaseUnitTestAssetsForUnitTest NO-SOURCE > Task :shared_preferences_android:processReleaseUnitTestJavaRes NO-SOURCE > Task :sqflite:preDebugUnitTestBuild UP-TO-DATE > Task :shared_preferences_android:mergeReleaseUnitTestResources > Task :sqflite:javaPreCompileDebugUnitTest > Task :sqflite:processDebugUnitTestJavaRes NO-SOURCE > Task :sqflite:preProfileUnitTestBuild UP-TO-DATE > Task :sqflite:generateDebugUnitTestStubRFile > Task :sqflite:generateProfileUnitTestStubRFile > Task :shared_preferences_android:processDebugUnitTestResources > Task :sqflite:compileDebugUnitTestJavaWithJavac > Task :shared_preferences_android:processProfileUnitTestResources > Task :shared_preferences_android:processReleaseUnitTestResources > Task :shared_preferences_android:compileDebugUnitTestJavaWithJavac > Task :shared_preferences_android:packageDebugUnitTestForUnitTest > Task :shared_preferences_android:generateDebugUnitTestConfig > Task :shared_preferences_android:compileProfileUnitTestJavaWithJavac > Task :shared_preferences_android:testDebugUnitTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setStringList PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setInt PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setDouble PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > getAllWithPrefix PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setString PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > clearAll PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > clearWithPrefix PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testRemove PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setBool PASSED > Task :shared_preferences_android:packageProfileUnitTestForUnitTest > Task :shared_preferences_android:generateProfileUnitTestConfig > Task :shared_preferences_android:compileReleaseUnitTestJavaWithJavac > Task :shared_preferences_android:testProfileUnitTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setStringList PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setInt PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setDouble PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > getAllWithPrefix PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setString PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > clearAll PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > clearWithPrefix PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testRemove PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setBool PASSED > Task :shared_preferences_android:packageReleaseUnitTestForUnitTest > Task :shared_preferences_android:generateReleaseUnitTestConfig > Task :sqflite:testDebugUnitTest > Task :shared_preferences_android:testReleaseUnitTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setStringList PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setInt PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setDouble PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > getAllWithPrefix PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setString PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > clearAll PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > clearWithPrefix PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testRemove PASSED io.flutter.plugins.sharedpreferences.SharedPreferencesTest > setBool PASSED > Task :shared_preferences_android:test > Task :sqflite:processProfileUnitTestJavaRes NO-SOURCE > Task :sqflite:preReleaseUnitTestBuild UP-TO-DATE > Task :sqflite:javaPreCompileProfileUnitTest > Task :sqflite:generateReleaseUnitTestStubRFile > Task :sqflite:compileProfileUnitTestJavaWithJavac > Task :sqflite:testProfileUnitTest > Task :sqflite:processReleaseUnitTestJavaRes NO-SOURCE > Task :url_launcher_android:preDebugUnitTestBuild UP-TO-DATE > Task :sqflite:javaPreCompileReleaseUnitTest > Task :url_launcher_android:javaPreCompileDebugUnitTest > Task :sqflite:compileReleaseUnitTestJavaWithJavac > Task :sqflite:testReleaseUnitTest > Task :sqflite:test > Task :url_launcher_android:checkDebugUnitTestAarMetadata > Task :url_launcher_android:generateDebugUnitTestResValues > Task :url_launcher_android:generateDebugUnitTestResources > Task :url_launcher_android:processDebugUnitTestManifest > Task :url_launcher_android:mergeDebugAssets > Task :url_launcher_android:mergeDebugAssetsForUnitTest NO-SOURCE > Task :url_launcher_android:generateDebugUnitTestAssets UP-TO-DATE > Task :url_launcher_android:mergeDebugUnitTestAssets > Task :url_launcher_android:mergeDebugUnitTestAssetsForUnitTest NO-SOURCE > Task :url_launcher_android:processDebugUnitTestJavaRes NO-SOURCE > Task :url_launcher_android:preProfileUnitTestBuild UP-TO-DATE > Task :url_launcher_android:javaPreCompileProfileUnitTest > Task :url_launcher_android:checkProfileUnitTestAarMetadata > Task :url_launcher_android:generateProfileUnitTestResValues > Task :url_launcher_android:generateProfileUnitTestResources > Task :url_launcher_android:mergeDebugUnitTestResources > Task :url_launcher_android:mergeProfileUnitTestResources > Task :url_launcher_android:processProfileUnitTestManifest > Task :url_launcher_android:mergeProfileAssets > Task :url_launcher_android:mergeProfileAssetsForUnitTest NO-SOURCE > Task :url_launcher_android:generateProfileUnitTestAssets UP-TO-DATE > Task :url_launcher_android:mergeProfileUnitTestAssets > Task :url_launcher_android:mergeProfileUnitTestAssetsForUnitTest NO-SOURCE > Task :url_launcher_android:processProfileUnitTestJavaRes NO-SOURCE > Task :url_launcher_android:preReleaseUnitTestBuild UP-TO-DATE > Task :url_launcher_android:javaPreCompileReleaseUnitTest > Task :url_launcher_android:generateReleaseUnitTestResValues > Task :url_launcher_android:generateReleaseUnitTestResources > Task :url_launcher_android:checkReleaseUnitTestAarMetadata > Task :url_launcher_android:processReleaseUnitTestManifest > Task :url_launcher_android:mergeReleaseAssets > Task :url_launcher_android:mergeReleaseAssetsForUnitTest NO-SOURCE > Task :url_launcher_android:generateReleaseUnitTestAssets UP-TO-DATE > Task :url_launcher_android:mergeReleaseUnitTestAssets > Task :url_launcher_android:mergeReleaseUnitTestAssetsForUnitTest NO-SOURCE > Task :url_launcher_android:processReleaseUnitTestJavaRes NO-SOURCE > Task :wakelock:preDebugUnitTestBuild UP-TO-DATE > Task :wakelock:generateDebugUnitTestStubRFile > Task :wakelock:processDebugUnitTestJavaRes NO-SOURCE > Task :wakelock:compileDebugUnitTestKotlin NO-SOURCE > Task :wakelock:preProfileUnitTestBuild UP-TO-DATE > Task :wakelock:javaPreCompileDebugUnitTest > Task :wakelock:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :wakelock:testDebugUnitTest NO-SOURCE > Task :url_launcher_android:mergeReleaseUnitTestResources > Task :wakelock:generateProfileUnitTestStubRFile > Task :wakelock:javaPreCompileProfileUnitTest > Task :wakelock:compileProfileUnitTestKotlin NO-SOURCE > Task :wakelock:compileProfileUnitTestJavaWithJavac NO-SOURCE > Task :wakelock:processProfileUnitTestJavaRes NO-SOURCE > Task :wakelock:testProfileUnitTest NO-SOURCE > Task :wakelock:preReleaseUnitTestBuild UP-TO-DATE > Task :wakelock:processReleaseUnitTestJavaRes NO-SOURCE > Task :wakelock:javaPreCompileReleaseUnitTest > Task :url_launcher_android:processDebugUnitTestResources > Task :wakelock:generateReleaseUnitTestStubRFile > Task :url_launcher_android:processProfileUnitTestResources > Task :url_launcher_android:processReleaseUnitTestResources > Task :url_launcher_android:compileDebugUnitTestJavaWithJavac > Task :url_launcher_android:packageDebugUnitTestForUnitTest > Task :url_launcher_android:generateDebugUnitTestConfig > Task :url_launcher_android:compileProfileUnitTestJavaWithJavac > Task :url_launcher_android:testDebugUnitTest io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > stopListening_doesNothingWhenUnset FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > stopListening_unregistersExistingChannel FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > startListening_unregistersExistingChannel FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > onMethodCall_closeWebView FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > onMethodCall_canLaunchReturnsFalse FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > onMethodCall_launchReturnsNoActivityError FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > startListening_registersChannel FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > onMethodCall_launchReturnsTrue FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > onMethodCall_launchReturnsActivityNotFoundError FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.MethodCallHandlerImplTest > onMethodCall_canLaunchReturnsTrue FAILED java.lang.NoClassDefFoundError at Class.java:-2 Caused by: java.lang.ClassNotFoundException at SandboxClassLoader.java:147 Caused by: java.lang.IllegalArgumentException at ClassReader.java:195 io.flutter.plugins.urllauncher.WebViewActivityTest > extractHeaders_returnsEmptyMapWhenHeadersBundleNull PASSED 11 tests completed, 10 failed > Task :url_launcher_android:testDebugUnitTest FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':url_launcher_android:testDebugUnitTest'. > There were failing tests. See the report at: file:///home/aun/Programming/Projects/FlutterProjects/revanced-manager/build/url_launcher_android/reports/tests/testDebugUnitTest/index.html * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 4m 55s 1362 actionable tasks: 998 executed, 364 up-to-date " /> - - </testcase> - - </testsuite> -</testsuites> diff --git a/lib/app/app.dart b/lib/app/app.dart deleted file mode 100644 index 76c32b19..00000000 --- a/lib/app/app.dart +++ /dev/null @@ -1,43 +0,0 @@ -import 'package:revanced_manager/services/github_api.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/patcher_api.dart'; -import 'package:revanced_manager/services/revanced_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/app_selector/app_selector_view.dart'; -import 'package:revanced_manager/ui/views/contributors/contributors_view.dart'; -import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; -import 'package:revanced_manager/ui/views/installer/installer_view.dart'; -import 'package:revanced_manager/ui/views/navigation/navigation_view.dart'; -import 'package:revanced_manager/ui/views/navigation/navigation_viewmodel.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_view.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/views/patches_selector/patches_selector_view.dart'; -import 'package:revanced_manager/ui/views/settings/settings_view.dart'; -import 'package:revanced_manager/ui/widgets/appInfoView/app_info_view.dart'; -import 'package:stacked/stacked_annotations.dart'; -import 'package:stacked_services/stacked_services.dart'; - -@StackedApp( - routes: [ - MaterialRoute(page: NavigationView), - MaterialRoute(page: PatcherView), - MaterialRoute(page: AppSelectorView), - MaterialRoute(page: PatchesSelectorView), - MaterialRoute(page: InstallerView), - MaterialRoute(page: SettingsView), - MaterialRoute(page: ContributorsView), - MaterialRoute(page: AppInfoView), - ], - dependencies: [ - LazySingleton(classType: NavigationViewModel), - LazySingleton(classType: HomeViewModel), - LazySingleton(classType: PatcherViewModel), - LazySingleton(classType: NavigationService), - LazySingleton(classType: ManagerAPI), - LazySingleton(classType: PatcherAPI), - LazySingleton(classType: RevancedAPI), - LazySingleton(classType: GithubAPI), - LazySingleton(classType: Toast), - ], -) -class AppSetup {} diff --git a/lib/main.dart b/lib/main.dart deleted file mode 100644 index 29b715b9..00000000 --- a/lib/main.dart +++ /dev/null @@ -1,65 +0,0 @@ -import 'dart:developer'; - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:flutter_localizations/flutter_localizations.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/github_api.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/revanced_api.dart'; -import 'package:revanced_manager/ui/theme/dynamic_theme_builder.dart'; -import 'package:revanced_manager/ui/views/navigation/navigation_view.dart'; -import 'package:shared_preferences/shared_preferences.dart'; -import 'package:stacked_themes/stacked_themes.dart'; -import 'package:timezone/data/latest.dart' as tz; - -late SharedPreferences prefs; -Future main() async { - await ThemeManager.initialise(); - await setupLocator(); - WidgetsFlutterBinding.ensureInitialized(); - await locator<ManagerAPI>().initialize(); - final String apiUrl = locator<ManagerAPI>().getApiUrl(); - await locator<RevancedAPI>().initialize(apiUrl); - final String repoUrl = locator<ManagerAPI>().getRepoUrl(); - locator<GithubAPI>().initialize(repoUrl); - tz.initializeTimeZones(); - prefs = await SharedPreferences.getInstance(); - - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - // String rawLocale = prefs.getString('language') ?? 'en_US'; - // String replaceLocale = rawLocale.replaceAll('_', '-'); - // List<String> localeList = replaceLocale.split('-'); - // Locale locale = Locale(localeList[0], localeList[1]); - const Locale locale = Locale('en', 'US'); - - return DynamicThemeBuilder( - title: 'ReVanced Manager', - home: const NavigationView(), - localizationsDelegates: [ - FlutterI18nDelegate( - translationLoader: FileTranslationLoader( - fallbackFile: 'en_US', - forcedLocale: locale, - basePath: 'assets/i18n', - useCountryCode: true, - ), - missingTranslationHandler: (key, locale) { - log( - '--> Missing translation: key: $key, languageCode: ${locale?.languageCode}', - ); - }, - ), - GlobalMaterialLocalizations.delegate, - GlobalWidgetsLocalizations.delegate, - ], - ); - } -} diff --git a/lib/models/patch.dart b/lib/models/patch.dart deleted file mode 100644 index 7acf05ba..00000000 --- a/lib/models/patch.dart +++ /dev/null @@ -1,48 +0,0 @@ -import 'package:json_annotation/json_annotation.dart'; -import 'package:revanced_manager/utils/string.dart'; - -part 'patch.g.dart'; - -@JsonSerializable() -class Patch { - Patch({ - required this.name, - required this.description, - required this.excluded, - required this.dependencies, - required this.compatiblePackages, - }); - - factory Patch.fromJson(Map<String, dynamic> json) => _$PatchFromJson(json); - final String name; - final String description; - final bool excluded; - final List<String> dependencies; - final List<Package> compatiblePackages; - - Map<String, dynamic> toJson() => _$PatchToJson(this); - - String getSimpleName() { - return name - .replaceAll('-', ' ') - .split('-') - .join(' ') - .toTitleCase() - .replaceFirst('Microg', 'MicroG'); - } -} - -@JsonSerializable() -class Package { - Package({ - required this.name, - required this.versions, - }); - - factory Package.fromJson(Map<String, dynamic> json) => - _$PackageFromJson(json); - final String name; - final List<String> versions; - - Map toJson() => _$PackageToJson(this); -} diff --git a/lib/models/patched_application.dart b/lib/models/patched_application.dart deleted file mode 100644 index 90bfb9a3..00000000 --- a/lib/models/patched_application.dart +++ /dev/null @@ -1,48 +0,0 @@ -import 'dart:convert'; -import 'dart:typed_data'; -import 'package:json_annotation/json_annotation.dart'; - -part 'patched_application.g.dart'; - -@JsonSerializable() -class PatchedApplication { - PatchedApplication({ - required this.name, - required this.packageName, - required this.originalPackageName, - required this.version, - required this.apkFilePath, - required this.icon, - required this.patchDate, - this.isRooted = false, - this.isFromStorage = false, - this.hasUpdates = false, - this.appliedPatches = const [], - this.changelog = const [], - }); - - factory PatchedApplication.fromJson(Map<String, dynamic> json) => - _$PatchedApplicationFromJson(json); - String name; - String packageName; - String originalPackageName; - String version; - final String apkFilePath; - @JsonKey( - fromJson: decodeBase64, - toJson: encodeBase64, - ) - Uint8List icon; - DateTime patchDate; - bool isRooted; - bool isFromStorage; - bool hasUpdates; - List<String> appliedPatches; - List<String> changelog; - - Map<String, dynamic> toJson() => _$PatchedApplicationToJson(this); - - static Uint8List decodeBase64(String icon) => base64.decode(icon); - - static String encodeBase64(Uint8List bytes) => base64.encode(bytes); -} diff --git a/lib/services/github_api.dart b/lib/services/github_api.dart deleted file mode 100644 index de8c160b..00000000 --- a/lib/services/github_api.dart +++ /dev/null @@ -1,268 +0,0 @@ -import 'dart:convert'; -import 'dart:io'; -import 'package:collection/collection.dart'; -import 'package:dio/dio.dart'; -import 'package:dio_cache_interceptor/dio_cache_interceptor.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter_cache_manager/flutter_cache_manager.dart'; -import 'package:injectable/injectable.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/services/manager_api.dart'; - -@lazySingleton -class GithubAPI { - late Dio _dio = Dio(); - late final ManagerAPI _managerAPI = locator<ManagerAPI>(); - - final _cacheOptions = CacheOptions( - store: MemCacheStore(), - maxStale: const Duration(days: 1), - priority: CachePriority.high, - ); - - final Map<String, String> repoAppPath = { - 'com.google.android.youtube': 'youtube', - 'com.google.android.apps.youtube.music': 'music', - 'com.twitter.android': 'twitter', - 'com.reddit.frontpage': 'reddit', - 'com.zhiliaoapp.musically': 'tiktok', - 'de.dwd.warnapp': 'warnwetter', - 'com.garzotto.pflotsh.ecmwf_a': 'ecmwf', - 'com.spotify.music': 'spotify', - }; - - Future<void> initialize(String repoUrl) async { - try { - _dio = Dio( - BaseOptions( - baseUrl: repoUrl, - ), - ); - - _dio.interceptors.add(DioCacheInterceptor(options: _cacheOptions)); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<void> clearAllCache() async { - try { - await _cacheOptions.store!.clean(); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<Map<String, dynamic>?> getLatestRelease( - String repoName, - ) async { - try { - final response = await _dio.get( - '/repos/$repoName/releases', - ); - return response.data[0]; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<Map<String, dynamic>?> getPatchesRelease( - String repoName, - String version, - ) async { - try { - final response = await _dio.get( - '/repos/$repoName/releases/tags/$version', - ); - return response.data; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<Map<String, dynamic>?> getLatestPatchesRelease( - String repoName, - ) async { - try { - final response = await _dio.get( - '/repos/$repoName/releases/latest', - ); - return response.data; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<Map<String, dynamic>?> getLatestManagerRelease( - String repoName, - ) async { - try { - final response = await _dio.get( - '/repos/$repoName/releases', - ); - final Map<String, dynamic> releases = response.data[0]; - int updates = 0; - final String currentVersion = - await ManagerAPI().getCurrentManagerVersion(); - while (response.data[updates]['tag_name'] != 'v$currentVersion') { - updates++; - } - for (int i = 1; i < updates; i++) { - releases.update( - 'body', - (value) => - value + - '\n' + - '# ' + - response.data[i]['tag_name'] + - '\n' + - response.data[i]['body'], - ); - } - return releases; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<List<String>> getCommits( - String packageName, - String repoName, - DateTime since, - ) async { - final String path = - 'src/main/kotlin/app/revanced/patches/${repoAppPath[packageName]}'; - try { - final response = await _dio.get( - '/repos/$repoName/commits', - queryParameters: { - 'path': path, - 'since': since.toIso8601String(), - }, - ); - final List<dynamic> commits = response.data; - return commits - .map( - (commit) => commit['commit']['message'].split('\n')[0] + - ' - ' + - commit['commit']['author']['name'] + - '\n' as String, - ) - .toList(); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - return []; - } - - Future<File?> getLatestReleaseFile( - String extension, - String repoName, - ) async { - try { - final Map<String, dynamic>? release = await getLatestRelease(repoName); - if (release != null) { - final Map<String, dynamic>? asset = - (release['assets'] as List<dynamic>).firstWhereOrNull( - (asset) => (asset['name'] as String).endsWith(extension), - ); - if (asset != null) { - return await DefaultCacheManager().getSingleFile( - asset['browser_download_url'], - ); - } - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - return null; - } - - Future<File?> getPatchesReleaseFile( - String extension, - String repoName, - String version, - String url, - ) async { - try { - if (url.isNotEmpty) { - return await DefaultCacheManager().getSingleFile( - url, - ); - } - final Map<String, dynamic>? release = - await getPatchesRelease(repoName, version); - if (release != null) { - final Map<String, dynamic>? asset = - (release['assets'] as List<dynamic>).firstWhereOrNull( - (asset) => (asset['name'] as String).endsWith(extension), - ); - if (asset != null) { - final String downloadUrl = asset['browser_download_url']; - if (extension == '.apk') { - _managerAPI.setIntegrationsDownloadURL(downloadUrl); - } else if (extension == '.json') { - _managerAPI.setPatchesDownloadURL(downloadUrl, false); - } else { - _managerAPI.setPatchesDownloadURL(downloadUrl, true); - } - return await DefaultCacheManager().getSingleFile( - downloadUrl, - ); - } - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - return null; - } - - Future<List<Patch>> getPatches( - String repoName, - String version, - String url, - ) async { - List<Patch> patches = []; - try { - final File? f = await getPatchesReleaseFile( - '.json', - repoName, - version, - url, - ); - if (f != null) { - final List<dynamic> list = jsonDecode(f.readAsStringSync()); - patches = list.map((patch) => Patch.fromJson(patch)).toList(); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - - return patches; - } -} diff --git a/lib/services/manager_api.dart b/lib/services/manager_api.dart deleted file mode 100644 index 1391f707..00000000 --- a/lib/services/manager_api.dart +++ /dev/null @@ -1,759 +0,0 @@ -import 'dart:convert'; -import 'dart:io'; -import 'package:device_apps/device_apps.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:injectable/injectable.dart'; -import 'package:package_info_plus/package_info_plus.dart'; -import 'package:path_provider/path_provider.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/github_api.dart'; -import 'package:revanced_manager/services/revanced_api.dart'; -import 'package:revanced_manager/services/root_api.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:revanced_manager/utils/check_for_supported_patch.dart'; -import 'package:shared_preferences/shared_preferences.dart'; -import 'package:timeago/timeago.dart'; - -@lazySingleton -class ManagerAPI { - final RevancedAPI _revancedAPI = locator<RevancedAPI>(); - final GithubAPI _githubAPI = locator<GithubAPI>(); - final RootAPI _rootAPI = RootAPI(); - final String patcherRepo = 'revanced-patcher'; - final String cliRepo = 'revanced-cli'; - late SharedPreferences _prefs; - bool isRooted = false; - String storedPatchesFile = '/selected-patches.json'; - String keystoreFile = - '/sdcard/Android/data/app.revanced.manager.flutter/files/revanced-manager.keystore'; - String defaultKeystorePassword = 's3cur3p@ssw0rd'; - String defaultApiUrl = 'https://api.revanced.app/'; - String defaultRepoUrl = 'https://api.github.com'; - String defaultPatcherRepo = 'revanced/revanced-patcher'; - String defaultPatchesRepo = 'revanced/revanced-patches'; - String defaultIntegrationsRepo = 'revanced/revanced-integrations'; - String defaultCliRepo = 'revanced/revanced-cli'; - String defaultManagerRepo = 'revanced/revanced-manager'; - String? patchesVersion = ''; - String? integrationsVersion = ''; - bool isDefaultPatchesRepo() { - return getPatchesRepo() == 'revanced/revanced-patches'; - } - - bool isDefaultIntegrationsRepo() { - return getIntegrationsRepo() == 'revanced/revanced-integrations'; - } - - Future<void> initialize() async { - _prefs = await SharedPreferences.getInstance(); - isRooted = await _rootAPI.isRooted(); - storedPatchesFile = - (await getApplicationDocumentsDirectory()).path + storedPatchesFile; - } - - String getApiUrl() { - return _prefs.getString('apiUrl') ?? defaultApiUrl; - } - - Future<void> setApiUrl(String url) async { - if (url.isEmpty || url == ' ') { - url = defaultApiUrl; - } - await _revancedAPI.initialize(url); - await _revancedAPI.clearAllCache(); - await _prefs.setString('apiUrl', url); - } - - String getRepoUrl() { - return _prefs.getString('repoUrl') ?? defaultRepoUrl; - } - - Future<void> setRepoUrl(String url) async { - if (url.isEmpty || url == ' ') { - url = defaultRepoUrl; - } - await _prefs.setString('repoUrl', url); - } - - String getPatchesDownloadURL(bool bundle) { - return _prefs.getString('patchesDownloadURL-$bundle') ?? ''; - } - - Future<void> setPatchesDownloadURL(String value, bool bundle) async { - await _prefs.setString('patchesDownloadURL-$bundle', value); - } - - String getPatchesRepo() { - return _prefs.getString('patchesRepo') ?? defaultPatchesRepo; - } - - Future<void> setPatchesRepo(String value) async { - if (value.isEmpty || value.startsWith('/') || value.endsWith('/')) { - value = defaultPatchesRepo; - } - await _prefs.setString('patchesRepo', value); - } - - bool getPatchesConsent() { - return _prefs.getBool('patchesConsent') ?? false; - } - - Future<void> setPatchesConsent(bool consent) async { - await _prefs.setBool('patchesConsent', consent); - } - - bool isPatchesAutoUpdate() { - return _prefs.getBool('patchesAutoUpdate') ?? false; - } - - bool isPatchesChangeEnabled() { - if (getPatchedApps().isNotEmpty && !isChangingToggleModified()) { - for (final apps in getPatchedApps()) { - if (getSavedPatches(apps.originalPackageName) - .indexWhere((patch) => patch.excluded) != - -1) { - setPatchesChangeWarning(false); - setPatchesChangeEnabled(true); - break; - } - } - } - return _prefs.getBool('patchesChangeEnabled') ?? false; - } - - void setPatchesChangeEnabled(bool value) { - _prefs.setBool('patchesChangeEnabled', value); - } - - bool showPatchesChangeWarning() { - return _prefs.getBool('showPatchesChangeWarning') ?? true; - } - - void setPatchesChangeWarning(bool value) { - _prefs.setBool('showPatchesChangeWarning', !value); - } - - bool isChangingToggleModified() { - return _prefs.getBool('isChangingToggleModified') ?? false; - } - - void setChangingToggleModified(bool value) { - _prefs.setBool('isChangingToggleModified', value); - } - - Future<void> setPatchesAutoUpdate(bool value) async { - await _prefs.setBool('patchesAutoUpdate', value); - } - - List<Patch> getSavedPatches(String packageName) { - final List<String> patchesJson = - _prefs.getStringList('savedPatches-$packageName') ?? []; - final List<Patch> patches = patchesJson.map((String patchJson) { - return Patch.fromJson(jsonDecode(patchJson)); - }).toList(); - return patches; - } - - Future<void> savePatches(List<Patch> patches, String packageName) async { - final List<String> patchesJson = patches.map((Patch patch) { - return jsonEncode(patch.toJson()); - }).toList(); - await _prefs.setStringList('savedPatches-$packageName', patchesJson); - } - - String getIntegrationsDownloadURL() { - return _prefs.getString('integrationsDownloadURL') ?? ''; - } - - Future<void> setIntegrationsDownloadURL(String value) async { - await _prefs.setString('integrationsDownloadURL', value); - } - - List<Patch> getUsedPatches(String packageName) { - final List<String> patchesJson = - _prefs.getStringList('usedPatches-$packageName') ?? []; - final List<Patch> patches = patchesJson.map((String patchJson) { - return Patch.fromJson(jsonDecode(patchJson)); - }).toList(); - return patches; - } - - Future<void> setUsedPatches(List<Patch> patches, String packageName) async { - final List<String> patchesJson = patches.map((Patch patch) { - return jsonEncode(patch.toJson()); - }).toList(); - await _prefs.setStringList('usedPatches-$packageName', patchesJson); - } - - String getIntegrationsRepo() { - return _prefs.getString('integrationsRepo') ?? defaultIntegrationsRepo; - } - - Future<void> setIntegrationsRepo(String value) async { - if (value.isEmpty || value.startsWith('/') || value.endsWith('/')) { - value = defaultIntegrationsRepo; - } - await _prefs.setString('integrationsRepo', value); - } - - bool getUseDynamicTheme() { - return _prefs.getBool('useDynamicTheme') ?? false; - } - - Future<void> setUseDynamicTheme(bool value) async { - await _prefs.setBool('useDynamicTheme', value); - } - - bool getUseDarkTheme() { - return _prefs.getBool('useDarkTheme') ?? false; - } - - Future<void> setUseDarkTheme(bool value) async { - await _prefs.setBool('useDarkTheme', value); - } - - bool areUniversalPatchesEnabled() { - return _prefs.getBool('universalPatchesEnabled') ?? false; - } - - Future<void> enableUniversalPatchesStatus(bool value) async { - await _prefs.setBool('universalPatchesEnabled', value); - } - - bool areExperimentalPatchesEnabled() { - return _prefs.getBool('experimentalPatchesEnabled') ?? false; - } - - Future<void> enableExperimentalPatchesStatus(bool value) async { - await _prefs.setBool('experimentalPatchesEnabled', value); - } - - Future<void> setKeystorePassword(String password) async { - await _prefs.setString('keystorePassword', password); - } - - String getKeystorePassword() { - return _prefs.getString('keystorePassword') ?? defaultKeystorePassword; - } - - Future<void> deleteTempFolder() async { - final Directory dir = Directory('/data/local/tmp/revanced-manager'); - if (await dir.exists()) { - await dir.delete(recursive: true); - } - } - - Future<void> deleteKeystore() async { - final File keystore = File( - keystoreFile, - ); - if (await keystore.exists()) { - await keystore.delete(); - } - } - - List<PatchedApplication> getPatchedApps() { - final List<String> apps = _prefs.getStringList('patchedApps') ?? []; - return apps.map((a) => PatchedApplication.fromJson(jsonDecode(a))).toList(); - } - - Future<void> setPatchedApps( - List<PatchedApplication> patchedApps, - ) async { - if (patchedApps.length > 1) { - patchedApps.sort((a, b) => a.name.compareTo(b.name)); - } - await _prefs.setStringList( - 'patchedApps', - patchedApps.map((a) => json.encode(a.toJson())).toList(), - ); - } - - Future<void> savePatchedApp(PatchedApplication app) async { - final List<PatchedApplication> patchedApps = getPatchedApps(); - patchedApps.removeWhere((a) => a.packageName == app.packageName); - final ApplicationWithIcon? installed = await DeviceApps.getApp( - app.packageName, - true, - ) as ApplicationWithIcon?; - if (installed != null) { - app.name = installed.appName; - app.version = installed.versionName!; - app.icon = installed.icon; - } - patchedApps.add(app); - await setPatchedApps(patchedApps); - } - - Future<void> deletePatchedApp(PatchedApplication app) async { - final List<PatchedApplication> patchedApps = getPatchedApps(); - patchedApps.removeWhere((a) => a.packageName == app.packageName); - await setPatchedApps(patchedApps); - } - - Future<void> clearAllData() async { - try { - _revancedAPI.clearAllCache(); - _githubAPI.clearAllCache(); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<Map<String, List<dynamic>>> getContributors() async { - return await _revancedAPI.getContributors(); - } - - Future<List<Patch>> getPatches() async { - try { - final String repoName = getPatchesRepo(); - final String currentVersion = await getCurrentPatchesVersion(); - final String url = getPatchesDownloadURL(false); - return await _githubAPI.getPatches( - repoName, - currentVersion, - url, - ); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return []; - } - } - - Future<File?> downloadPatches() async { - try { - final String repoName = getPatchesRepo(); - final String currentVersion = await getCurrentPatchesVersion(); - final String url = getPatchesDownloadURL(true); - return await _githubAPI.getPatchesReleaseFile( - '.jar', - repoName, - currentVersion, - url, - ); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<File?> downloadIntegrations() async { - try { - final String repoName = getIntegrationsRepo(); - final String currentVersion = await getCurrentIntegrationsVersion(); - final String url = getIntegrationsDownloadURL(); - return await _githubAPI.getPatchesReleaseFile( - '.apk', - repoName, - currentVersion, - url, - ); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<File?> downloadManager() async { - return await _revancedAPI.getLatestReleaseFile( - '.apk', - defaultManagerRepo, - ); - } - - Future<String?> getLatestPatchesReleaseTime() async { - if (isDefaultPatchesRepo()) { - return await _revancedAPI.getLatestReleaseTime( - '.json', - defaultPatchesRepo, - ); - } else { - final release = - await _githubAPI.getLatestPatchesRelease(getPatchesRepo()); - if (release != null) { - final DateTime timestamp = - DateTime.parse(release['created_at'] as String); - return format(timestamp, locale: 'en_short'); - } else { - return null; - } - } - } - - Future<String?> getLatestManagerReleaseTime() async { - return await _revancedAPI.getLatestReleaseTime( - '.apk', - defaultManagerRepo, - ); - } - - Future<String?> getLatestManagerVersion() async { - return await _revancedAPI.getLatestReleaseVersion( - '.apk', - defaultManagerRepo, - ); - } - - Future<String?> getLatestIntegrationsVersion() async { - if (isDefaultIntegrationsRepo()) { - return await _revancedAPI.getLatestReleaseVersion( - '.apk', - defaultIntegrationsRepo, - ); - } else { - final release = await _githubAPI.getLatestRelease(getIntegrationsRepo()); - if (release != null) { - return release['tag_name']; - } else { - return null; - } - } - } - - Future<String?> getLatestPatchesVersion() async { - if (isDefaultPatchesRepo()) { - return await _revancedAPI.getLatestReleaseVersion( - '.json', - defaultPatchesRepo, - ); - } else { - final release = - await _githubAPI.getLatestPatchesRelease(getPatchesRepo()); - if (release != null) { - return release['tag_name']; - } else { - return null; - } - } - } - - Future<String> getCurrentManagerVersion() async { - final PackageInfo packageInfo = await PackageInfo.fromPlatform(); - return packageInfo.version; - } - - Future<String> getCurrentPatchesVersion() async { - patchesVersion = _prefs.getString('patchesVersion') ?? '0.0.0'; - if (patchesVersion == '0.0.0' || isPatchesAutoUpdate()) { - final String newPatchesVersion = - await getLatestPatchesVersion() ?? '0.0.0'; - if (patchesVersion != newPatchesVersion && newPatchesVersion != '0.0.0') { - await setCurrentPatchesVersion(newPatchesVersion); - } - } - return patchesVersion!; - } - - Future<void> setCurrentPatchesVersion(String version) async { - await _prefs.setString('patchesVersion', version); - await setPatchesDownloadURL('', false); - await setPatchesDownloadURL('', true); - await downloadPatches(); - } - - Future<String> getCurrentIntegrationsVersion() async { - integrationsVersion = _prefs.getString('integrationsVersion') ?? '0.0.0'; - if (integrationsVersion == '0.0.0' || isPatchesAutoUpdate()) { - final String newIntegrationsVersion = - await getLatestIntegrationsVersion() ?? '0.0.0'; - if (integrationsVersion != newIntegrationsVersion && - newIntegrationsVersion != '0.0.0') { - await setCurrentIntegrationsVersion(newIntegrationsVersion); - } - } - return integrationsVersion!; - } - - Future<void> setCurrentIntegrationsVersion(String version) async { - await _prefs.setString('integrationsVersion', version); - await setIntegrationsDownloadURL(''); - await downloadIntegrations(); - } - - Future<List<PatchedApplication>> getAppsToRemove( - List<PatchedApplication> patchedApps, - ) async { - final List<PatchedApplication> toRemove = []; - for (final PatchedApplication app in patchedApps) { - final bool isRemove = await isAppUninstalled(app); - if (isRemove) { - toRemove.add(app); - } - } - return toRemove; - } - - Future<List<PatchedApplication>> getUnsavedApps( - List<PatchedApplication> patchedApps, - ) async { - final List<PatchedApplication> unsavedApps = []; - final bool hasRootPermissions = await _rootAPI.hasRootPermissions(); - if (hasRootPermissions) { - final List<String> installedApps = await _rootAPI.getInstalledApps(); - for (final String packageName in installedApps) { - if (!patchedApps.any((app) => app.packageName == packageName)) { - final ApplicationWithIcon? application = await DeviceApps.getApp( - packageName, - true, - ) as ApplicationWithIcon?; - if (application != null) { - unsavedApps.add( - PatchedApplication( - name: application.appName, - packageName: application.packageName, - originalPackageName: application.packageName, - version: application.versionName!, - apkFilePath: application.apkFilePath, - icon: application.icon, - patchDate: DateTime.now(), - isRooted: true, - ), - ); - } - } - } - } - final List<Application> userApps = - await DeviceApps.getInstalledApplications(); - for (final Application app in userApps) { - if (app.packageName.startsWith('app.revanced') && - !app.packageName.startsWith('app.revanced.manager.') && - !patchedApps.any((uapp) => uapp.packageName == app.packageName)) { - final ApplicationWithIcon? application = await DeviceApps.getApp( - app.packageName, - true, - ) as ApplicationWithIcon?; - if (application != null) { - unsavedApps.add( - PatchedApplication( - name: application.appName, - packageName: application.packageName, - originalPackageName: application.packageName, - version: application.versionName!, - apkFilePath: application.apkFilePath, - icon: application.icon, - patchDate: DateTime.now(), - ), - ); - } - } - } - return unsavedApps; - } - - Future<void> showPatchesChangeWarningDialog(BuildContext context) { - final ValueNotifier<bool> noShow = - ValueNotifier(!showPatchesChangeWarning()); - return showDialog( - barrierDismissible: false, - context: context, - builder: (context) => WillPopScope( - onWillPop: () async => false, - child: AlertDialog( - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - title: I18nText('warning'), - content: ValueListenableBuilder( - valueListenable: noShow, - builder: (context, value, child) { - return Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - I18nText( - 'patchItem.patchesChangeWarningDialogText', - child: const Text( - '', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - ), - const SizedBox(height: 8), - CheckboxListTile( - value: value, - contentPadding: EdgeInsets.zero, - title: I18nText( - 'noShowAgain', - ), - onChanged: (selected) { - noShow.value = selected!; - }, - ), - ], - ); - }, - ), - actions: [ - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () { - setPatchesChangeWarning(noShow.value); - Navigator.of(context).pop(); - }, - ), - ], - ), - ), - ); - } - - Future<void> reAssessSavedApps() async { - final List<PatchedApplication> patchedApps = getPatchedApps(); - final List<PatchedApplication> unsavedApps = - await getUnsavedApps(patchedApps); - patchedApps.addAll(unsavedApps); - final List<PatchedApplication> toRemove = - await getAppsToRemove(patchedApps); - patchedApps.removeWhere((a) => toRemove.contains(a)); - for (final PatchedApplication app in patchedApps) { - app.hasUpdates = - await hasAppUpdates(app.originalPackageName, app.patchDate); - app.changelog = - await getAppChangelog(app.originalPackageName, app.patchDate); - if (!app.hasUpdates) { - final String? currentInstalledVersion = - (await DeviceApps.getApp(app.packageName))?.versionName; - if (currentInstalledVersion != null) { - final String currentSavedVersion = app.version; - final int currentInstalledVersionInt = int.parse( - currentInstalledVersion.replaceAll(RegExp('[^0-9]'), ''), - ); - final int currentSavedVersionInt = int.parse( - currentSavedVersion.replaceAll(RegExp('[^0-9]'), ''), - ); - if (currentInstalledVersionInt > currentSavedVersionInt) { - app.hasUpdates = true; - } - } - } - } - await setPatchedApps(patchedApps); - } - - Future<bool> isAppUninstalled(PatchedApplication app) async { - bool existsRoot = false; - final bool existsNonRoot = await DeviceApps.isAppInstalled(app.packageName); - if (app.isRooted) { - final bool hasRootPermissions = await _rootAPI.hasRootPermissions(); - if (hasRootPermissions) { - existsRoot = await _rootAPI.isAppInstalled(app.packageName); - } - return !existsRoot || !existsNonRoot; - } - return !existsNonRoot; - } - - Future<bool> hasAppUpdates( - String packageName, - DateTime patchDate, - ) async { - final List<String> commits = await _githubAPI.getCommits( - packageName, - getPatchesRepo(), - patchDate, - ); - return commits.isNotEmpty; - } - - Future<List<String>> getAppChangelog( - String packageName, - DateTime patchDate, - ) async { - List<String> newCommits = await _githubAPI.getCommits( - packageName, - getPatchesRepo(), - patchDate, - ); - if (newCommits.isEmpty) { - newCommits = await _githubAPI.getCommits( - packageName, - getPatchesRepo(), - patchDate, - ); - } - return newCommits; - } - - Future<bool> isSplitApk(PatchedApplication patchedApp) async { - Application? app; - if (patchedApp.isFromStorage) { - app = await DeviceApps.getAppFromStorage(patchedApp.apkFilePath); - } else { - app = await DeviceApps.getApp(patchedApp.packageName); - } - return app != null && app.isSplit; - } - - Future<void> setSelectedPatches( - String app, - List<String> patches, - ) async { - final File selectedPatchesFile = File(storedPatchesFile); - final Map<String, dynamic> patchesMap = await readSelectedPatchesFile(); - if (patches.isEmpty) { - patchesMap.remove(app); - } else { - patchesMap[app] = patches; - } - selectedPatchesFile.writeAsString(jsonEncode(patchesMap)); - } - - // get default patches for app - Future<List<String>> getDefaultPatches() async { - final List<Patch> patches = await getPatches(); - final List<String> defaultPatches = []; - if (areExperimentalPatchesEnabled() == false) { - defaultPatches.addAll( - patches - .where( - (element) => - element.excluded == false && isPatchSupported(element), - ) - .map((p) => p.name), - ); - } else { - defaultPatches.addAll( - patches - .where((element) => isPatchSupported(element)) - .map((p) => p.name), - ); - } - return defaultPatches; - } - - Future<List<String>> getSelectedPatches(String app) async { - final Map<String, dynamic> patchesMap = await readSelectedPatchesFile(); - final List<String> defaultPatches = await getDefaultPatches(); - return List.from(patchesMap.putIfAbsent(app, () => defaultPatches)); - } - - Future<Map<String, dynamic>> readSelectedPatchesFile() async { - final File selectedPatchesFile = File(storedPatchesFile); - if (!selectedPatchesFile.existsSync()) { - return {}; - } - final String string = selectedPatchesFile.readAsStringSync(); - if (string.trim().isEmpty) { - return {}; - } - return jsonDecode(string); - } - - Future<void> resetLastSelectedPatches() async { - final File selectedPatchesFile = File(storedPatchesFile); - selectedPatchesFile.deleteSync(); - } -} diff --git a/lib/services/patcher_api.dart b/lib/services/patcher_api.dart deleted file mode 100644 index dfaaf3ec..00000000 --- a/lib/services/patcher_api.dart +++ /dev/null @@ -1,336 +0,0 @@ -import 'dart:io'; - -import 'package:collection/collection.dart'; -import 'package:cr_file_saver/file_saver.dart'; -import 'package:device_apps/device_apps.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter/services.dart'; -import 'package:injectable/injectable.dart'; -import 'package:install_plugin/install_plugin.dart'; -import 'package:path_provider/path_provider.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/root_api.dart'; -import 'package:share_extend/share_extend.dart'; - -@lazySingleton -class PatcherAPI { - static const patcherChannel = - MethodChannel('app.revanced.manager.flutter/patcher'); - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final RootAPI _rootAPI = RootAPI(); - late Directory _dataDir; - late Directory _tmpDir; - late File _keyStoreFile; - List<Patch> _patches = []; - Map filteredPatches = <String, List<Patch>>{}; - File? _outFile; - - Future<void> initialize() async { - await _loadPatches(); - await _managerAPI.downloadPatches(); - await _managerAPI.downloadIntegrations(); - final Directory appCache = await getTemporaryDirectory(); - _dataDir = await getExternalStorageDirectory() ?? appCache; - _tmpDir = Directory('${appCache.path}/patcher'); - _keyStoreFile = File('${_dataDir.path}/revanced-manager.keystore'); - cleanPatcher(); - } - - void cleanPatcher() { - if (_tmpDir.existsSync()) { - _tmpDir.deleteSync(recursive: true); - } - } - - Future<void> _loadPatches() async { - try { - if (_patches.isEmpty) { - _patches = await _managerAPI.getPatches(); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - _patches = List.empty(); - } - } - - Future<List<ApplicationWithIcon>> getFilteredInstalledApps( - bool showUniversalPatches, - ) async { - final List<ApplicationWithIcon> filteredApps = []; - final bool allAppsIncluded = - _patches.any((patch) => patch.compatiblePackages.isEmpty) && - showUniversalPatches; - if (allAppsIncluded) { - final allPackages = await DeviceApps.getInstalledApplications( - includeAppIcons: true, - onlyAppsWithLaunchIntent: true, - ); - for (final pkg in allPackages) { - if (!filteredApps.any((app) => app.packageName == pkg.packageName)) { - final appInfo = await DeviceApps.getApp( - pkg.packageName, - true, - ) as ApplicationWithIcon?; - if (appInfo != null) { - filteredApps.add(appInfo); - } - } - } - } - for (final Patch patch in _patches) { - for (final Package package in patch.compatiblePackages) { - try { - if (!filteredApps.any((app) => app.packageName == package.name)) { - final ApplicationWithIcon? app = await DeviceApps.getApp( - package.name, - true, - ) as ApplicationWithIcon?; - if (app != null) { - filteredApps.add(app); - } - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - } - return filteredApps; - } - - List<Patch> getFilteredPatches(String packageName) { - final List<Patch> patches = _patches - .where( - (patch) => - patch.compatiblePackages.isEmpty || - !patch.name.contains('settings') && - patch.compatiblePackages - .any((pack) => pack.name == packageName), - ) - .toList(); - if (!_managerAPI.areUniversalPatchesEnabled()) { - filteredPatches[packageName] = patches - .where((patch) => patch.compatiblePackages.isNotEmpty) - .toList(); - } else { - filteredPatches[packageName] = patches; - } - return filteredPatches[packageName]; - } - - Future<List<Patch>> getAppliedPatches( - List<String> appliedPatches, - ) async { - return _patches - .where((patch) => appliedPatches.contains(patch.name)) - .toList(); - } - - Future<bool> needsResourcePatching( - List<Patch> selectedPatches, - ) async { - return selectedPatches.any( - (patch) => patch.dependencies.any( - (dep) => dep.contains('resource-'), - ), - ); - } - - Future<bool> needsSettingsPatch(List<Patch> selectedPatches) async { - return selectedPatches.any( - (patch) => patch.dependencies.any( - (dep) => dep.contains('settings'), - ), - ); - } - - Future<void> runPatcher( - String packageName, - String apkFilePath, - List<Patch> selectedPatches, - ) async { - final bool includeSettings = await needsSettingsPatch(selectedPatches); - if (includeSettings) { - try { - final Patch? settingsPatch = _patches.firstWhereOrNull( - (patch) => - patch.name.contains('settings') && - patch.compatiblePackages.any((pack) => pack.name == packageName), - ); - if (settingsPatch != null) { - selectedPatches.add(settingsPatch); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - final File? patchBundleFile = await _managerAPI.downloadPatches(); - final File? integrationsFile = await _managerAPI.downloadIntegrations(); - if (patchBundleFile != null) { - _dataDir.createSync(); - _tmpDir.createSync(); - final Directory workDir = _tmpDir.createTempSync('tmp-'); - final File inputFile = File('${workDir.path}/base.apk'); - final File patchedFile = File('${workDir.path}/patched.apk'); - _outFile = File('${workDir.path}/out.apk'); - final Directory cacheDir = Directory('${workDir.path}/cache'); - cacheDir.createSync(); - final String originalFilePath = apkFilePath; - try { - await patcherChannel.invokeMethod( - 'runPatcher', - { - 'patchBundleFilePath': patchBundleFile.path, - 'originalFilePath': originalFilePath, - 'inputFilePath': inputFile.path, - 'patchedFilePath': patchedFile.path, - 'outFilePath': _outFile!.path, - 'integrationsPath': integrationsFile!.path, - 'selectedPatches': selectedPatches.map((p) => p.name).toList(), - 'cacheDirPath': cacheDir.path, - 'keyStoreFilePath': _keyStoreFile.path, - 'keystorePassword': _managerAPI.getKeystorePassword(), - }, - ); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - } - - Future<void> stopPatcher() async { - try { - await patcherChannel.invokeMethod('stopPatcher'); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<bool> installPatchedFile(PatchedApplication patchedApp) async { - if (_outFile != null) { - try { - if (patchedApp.isRooted) { - final bool hasRootPermissions = await _rootAPI.hasRootPermissions(); - if (hasRootPermissions) { - return _rootAPI.installApp( - patchedApp.packageName, - patchedApp.apkFilePath, - _outFile!.path, - ); - } - } else { - final install = await InstallPlugin.installApk(_outFile!.path); - return install['isSuccess']; - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return false; - } - } - return false; - } - - void exportPatchedFile(String appName, String version) { - try { - if (_outFile != null) { - final String newName = _getFileName(appName, version); - CRFileSaver.saveFileWithDialog( - SaveFileDialogParams( - sourceFilePath: _outFile!.path, - destinationFileName: newName, - ), - ); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - void sharePatchedFile(String appName, String version) { - try { - if (_outFile != null) { - final String newName = _getFileName(appName, version); - final int lastSeparator = _outFile!.path.lastIndexOf('/'); - final String newPath = - _outFile!.path.substring(0, lastSeparator + 1) + newName; - final File shareFile = _outFile!.copySync(newPath); - ShareExtend.share(shareFile.path, 'file'); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - String _getFileName(String appName, String version) { - final String prefix = appName.toLowerCase().replaceAll(' ', '-'); - final String newName = '$prefix-revanced_v$version.apk'; - return newName; - } - - Future<void> exportPatcherLog(String logs) async { - final Directory appCache = await getTemporaryDirectory(); - final Directory logDir = Directory('${appCache.path}/logs'); - logDir.createSync(); - final String dateTime = DateTime.now() - .toIso8601String() - .replaceAll('-', '') - .replaceAll(':', '') - .replaceAll('T', '') - .replaceAll('.', ''); - final String fileName = 'revanced-manager_patcher_$dateTime.log'; - final File log = File('${logDir.path}/$fileName'); - log.writeAsStringSync(logs); - CRFileSaver.saveFileWithDialog( - SaveFileDialogParams( - sourceFilePath: log.path, - destinationFileName: fileName, - ), - ); - } - - String getSuggestedVersion(String packageName) { - final Map<String, int> versions = {}; - for (final Patch patch in _patches) { - final Package? package = patch.compatiblePackages.firstWhereOrNull( - (pack) => pack.name == packageName, - ); - if (package != null) { - for (final String version in package.versions) { - versions.update( - version, - (value) => versions[version]! + 1, - ifAbsent: () => 1, - ); - } - } - } - if (versions.isNotEmpty) { - final entries = versions.entries.toList() - ..sort((a, b) => a.value.compareTo(b.value)); - versions - ..clear() - ..addEntries(entries); - versions.removeWhere((key, value) => value != versions.values.last); - return (versions.keys.toList()..sort()).last; - } - return ''; - } -} diff --git a/lib/services/revanced_api.dart b/lib/services/revanced_api.dart deleted file mode 100644 index dde23cee..00000000 --- a/lib/services/revanced_api.dart +++ /dev/null @@ -1,190 +0,0 @@ -import 'dart:async'; -import 'dart:io'; - -import 'package:collection/collection.dart'; -import 'package:dio/dio.dart'; -import 'package:dio_cache_interceptor/dio_cache_interceptor.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter_cache_manager/flutter_cache_manager.dart'; -import 'package:injectable/injectable.dart'; -import 'package:timeago/timeago.dart'; - -@lazySingleton -class RevancedAPI { - late Dio _dio = Dio(); - - final _cacheOptions = CacheOptions( - store: MemCacheStore(), - maxStale: const Duration(days: 1), - priority: CachePriority.high, - ); - - Future<void> initialize(String apiUrl) async { - try { - _dio = Dio( - BaseOptions( - baseUrl: apiUrl, - ), - ); - - _dio.interceptors.add(DioCacheInterceptor(options: _cacheOptions)); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<void> clearAllCache() async { - try { - await _cacheOptions.store!.clean(); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<Map<String, List<dynamic>>> getContributors() async { - final Map<String, List<dynamic>> contributors = {}; - try { - final response = await _dio.get('/contributors'); - final List<dynamic> repositories = response.data['repositories']; - for (final Map<String, dynamic> repo in repositories) { - final String name = repo['name']; - contributors[name] = repo['contributors']; - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return {}; - } - return contributors; - } - - Future<Map<String, dynamic>?> _getLatestRelease( - String extension, - String repoName, - ) async { - try { - final response = await _dio.get('/tools'); - final List<dynamic> tools = response.data['tools']; - return tools.firstWhereOrNull( - (t) => - t['repository'] == repoName && - (t['name'] as String).endsWith(extension), - ); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<String?> getLatestReleaseVersion( - String extension, - String repoName, - ) async { - try { - final Map<String, dynamic>? release = await _getLatestRelease( - extension, - repoName, - ); - if (release != null) { - return release['version']; - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - return null; - } - - Future<File?> getLatestReleaseFile( - String extension, - String repoName, - ) async { - try { - final Map<String, dynamic>? release = await _getLatestRelease( - extension, - repoName, - ); - if (release != null) { - final String url = release['browser_download_url']; - return await DefaultCacheManager().getSingleFile(url); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - return null; - } - - StreamController<double> managerUpdateProgress = - StreamController<double>.broadcast(); - - void updateManagerDownloadProgress(int progress) { - managerUpdateProgress.add(progress.toDouble()); - } - - Stream<double> getManagerUpdateProgress() { - return managerUpdateProgress.stream; - } - - void disposeManagerUpdateProgress() { - managerUpdateProgress.close(); - } - - Future<File?> downloadManager() async { - final Map<String, dynamic>? release = await _getLatestRelease( - '.apk', - 'revanced/revanced-manager', - ); - File? outputFile; - await for (final result in DefaultCacheManager().getFileStream( - release!['browser_download_url'] as String, - withProgress: true, - )) { - if (result is DownloadProgress) { - final totalSize = result.totalSize ?? 10000000; - final progress = (result.downloaded / totalSize * 100).round(); - - updateManagerDownloadProgress(progress); - } else if (result is FileInfo) { - disposeManagerUpdateProgress(); - // The download is complete; convert the FileInfo object to a File object - outputFile = File(result.file.path); - } - } - return outputFile; - } - - Future<String?> getLatestReleaseTime( - String extension, - String repoName, - ) async { - try { - final Map<String, dynamic>? release = await _getLatestRelease( - extension, - repoName, - ); - if (release != null) { - final DateTime timestamp = - DateTime.parse(release['timestamp'] as String); - return format(timestamp, locale: 'en_short'); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - return null; - } -} diff --git a/lib/services/root_api.dart b/lib/services/root_api.dart deleted file mode 100644 index f0c7d917..00000000 --- a/lib/services/root_api.dart +++ /dev/null @@ -1,257 +0,0 @@ -import 'package:flutter/foundation.dart'; -import 'package:root/root.dart'; - -class RootAPI { - // TODO(ponces): remove in the future, keep it for now during migration. - final String _revancedOldDirPath = '/data/local/tmp/revanced-manager'; - final String _revancedDirPath = '/data/adb/revanced'; - final String _postFsDataDirPath = '/data/adb/post-fs-data.d'; - final String _serviceDDirPath = '/data/adb/service.d'; - - Future<bool> isRooted() async { - try { - final bool? isRooted = await Root.isRootAvailable(); - return isRooted != null && isRooted; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return false; - } - } - - Future<bool> hasRootPermissions() async { - try { - bool? isRooted = await Root.isRootAvailable(); - if (isRooted != null && isRooted) { - isRooted = await Root.isRooted(); - return isRooted != null && isRooted; - } - return false; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return false; - } - } - - Future<void> setPermissions( - String permissions, - ownerGroup, - seLinux, - String filePath, - ) async { - try { - if (permissions.isNotEmpty) { - await Root.exec( - cmd: 'chmod $permissions "$filePath"', - ); - } - if (ownerGroup.isNotEmpty) { - await Root.exec( - cmd: 'chown $ownerGroup "$filePath"', - ); - } - if (seLinux.isNotEmpty) { - await Root.exec( - cmd: 'chcon $seLinux "$filePath"', - ); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<bool> isAppInstalled(String packageName) async { - if (packageName.isNotEmpty) { - return fileExists('$_serviceDDirPath/$packageName.sh'); - } - return false; - } - - Future<List<String>> getInstalledApps() async { - final List<String> apps = List.empty(growable: true); - try { - String? res = await Root.exec( - cmd: 'ls "$_revancedDirPath"', - ); - if (res != null) { - final List<String> list = res.split('\n'); - list.removeWhere((pack) => pack.isEmpty); - apps.addAll(list.map((pack) => pack.trim()).toList()); - } - // TODO(ponces): remove in the future, keep it for now during migration. - res = await Root.exec( - cmd: 'ls "$_revancedOldDirPath"', - ); - if (res != null) { - final List<String> list = res.split('\n'); - list.removeWhere((pack) => pack.isEmpty); - apps.addAll(list.map((pack) => pack.trim()).toList()); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - return apps; - } - - Future<void> deleteApp(String packageName, String originalFilePath) async { - await Root.exec( - cmd: 'am force-stop "$packageName"', - ); - await Root.exec( - cmd: 'su -mm -c "umount -l $originalFilePath"', - ); - // TODO(ponces): remove in the future, keep it for now during migration. - await Root.exec( - cmd: 'rm -rf "$_revancedOldDirPath/$packageName"', - ); - await Root.exec( - cmd: 'rm -rf "$_revancedDirPath/$packageName"', - ); - await Root.exec( - cmd: 'rm -rf "$_serviceDDirPath/$packageName.sh"', - ); - await Root.exec( - cmd: 'rm -rf "$_postFsDataDirPath/$packageName.sh"', - ); - } - - Future<bool> installApp( - String packageName, - String originalFilePath, - String patchedFilePath, - ) async { - try { - await deleteApp(packageName, originalFilePath); - await Root.exec( - cmd: 'mkdir -p "$_revancedDirPath/$packageName"', - ); - await setPermissions( - '0755', - 'shell:shell', - '', - '$_revancedDirPath/$packageName', - ); - await saveOriginalFilePath(packageName, originalFilePath); - await installServiceDScript(packageName); - await installPostFsDataScript(packageName); - await installApk(packageName, patchedFilePath); - await mountApk(packageName, originalFilePath); - return true; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return false; - } - } - - Future<void> installServiceDScript(String packageName) async { - await Root.exec( - cmd: 'mkdir -p "$_serviceDDirPath"', - ); - final String content = '#!/system/bin/sh\n' - 'while [ "\$(getprop sys.boot_completed | tr -d \'"\'"\'\\\\r\'"\'"\')" != "1" ]; do sleep 3; done\n' - 'base_path=$_revancedDirPath/$packageName/base.apk\n' - 'stock_path=\$(pm path $packageName | grep base | sed \'"\'"\'s/package://g\'"\'"\')\n' - r'[ ! -z $stock_path ] && mount -o bind $base_path $stock_path'; - final String scriptFilePath = '$_serviceDDirPath/$packageName.sh'; - await Root.exec( - cmd: 'echo \'$content\' > "$scriptFilePath"', - ); - await setPermissions('0744', '', '', scriptFilePath); - } - - Future<void> installPostFsDataScript(String packageName) async { - await Root.exec( - cmd: 'mkdir -p "$_postFsDataDirPath"', - ); - final String content = '#!/system/bin/sh\n' - 'stock_path=\$(pm path $packageName | grep base | sed \'"\'"\'s/package://g\'"\'"\')\n' - r'[ ! -z $stock_path ] && umount -l $stock_path'; - final String scriptFilePath = '$_postFsDataDirPath/$packageName.sh'; - await Root.exec( - cmd: 'echo \'$content\' > "$scriptFilePath"', - ); - await setPermissions('0744', '', '', scriptFilePath); - } - - Future<void> installApk(String packageName, String patchedFilePath) async { - final String newPatchedFilePath = '$_revancedDirPath/$packageName/base.apk'; - await Root.exec( - cmd: 'cp "$patchedFilePath" "$newPatchedFilePath"', - ); - await setPermissions( - '0644', - 'system:system', - 'u:object_r:apk_data_file:s0', - newPatchedFilePath, - ); - } - - Future<void> mountApk(String packageName, String originalFilePath) async { - final String newPatchedFilePath = '$_revancedDirPath/$packageName/base.apk'; - await Root.exec( - cmd: 'am force-stop "$packageName"', - ); - await Root.exec( - cmd: 'su -mm -c "umount -l $originalFilePath"', - ); - await Root.exec( - cmd: 'su -mm -c "mount -o bind $newPatchedFilePath $originalFilePath"', - ); - } - - Future<bool> isMounted(String packageName) async { - final String? res = await Root.exec( - cmd: 'cat /proc/mounts | grep $packageName', - ); - return res != null && res.isNotEmpty; - } - - Future<void> saveOriginalFilePath( - String packageName, - String originalFilePath, - ) async { - final String originalRootPath = - '$_revancedDirPath/$packageName/original.apk'; - await Root.exec( - cmd: 'mkdir -p "$_revancedDirPath/$packageName"', - ); - await setPermissions( - '0755', - 'shell:shell', - '', - '$_revancedDirPath/$packageName', - ); - await Root.exec( - cmd: 'cp "$originalFilePath" "$originalRootPath"', - ); - await setPermissions( - '0644', - 'shell:shell', - 'u:object_r:apk_data_file:s0', - originalFilePath, - ); - } - - Future<bool> fileExists(String path) async { - try { - final String? res = await Root.exec( - cmd: 'ls $path', - ); - return res != null && res.isNotEmpty; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return false; - } - } -} diff --git a/lib/services/third_party_services_modules.dart b/lib/services/third_party_services_modules.dart deleted file mode 100644 index 6f54f6fb..00000000 --- a/lib/services/third_party_services_modules.dart +++ /dev/null @@ -1,12 +0,0 @@ -import 'package:injectable/injectable.dart'; -import 'package:stacked_services/stacked_services.dart'; - -@module -abstract class ThirdPartyServicesModule { - @lazySingleton - NavigationService get navigationService; - @lazySingleton - DialogService get dialogService; - @lazySingleton - SnackbarService get snackbarService; -} diff --git a/lib/services/toast.dart b/lib/services/toast.dart deleted file mode 100644 index cb9a62b7..00000000 --- a/lib/services/toast.dart +++ /dev/null @@ -1,34 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:fluttertoast/fluttertoast.dart' as t; - -class Toast { - final t.FToast _fToast = t.FToast(); - late BuildContext buildContext; - - void initialize(BuildContext context) { - _fToast.init(context); - } - - void show(String text) { - t.Fluttertoast.showToast( - msg: FlutterI18n.translate( - _fToast.context!, - text, - ), - toastLength: t.Toast.LENGTH_LONG, - gravity: t.ToastGravity.CENTER, - ); - } - - void showBottom(String text) { - t.Fluttertoast.showToast( - msg: FlutterI18n.translate( - _fToast.context!, - text, - ), - toastLength: t.Toast.LENGTH_LONG, - gravity: t.ToastGravity.BOTTOM, - ); - } -} diff --git a/lib/theme.dart b/lib/theme.dart deleted file mode 100644 index 89c93d52..00000000 --- a/lib/theme.dart +++ /dev/null @@ -1,44 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:google_fonts/google_fonts.dart'; - -var lightCustomColorScheme = ColorScheme.fromSeed( - seedColor: Colors.blue, - primary: const Color(0xff1B73E8), -); - -var lightCustomTheme = ThemeData( - useMaterial3: true, - colorScheme: lightCustomColorScheme, - navigationBarTheme: NavigationBarThemeData( - labelTextStyle: MaterialStateProperty.all( - TextStyle( - color: lightCustomColorScheme.onSurface, - fontWeight: FontWeight.w500, - ), - ), - ), - textTheme: GoogleFonts.robotoTextTheme(ThemeData.light().textTheme), -); - -var darkCustomColorScheme = ColorScheme.fromSeed( - seedColor: Colors.blue, - brightness: Brightness.dark, - primary: const Color(0xffA5CAFF), - surface: const Color(0xff1B1A1D), -); - -var darkCustomTheme = ThemeData( - useMaterial3: true, - colorScheme: darkCustomColorScheme, - navigationBarTheme: NavigationBarThemeData( - labelTextStyle: MaterialStateProperty.all( - TextStyle( - color: darkCustomColorScheme.onSurface, - fontWeight: FontWeight.w500, - ), - ), - ), - canvasColor: const Color(0xff1B1A1D), - scaffoldBackgroundColor: const Color(0xff1B1A1D), - textTheme: GoogleFonts.robotoTextTheme(ThemeData.dark().textTheme), -); diff --git a/lib/ui/theme/dynamic_theme_builder.dart b/lib/ui/theme/dynamic_theme_builder.dart deleted file mode 100644 index 65d74c2c..00000000 --- a/lib/ui/theme/dynamic_theme_builder.dart +++ /dev/null @@ -1,73 +0,0 @@ -import 'package:dynamic_color/dynamic_color.dart'; -import 'package:dynamic_themes/dynamic_themes.dart'; -import 'package:flutter/material.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/app/app.router.dart'; -import 'package:revanced_manager/theme.dart'; -import 'package:stacked_services/stacked_services.dart'; - -class DynamicThemeBuilder extends StatelessWidget { - const DynamicThemeBuilder({ - Key? key, - required this.title, - required this.home, - required this.localizationsDelegates, - }) : super(key: key); - final String title; - final Widget home; - final Iterable<LocalizationsDelegate> localizationsDelegates; - - @override - Widget build(BuildContext context) { - return DynamicColorBuilder( - builder: (lightColorScheme, darkColorScheme) { - final ThemeData lightDynamicTheme = ThemeData( - useMaterial3: true, - navigationBarTheme: NavigationBarThemeData( - labelTextStyle: MaterialStateProperty.all( - GoogleFonts.roboto( - color: lightColorScheme?.onSurface, - fontWeight: FontWeight.w500, - ), - ), - ), - colorScheme: lightColorScheme?.harmonized(), - textTheme: GoogleFonts.robotoTextTheme(ThemeData.light().textTheme), - ); - final ThemeData darkDynamicTheme = ThemeData( - useMaterial3: true, - navigationBarTheme: NavigationBarThemeData( - labelTextStyle: MaterialStateProperty.all( - GoogleFonts.roboto( - color: darkColorScheme?.onSurface, - fontWeight: FontWeight.w500, - ), - ), - ), - colorScheme: darkColorScheme?.harmonized(), - textTheme: GoogleFonts.robotoTextTheme(ThemeData.dark().textTheme), - ); - return DynamicTheme( - themeCollection: ThemeCollection( - themes: { - 0: lightCustomTheme, - 1: darkCustomTheme, - 2: lightDynamicTheme, - 3: darkDynamicTheme, - }, - fallbackTheme: lightCustomTheme, - ), - builder: (context, theme) => MaterialApp( - debugShowCheckedModeBanner: false, - title: title, - navigatorKey: StackedService.navigatorKey, - onGenerateRoute: StackedRouter().onGenerateRoute, - theme: theme, - home: home, - localizationsDelegates: localizationsDelegates, - ), - ); - }, - ); - } -} diff --git a/lib/ui/views/app_selector/app_selector_view.dart b/lib/ui/views/app_selector/app_selector_view.dart deleted file mode 100644 index 7877a226..00000000 --- a/lib/ui/views/app_selector/app_selector_view.dart +++ /dev/null @@ -1,146 +0,0 @@ -import 'package:flutter/material.dart' hide SearchBar; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/ui/views/app_selector/app_selector_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/appSelectorView/app_skeleton_loader.dart'; -import 'package:revanced_manager/ui/widgets/appSelectorView/installed_app_item.dart'; -import 'package:revanced_manager/ui/widgets/appSelectorView/not_installed_app_item.dart'; -import 'package:revanced_manager/ui/widgets/shared/search_bar.dart'; -import 'package:stacked/stacked.dart' hide SkeletonLoader; - -class AppSelectorView extends StatefulWidget { - const AppSelectorView({Key? key}) : super(key: key); - - @override - State<AppSelectorView> createState() => _AppSelectorViewState(); -} - -class _AppSelectorViewState extends State<AppSelectorView> { - String _query = ''; - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<AppSelectorViewModel>.reactive( - onViewModelReady: (model) => model.initialize(), - viewModelBuilder: () => AppSelectorViewModel(), - builder: (context, model, child) => Scaffold( - resizeToAvoidBottomInset: false, - floatingActionButton: FloatingActionButton.extended( - label: I18nText('appSelectorView.storageButton'), - icon: const Icon(Icons.sd_storage), - onPressed: () { - model.selectAppFromStorage(context); - Navigator.of(context).pop(); - }, - ), - body: CustomScrollView( - slivers: [ - SliverAppBar( - pinned: true, - floating: true, - title: I18nText( - 'appSelectorView.viewTitle', - child: Text( - '', - style: TextStyle( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - leading: IconButton( - icon: Icon( - Icons.arrow_back, - color: Theme.of(context).textTheme.titleLarge!.color, - ), - onPressed: () => Navigator.of(context).pop(), - ), - bottom: PreferredSize( - preferredSize: const Size.fromHeight(64.0), - child: Padding( - padding: const EdgeInsets.symmetric( - vertical: 8.0, - horizontal: 12.0, - ), - child: SearchBar( - hintText: FlutterI18n.translate( - context, - 'appSelectorView.searchBarHint', - ), - onQueryChanged: (searchQuery) { - setState(() { - _query = searchQuery; - }); - }, - ), - ), - ), - ), - SliverToBoxAdapter( - child: model.noApps - ? Center( - child: I18nText( - 'appSelectorCard.noAppsLabel', - child: Text( - '', - style: TextStyle( - color: - Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - ) - : model.allApps.isEmpty - ? const AppSkeletonLoader() - : Padding( - padding: const EdgeInsets.symmetric(horizontal: 12.0) - .copyWith( - bottom: - MediaQuery.viewPaddingOf(context).bottom + 8.0, - ), - child: Column( - children: [ - ...model - .getFilteredApps(_query) - .map( - (app) => InstalledAppItem( - name: app.appName, - pkgName: app.packageName, - icon: app.icon, - patchesCount: - model.patchesCount(app.packageName), - suggestedVersion: - model.getSuggestedVersion( - app.packageName, - ), - installedVersion: app.versionName!, - onTap: () => model.canSelectInstalled( - context, - app.packageName, - ), - ), - ) - .toList(), - ...model - .getFilteredAppsNames(_query) - .map( - (app) => NotInstalledAppItem( - name: app, - patchesCount: model.patchesCount(app), - suggestedVersion: - model.getSuggestedVersion(app), - onTap: () { - model.showDownloadToast(); - }, - ), - ) - .toList(), - const SizedBox(height: 70.0), - ], - ), - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/views/app_selector/app_selector_viewmodel.dart b/lib/ui/views/app_selector/app_selector_viewmodel.dart deleted file mode 100644 index 9075b2a3..00000000 --- a/lib/ui/views/app_selector/app_selector_viewmodel.dart +++ /dev/null @@ -1,243 +0,0 @@ -import 'dart:io'; - -import 'package:device_apps/device_apps.dart'; -import 'package:file_picker/file_picker.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/patcher_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:stacked/stacked.dart'; - -class AppSelectorViewModel extends BaseViewModel { - final PatcherAPI _patcherAPI = locator<PatcherAPI>(); - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final Toast _toast = locator<Toast>(); - final List<ApplicationWithIcon> apps = []; - List<String> allApps = []; - bool noApps = false; - bool isRooted = false; - int patchesCount(String packageName) { - return _patcherAPI.getFilteredPatches(packageName).length; - } - - List<Patch> patches = []; - - Future<void> initialize() async { - patches = await _managerAPI.getPatches(); - isRooted = _managerAPI.isRooted; - - apps.addAll( - await _patcherAPI - .getFilteredInstalledApps(_managerAPI.areUniversalPatchesEnabled()), - ); - apps.sort( - (a, b) => _patcherAPI - .getFilteredPatches(b.packageName) - .length - .compareTo(_patcherAPI.getFilteredPatches(a.packageName).length), - ); - getAllApps(); - notifyListeners(); - } - - List<String> getAllApps() { - allApps = patches - .expand((e) => e.compatiblePackages.map((p) => p.name)) - .toSet() - .where((name) => !apps.any((app) => app.packageName == name)) - .toList(); - noApps = allApps.isEmpty; - return allApps; - } - - String getSuggestedVersion(String packageName) { - return _patcherAPI.getSuggestedVersion(packageName); - } - - Future<bool> checkSplitApk(String packageName) async { - final app = await DeviceApps.getApp(packageName); - if (app != null) { - return app.isSplit; - } - return true; - } - - Future<void> selectApp(ApplicationWithIcon application) async { - locator<PatcherViewModel>().selectedApp = PatchedApplication( - name: application.appName, - packageName: application.packageName, - originalPackageName: application.packageName, - version: application.versionName!, - apkFilePath: application.apkFilePath, - icon: application.icon, - patchDate: DateTime.now(), - ); - locator<PatcherViewModel>().loadLastSelectedPatches(); - } - - Future<void> canSelectInstalled( - BuildContext context, - String packageName, - ) async { - final app = - await DeviceApps.getApp(packageName, true) as ApplicationWithIcon?; - if (app != null) { - if (await checkSplitApk(packageName) && !isRooted) { - return showSelectFromStorageDialog(context); - } else if (!await checkSplitApk(packageName) || isRooted) { - selectApp(app); - Navigator.pop(context); - } - } - } - - Future showSelectFromStorageDialog(BuildContext context) async { - return showDialog( - context: context, - builder: (context) => SimpleDialog( - alignment: Alignment.center, - contentPadding: - const EdgeInsets.symmetric(horizontal: 20, vertical: 20), - children: [ - const SizedBox(height: 10), - Icon( - Icons.block, - size: 28, - color: Theme.of(context).colorScheme.primary, - ), - const SizedBox(height: 20), - I18nText( - 'appSelectorView.featureNotAvailable', - child: const Text( - '', - textAlign: TextAlign.center, - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w600, - wordSpacing: 1.5, - ), - ), - ), - const SizedBox(height: 20), - I18nText( - 'appSelectorView.featureNotAvailableText', - child: const Text( - '', - style: TextStyle( - fontSize: 14, - ), - ), - ), - const SizedBox(height: 30), - CustomMaterialButton( - onPressed: () => selectAppFromStorage(context).then( - (_) { - Navigator.pop(context); - Navigator.pop(context); - }, - ), - label: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - const Icon(Icons.sd_card), - const SizedBox(width: 10), - I18nText('appSelectorView.selectFromStorageButton'), - ], - ), - ), - const SizedBox(height: 10), - CustomMaterialButton( - isFilled: false, - onPressed: () { - Navigator.pop(context); - }, - label: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - const SizedBox(width: 10), - I18nText('cancelButton'), - ], - ), - ), - ], - ), - ); - } - - Future<void> selectAppFromStorage(BuildContext context) async { - try { - final FilePickerResult? result = await FilePicker.platform.pickFiles( - type: FileType.custom, - allowedExtensions: ['apk'], - ); - if (result != null && result.files.single.path != null) { - final File apkFile = File(result.files.single.path!); - final List<String> pathSplit = result.files.single.path!.split('/'); - pathSplit.removeLast(); - final Directory filePickerCacheDir = Directory(pathSplit.join('/')); - final Iterable<File> deletableFiles = - (await filePickerCacheDir.list().toList()).whereType<File>(); - for (final file in deletableFiles) { - if (file.path != apkFile.path && file.path.endsWith('.apk')) { - file.delete(); - } - } - final ApplicationWithIcon? application = - await DeviceApps.getAppFromStorage( - apkFile.path, - true, - ) as ApplicationWithIcon?; - if (application != null) { - locator<PatcherViewModel>().selectedApp = PatchedApplication( - name: application.appName, - packageName: application.packageName, - originalPackageName: application.packageName, - version: application.versionName!, - apkFilePath: result.files.single.path!, - icon: application.icon, - patchDate: DateTime.now(), - isFromStorage: true, - ); - locator<PatcherViewModel>().loadLastSelectedPatches(); - } - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - _toast.showBottom('appSelectorView.errorMessage'); - } - } - - List<ApplicationWithIcon> getFilteredApps(String query) { - return apps - .where( - (app) => - query.isEmpty || - query.length < 2 || - app.appName.toLowerCase().contains(query.toLowerCase()), - ) - .toList(); - } - - List<String> getFilteredAppsNames(String query) { - return allApps - .where( - (app) => - query.isEmpty || - query.length < 2 || - app.toLowerCase().contains(query.toLowerCase()), - ) - .toList(); - } - - void showDownloadToast() => - _toast.showBottom('appSelectorView.downloadToast'); -} diff --git a/lib/ui/views/contributors/contributors_view.dart b/lib/ui/views/contributors/contributors_view.dart deleted file mode 100644 index a409c17e..00000000 --- a/lib/ui/views/contributors/contributors_view.dart +++ /dev/null @@ -1,70 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/ui/views/contributors/contributors_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/contributorsView/contributors_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_sliver_app_bar.dart'; -import 'package:stacked/stacked.dart'; - -class ContributorsView extends StatelessWidget { - const ContributorsView({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<ContributorsViewModel>.reactive( - viewModelBuilder: () => ContributorsViewModel(), - onViewModelReady: (model) => model.getContributors(), - builder: (context, model, child) => Scaffold( - body: CustomScrollView( - slivers: <Widget>[ - CustomSliverAppBar( - title: I18nText( - 'contributorsView.widgetTitle', - child: Text( - '', - style: GoogleFonts.inter( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - ), - SliverPadding( - padding: const EdgeInsets.all(20.0), - sliver: SliverList( - delegate: SliverChildListDelegate.fixed( - <Widget>[ - ContributorsCard( - title: 'contributorsView.patcherContributors', - contributors: model.patcherContributors, - ), - const SizedBox(height: 20), - ContributorsCard( - title: 'contributorsView.patchesContributors', - contributors: model.patchesContributors, - ), - const SizedBox(height: 20), - ContributorsCard( - title: 'contributorsView.integrationsContributors', - contributors: model.integrationsContributors, - ), - const SizedBox(height: 20), - ContributorsCard( - title: 'contributorsView.cliContributors', - contributors: model.cliContributors, - ), - const SizedBox(height: 20), - ContributorsCard( - title: 'contributorsView.managerContributors', - contributors: model.managerContributors, - ), - SizedBox(height: MediaQuery.viewPaddingOf(context).bottom), - ], - ), - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/views/contributors/contributors_viewmodel.dart b/lib/ui/views/contributors/contributors_viewmodel.dart deleted file mode 100644 index c8c7975f..00000000 --- a/lib/ui/views/contributors/contributors_viewmodel.dart +++ /dev/null @@ -1,24 +0,0 @@ -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:stacked/stacked.dart'; - -class ContributorsViewModel extends BaseViewModel { - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - List<dynamic> patcherContributors = []; - List<dynamic> patchesContributors = []; - List<dynamic> integrationsContributors = []; - List<dynamic> cliContributors = []; - List<dynamic> managerContributors = []; - - Future<void> getContributors() async { - final Map<String, List<dynamic>> contributors = - await _managerAPI.getContributors(); - patcherContributors = contributors[_managerAPI.defaultPatcherRepo] ?? []; - patchesContributors = contributors[_managerAPI.getPatchesRepo()] ?? []; - integrationsContributors = - contributors[_managerAPI.getIntegrationsRepo()] ?? []; - cliContributors = contributors[_managerAPI.defaultCliRepo] ?? []; - managerContributors = contributors[_managerAPI.defaultManagerRepo] ?? []; - notifyListeners(); - } -} diff --git a/lib/ui/views/home/home_view.dart b/lib/ui/views/home/home_view.dart deleted file mode 100644 index 06ed6e9f..00000000 --- a/lib/ui/views/home/home_view.dart +++ /dev/null @@ -1,72 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/homeView/installed_apps_card.dart'; -import 'package:revanced_manager/ui/widgets/homeView/latest_commit_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_sliver_app_bar.dart'; -import 'package:stacked/stacked.dart'; - -class HomeView extends StatelessWidget { - const HomeView({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<HomeViewModel>.reactive( - disposeViewModel: false, - fireOnViewModelReadyOnce: true, - onViewModelReady: (model) => model.initialize(context), - viewModelBuilder: () => locator<HomeViewModel>(), - builder: (context, model, child) => Scaffold( - body: RefreshIndicator( - onRefresh: () => model.forceRefresh(context), - child: CustomScrollView( - slivers: <Widget>[ - CustomSliverAppBar( - isMainView: true, - title: I18nText( - 'homeView.widgetTitle', - child: Text( - '', - style: GoogleFonts.inter( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - ), - SliverPadding( - padding: const EdgeInsets.all(20.0), - sliver: SliverList( - delegate: SliverChildListDelegate.fixed( - <Widget>[ - I18nText( - 'homeView.updatesSubtitle', - child: Text( - '', - style: Theme.of(context).textTheme.titleLarge, - ), - ), - const SizedBox(height: 10), - LatestCommitCard(model: model, parentContext: context), - const SizedBox(height: 23), - I18nText( - 'homeView.patchedSubtitle', - child: Text( - '', - style: Theme.of(context).textTheme.titleLarge, - ), - ), - const SizedBox(height: 10), - InstalledAppsCard(), - ], - ), - ), - ), - ], - ), - ), - ), - ); - } -} diff --git a/lib/ui/views/home/home_viewmodel.dart b/lib/ui/views/home/home_viewmodel.dart deleted file mode 100644 index cfc99e66..00000000 --- a/lib/ui/views/home/home_viewmodel.dart +++ /dev/null @@ -1,480 +0,0 @@ -// ignore_for_file: use_build_context_synchronously -import 'dart:async'; -import 'dart:io'; -import 'package:cross_connectivity/cross_connectivity.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:flutter_local_notifications/flutter_local_notifications.dart'; -import 'package:injectable/injectable.dart'; -import 'package:install_plugin/install_plugin.dart'; -import 'package:path_provider/path_provider.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/app/app.router.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/github_api.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/patcher_api.dart'; -import 'package:revanced_manager/services/revanced_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/navigation/navigation_viewmodel.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/homeView/update_confirmation_dialog.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:stacked/stacked.dart'; -import 'package:stacked_services/stacked_services.dart'; - -@lazySingleton -class HomeViewModel extends BaseViewModel { - final NavigationService _navigationService = locator<NavigationService>(); - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final PatcherAPI _patcherAPI = locator<PatcherAPI>(); - final GithubAPI _githubAPI = locator<GithubAPI>(); - final RevancedAPI _revancedAPI = locator<RevancedAPI>(); - final Toast _toast = locator<Toast>(); - final flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin(); - DateTime? _lastUpdate; - bool showUpdatableApps = false; - List<PatchedApplication> patchedInstalledApps = []; - List<PatchedApplication> patchedUpdatableApps = []; - String? _latestManagerVersion = ''; - File? downloadedApk; - - Future<void> initialize(BuildContext context) async { - _latestManagerVersion = await _managerAPI.getLatestManagerVersion(); - if (!_managerAPI.getPatchesConsent()) { - await showPatchesConsent(context); - } - await _patcherAPI.initialize(); - await flutterLocalNotificationsPlugin.initialize( - const InitializationSettings( - android: AndroidInitializationSettings('ic_notification'), - ), - onDidReceiveNotificationResponse: (response) async { - if (response.id == 0) { - _toast.showBottom('homeView.installingMessage'); - final File? managerApk = await _managerAPI.downloadManager(); - if (managerApk != null) { - await InstallPlugin.installApk(managerApk.path); - } else { - _toast.showBottom('homeView.errorDownloadMessage'); - } - } - }, - ); - flutterLocalNotificationsPlugin - .resolvePlatformSpecificImplementation< - AndroidFlutterLocalNotificationsPlugin>() - ?.requestPermission(); - final bool isConnected = await Connectivity().checkConnection(); - if (!isConnected) { - _toast.showBottom('homeView.noConnection'); - } - final NotificationAppLaunchDetails? notificationAppLaunchDetails = - await flutterLocalNotificationsPlugin.getNotificationAppLaunchDetails(); - if (notificationAppLaunchDetails?.didNotificationLaunchApp ?? false) { - _toast.showBottom('homeView.installingMessage'); - final File? managerApk = await _managerAPI.downloadManager(); - if (managerApk != null) { - await InstallPlugin.installApk(managerApk.path); - } else { - _toast.showBottom('homeView.errorDownloadMessage'); - } - } - _getPatchedApps(); - _managerAPI.reAssessSavedApps().then((_) => _getPatchedApps()); - } - - void navigateToAppInfo(PatchedApplication app) { - _navigationService.navigateTo( - Routes.appInfoView, - arguments: AppInfoViewArguments(app: app), - ); - } - - void toggleUpdatableApps(bool value) { - showUpdatableApps = value; - notifyListeners(); - } - - Future<void> navigateToPatcher(PatchedApplication app) async { - locator<PatcherViewModel>().selectedApp = app; - locator<PatcherViewModel>().selectedPatches = - await _patcherAPI.getAppliedPatches(app.appliedPatches); - locator<PatcherViewModel>().notifyListeners(); - locator<NavigationViewModel>().setIndex(1); - } - - void _getPatchedApps() { - patchedInstalledApps = _managerAPI.getPatchedApps().toList(); - patchedUpdatableApps = _managerAPI - .getPatchedApps() - .where((app) => app.hasUpdates == true) - .toList(); - notifyListeners(); - } - - Future<bool> hasManagerUpdates() async { - String currentVersion = await _managerAPI.getCurrentManagerVersion(); - - // add v to current version - if (!currentVersion.startsWith('v')) { - currentVersion = 'v$currentVersion'; - } - - _latestManagerVersion = - await _managerAPI.getLatestManagerVersion() ?? currentVersion; - - if (_latestManagerVersion != currentVersion) { - return true; - } - return false; - } - - Future<bool> hasPatchesUpdates() async { - final String? latestVersion = await _managerAPI.getLatestPatchesVersion(); - final String currentVersion = await _managerAPI.getCurrentPatchesVersion(); - if (latestVersion != null) { - try { - final int latestVersionInt = - int.parse(latestVersion.replaceAll(RegExp('[^0-9]'), '')); - final int currentVersionInt = - int.parse(currentVersion.replaceAll(RegExp('[^0-9]'), '')); - return latestVersionInt > currentVersionInt; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return false; - } - } - return false; - } - - Future<File?> downloadManager() async { - try { - final response = await _revancedAPI.downloadManager(); - final bytes = await response!.readAsBytes(); - final tempDir = await getTemporaryDirectory(); - final tempFile = File('${tempDir.path}/revanced-manager.apk'); - await tempFile.writeAsBytes(bytes); - return tempFile; - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - return null; - } - } - - Future<void> showPatchesConsent(BuildContext context) async { - final ValueNotifier<bool> autoUpdate = ValueNotifier(true); - await showDialog( - context: context, - barrierDismissible: false, - builder: (context) => AlertDialog( - title: const Text('Download ReVanced Patches?'), - content: ValueListenableBuilder( - valueListenable: autoUpdate, - builder: (context, value, child) { - return Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - I18nText( - 'homeView.patchesConsentDialogText', - child: Text( - '', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - color: Theme.of(context).colorScheme.secondary, - ), - ), - ), - Padding( - padding: const EdgeInsets.symmetric(vertical: 10), - child: I18nText( - 'homeView.patchesConsentDialogText2', - translationParams: { - 'url': _managerAPI.defaultApiUrl.split('/')[2], - }, - child: Text( - '', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - color: Theme.of(context).colorScheme.error, - ), - ), - ), - ), - CheckboxListTile( - value: value, - contentPadding: EdgeInsets.zero, - title: I18nText( - 'homeView.patchesConsentDialogText3', - ), - subtitle: I18nText( - 'homeView.patchesConsentDialogText3Sub', - ), - onChanged: (selected) { - autoUpdate.value = selected!; - }, - ), - ], - ); - }, - ), - actions: [ - CustomMaterialButton( - isFilled: false, - onPressed: () async { - await _managerAPI.setPatchesConsent(false); - SystemNavigator.pop(); - }, - label: I18nText('quitButton'), - ), - CustomMaterialButton( - onPressed: () async { - await _managerAPI.setPatchesConsent(true); - await _managerAPI.setPatchesAutoUpdate(autoUpdate.value); - Navigator.of(context).pop(); - }, - label: I18nText('okButton'), - ), - ], - ), - ); - } - - Future<void> updatePatches(BuildContext context) async { - _toast.showBottom('homeView.downloadingMessage'); - final String patchesVersion = - await _managerAPI.getLatestPatchesVersion() ?? '0.0.0'; - final String integrationsVersion = - await _managerAPI.getLatestIntegrationsVersion() ?? '0.0.0'; - if (patchesVersion != '0.0.0' && integrationsVersion != '0.0.0') { - await _managerAPI.setCurrentPatchesVersion(patchesVersion); - await _managerAPI.setCurrentIntegrationsVersion(integrationsVersion); - _toast.showBottom('homeView.downloadedMessage'); - forceRefresh(context); - } else { - _toast.showBottom('homeView.errorDownloadMessage'); - } - } - - Future<void> updateManager(BuildContext context) async { - final ValueNotifier<bool> downloaded = ValueNotifier(false); - try { - _toast.showBottom('homeView.downloadingMessage'); - showDialog( - context: context, - builder: (context) => ValueListenableBuilder( - valueListenable: downloaded, - builder: (context, value, child) { - return SimpleDialog( - contentPadding: const EdgeInsets.all(16.0), - title: I18nText( - !value - ? 'homeView.downloadingMessage' - : 'homeView.downloadedMessage', - child: Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - color: Theme.of(context).colorScheme.secondary, - ), - ), - ), - children: [ - Column( - children: [ - Row( - children: [ - Icon( - Icons.new_releases_outlined, - color: Theme.of(context).colorScheme.secondary, - ), - const SizedBox(width: 8.0), - Text( - '$_latestManagerVersion', - style: TextStyle( - fontSize: 18, - fontWeight: FontWeight.w500, - color: Theme.of(context).colorScheme.secondary, - ), - ), - ], - ), - const SizedBox(height: 16.0), - if (!value) - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - StreamBuilder<double>( - initialData: 0.0, - stream: _revancedAPI.managerUpdateProgress.stream, - builder: (context, snapshot) { - return LinearProgressIndicator( - value: snapshot.data! * 0.01, - valueColor: AlwaysStoppedAnimation<Color>( - Theme.of(context).colorScheme.secondary, - ), - ); - }, - ), - const SizedBox(height: 16.0), - Align( - alignment: Alignment.centerRight, - child: CustomMaterialButton( - label: I18nText('cancelButton'), - onPressed: () { - _revancedAPI.disposeManagerUpdateProgress(); - Navigator.of(context).pop(); - }, - ), - ), - ], - ), - if (value) - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - I18nText( - 'homeView.installUpdate', - child: Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - color: Theme.of(context).colorScheme.secondary, - ), - ), - ), - const SizedBox(height: 16.0), - Row( - mainAxisAlignment: MainAxisAlignment.end, - children: [ - Align( - alignment: Alignment.centerRight, - child: CustomMaterialButton( - isFilled: false, - label: I18nText('cancelButton'), - onPressed: () { - Navigator.of(context).pop(); - }, - ), - ), - const SizedBox(width: 8.0), - Align( - alignment: Alignment.centerRight, - child: CustomMaterialButton( - label: I18nText('updateButton'), - onPressed: () async { - await InstallPlugin.installApk( - downloadedApk!.path, - ); - }, - ), - ), - ], - ), - ], - ), - ], - ), - ], - ); - }, - ), - ); - final File? managerApk = await downloadManager(); - if (managerApk != null) { - downloaded.value = true; - downloadedApk = managerApk; - // await flutterLocalNotificationsPlugin.zonedSchedule( - // 0, - // FlutterI18n.translate( - // context, - // 'homeView.notificationTitle', - // ), - // FlutterI18n.translate( - // context, - // 'homeView.notificationText', - // ), - // tz.TZDateTime.now(tz.local).add(const Duration(seconds: 5)), - // const NotificationDetails( - // android: AndroidNotificationDetails( - // 'revanced_manager_channel', - // 'ReVanced Manager Channel', - // importance: Importance.max, - // priority: Priority.high, - // ticker: 'ticker', - // ), - // ), - // androidAllowWhileIdle: true, - // uiLocalNotificationDateInterpretation: - // UILocalNotificationDateInterpretation.absoluteTime, - // ); - _toast.showBottom('homeView.installingMessage'); - await InstallPlugin.installApk(managerApk.path); - } else { - _toast.showBottom('homeView.errorDownloadMessage'); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - _toast.showBottom('homeView.errorInstallMessage'); - } - } - - void updatesAreDisabled() { - _toast.showBottom('homeView.updatesDisabled'); - } - - Future<void> showUpdateConfirmationDialog( - BuildContext parentContext, - bool isPatches, - ) { - return showModalBottomSheet( - context: parentContext, - isScrollControlled: true, - shape: const RoundedRectangleBorder( - borderRadius: BorderRadius.vertical(top: Radius.circular(24.0)), - ), - builder: (context) => UpdateConfirmationDialog( - isPatches: isPatches, - ), - ); - } - - Future<Map<String, dynamic>?> getLatestManagerRelease() { - return _githubAPI.getLatestManagerRelease(_managerAPI.defaultManagerRepo); - } - - Future<Map<String, dynamic>?> getLatestPatchesRelease() { - return _githubAPI.getLatestPatchesRelease(_managerAPI.defaultPatchesRepo); - } - - Future<String?> getLatestPatchesReleaseTime() { - return _managerAPI.getLatestPatchesReleaseTime(); - } - - Future<String?> getLatestManagerReleaseTime() { - return _managerAPI.getLatestManagerReleaseTime(); - } - - Future<void> forceRefresh(BuildContext context) async { - await Future.delayed(const Duration(seconds: 1)); - if (_lastUpdate == null || - _lastUpdate!.difference(DateTime.now()).inSeconds > 2) { - _managerAPI.clearAllData(); - } - _toast.showBottom('homeView.refreshSuccess'); - initialize(context); - } -} diff --git a/lib/ui/views/installer/installer_view.dart b/lib/ui/views/installer/installer_view.dart deleted file mode 100644 index 508c449d..00000000 --- a/lib/ui/views/installer/installer_view.dart +++ /dev/null @@ -1,106 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/ui/views/installer/installer_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/installerView/gradient_progress_indicator.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_sliver_app_bar.dart'; -import 'package:stacked/stacked.dart'; - -class InstallerView extends StatelessWidget { - const InstallerView({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<InstallerViewModel>.reactive( - onViewModelReady: (model) => model.initialize(context), - viewModelBuilder: () => InstallerViewModel(), - builder: (context, model, child) => WillPopScope( - child: SafeArea( - top: false, - bottom: false, - child: Scaffold( - floatingActionButton: Visibility( - visible: !model.isPatching, - child: FloatingActionButton.extended( - label: I18nText('installerView.installButton'), - icon: const Icon(Icons.file_download_outlined), - onPressed: () => model.installTypeDialog(context), - elevation: 0, - ), - ), - floatingActionButtonLocation: - FloatingActionButtonLocation.endContained, - bottomNavigationBar: Visibility( - visible: !model.isPatching, - child: BottomAppBar( - child: Row( - children: <Widget>[ - Visibility( - visible: !model.hasErrors, - child: IconButton.filledTonal( - tooltip: FlutterI18n.translate( - context, - 'installerView.exportApkButtonTooltip', - ), - icon: const Icon(Icons.save), - onPressed: () => model.onButtonPressed(0), - ), - ), - IconButton.filledTonal( - tooltip: FlutterI18n.translate( - context, - 'installerView.exportLogButtonTooltip', - ), - icon: const Icon(Icons.post_add), - onPressed: () => model.onButtonPressed(1), - ), - ], - ), - ), - ), - body: CustomScrollView( - controller: model.scrollController, - slivers: <Widget>[ - CustomSliverAppBar( - title: Text( - model.headerLogs, - style: GoogleFonts.inter( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - maxLines: 1, - overflow: TextOverflow.ellipsis, - ), - onBackButtonPressed: () => model.onWillPop(context), - bottom: PreferredSize( - preferredSize: const Size(double.infinity, 1.0), - child: GradientProgressIndicator(progress: model.progress), - ), - ), - SliverPadding( - padding: const EdgeInsets.all(20.0), - sliver: SliverList( - delegate: SliverChildListDelegate.fixed( - <Widget>[ - CustomCard( - child: Text( - model.logs, - style: GoogleFonts.jetBrainsMono( - fontSize: 13, - height: 1.5, - ), - ), - ), - ], - ), - ), - ), - ], - ), - ), - ), - onWillPop: () => model.onWillPop(context), - ), - ); - } -} diff --git a/lib/ui/views/installer/installer_viewmodel.dart b/lib/ui/views/installer/installer_viewmodel.dart deleted file mode 100644 index b11d47da..00000000 --- a/lib/ui/views/installer/installer_viewmodel.dart +++ /dev/null @@ -1,391 +0,0 @@ -// ignore_for_file: use_build_context_synchronously -import 'package:device_apps/device_apps.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_background/flutter_background.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:permission_handler/permission_handler.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/patcher_api.dart'; -import 'package:revanced_manager/services/root_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:stacked/stacked.dart'; -import 'package:wakelock/wakelock.dart'; - -class InstallerViewModel extends BaseViewModel { - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final PatcherAPI _patcherAPI = locator<PatcherAPI>(); - final RootAPI _rootAPI = RootAPI(); - final Toast _toast = locator<Toast>(); - final PatchedApplication _app = locator<PatcherViewModel>().selectedApp!; - final List<Patch> _patches = locator<PatcherViewModel>().selectedPatches; - static const _installerChannel = MethodChannel( - 'app.revanced.manager.flutter/installer', - ); - final ScrollController scrollController = ScrollController(); - double? progress = 0.0; - String logs = ''; - String headerLogs = ''; - bool isRooted = false; - bool isPatching = true; - bool isInstalled = false; - bool hasErrors = false; - bool isCanceled = false; - bool cancel = false; - - Future<void> initialize(BuildContext context) async { - isRooted = await _rootAPI.isRooted(); - if (await Permission.ignoreBatteryOptimizations.isGranted) { - try { - FlutterBackground.initialize( - androidConfig: FlutterBackgroundAndroidConfig( - notificationTitle: FlutterI18n.translate( - context, - 'installerView.notificationTitle', - ), - notificationText: FlutterI18n.translate( - context, - 'installerView.notificationText', - ), - notificationIcon: const AndroidResource( - name: 'ic_notification', - ), - ), - ).then((value) => FlutterBackground.enableBackgroundExecution()); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } // ignore - } - } - await Wakelock.enable(); - await handlePlatformChannelMethods(); - await runPatcher(); - } - - Future<dynamic> handlePlatformChannelMethods() async { - _installerChannel.setMethodCallHandler((call) async { - switch (call.method) { - case 'update': - if (call.arguments != null) { - final Map<dynamic, dynamic> arguments = call.arguments; - final double progress = arguments['progress']; - final String header = arguments['header']; - final String log = arguments['log']; - update(progress, header, log); - } - break; - } - }); - } - - Future<void> update(double value, String header, String log) async { - if (value >= 0.0) { - progress = value; - } - if (value == 0.0) { - logs = ''; - isPatching = true; - isInstalled = false; - hasErrors = false; - } else if (value == 1.0) { - isPatching = false; - hasErrors = false; - await _managerAPI.savePatches( - _patcherAPI.getFilteredPatches(_app.packageName), - _app.packageName, - ); - await _managerAPI.setUsedPatches(_patches, _app.packageName); - } else if (value == -100.0) { - isPatching = false; - hasErrors = true; - } - if (header.isNotEmpty) { - headerLogs = header; - } - if (log.isNotEmpty && !log.startsWith('Merging L')) { - if (logs.isNotEmpty) { - logs += '\n'; - } - logs += log; - if (logs[logs.length - 1] == '\n') { - logs = logs.substring(0, logs.length - 1); - } - Future.delayed(const Duration(milliseconds: 500)).then((value) { - scrollController.animateTo( - scrollController.position.maxScrollExtent, - duration: const Duration(milliseconds: 200), - curve: Curves.fastOutSlowIn, - ); - }); - } - notifyListeners(); - } - - Future<void> runPatcher() async { - try { - update(0.0, 'Initializing...', 'Initializing installer'); - if (_patches.isNotEmpty) { - try { - update(0.1, '', 'Creating working directory'); - await _patcherAPI.runPatcher( - _app.packageName, - _app.apkFilePath, - _patches, - ); - } on Exception catch (e) { - update( - -100.0, - 'Aborted...', - 'An error occurred! Aborted\nError:\n$e', - ); - if (kDebugMode) { - print(e); - } - } - } else { - update(-100.0, 'Aborted...', 'No app or patches selected! Aborted'); - } - if (FlutterBackground.isBackgroundExecutionEnabled) { - try { - FlutterBackground.disableBackgroundExecution(); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } // ignore - } - } - await Wakelock.disable(); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<void> installTypeDialog(BuildContext context) async { - final ValueNotifier<int> installType = ValueNotifier(0); - if (isRooted) { - await showDialog( - context: context, - barrierDismissible: false, - builder: (context) => AlertDialog( - title: I18nText( - 'installerView.installType', - ), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - icon: const Icon(Icons.file_download_outlined), - contentPadding: const EdgeInsets.symmetric(vertical: 16), - content: ValueListenableBuilder( - valueListenable: installType, - builder: (context, value, child) { - return Column( - mainAxisSize: MainAxisSize.min, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: const EdgeInsets.symmetric( - horizontal: 20, - vertical: 10, - ), - child: I18nText( - 'installerView.installTypeDescription', - child: Text( - '', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - color: Theme.of(context).colorScheme.secondary, - ), - ), - ), - ), - RadioListTile( - title: I18nText('installerView.installNonRootType'), - subtitle: I18nText('installerView.installRecommendedType'), - contentPadding: const EdgeInsets.symmetric(horizontal: 10), - value: 0, - groupValue: value, - onChanged: (selected) { - installType.value = selected!; - }, - ), - RadioListTile( - title: I18nText('installerView.installRootType'), - contentPadding: const EdgeInsets.symmetric(horizontal: 10), - value: 1, - groupValue: value, - onChanged: (selected) { - installType.value = selected!; - }, - ), - ], - ); - }, - ), - actions: [ - CustomMaterialButton( - label: I18nText('cancelButton'), - isFilled: false, - onPressed: () { - Navigator.of(context).pop(); - }, - ), - CustomMaterialButton( - label: I18nText('installerView.installButton'), - onPressed: () { - Navigator.of(context).pop(); - installResult(context, installType.value == 1); - }, - ), - ], - ), - ); - } else { - installResult(context, false); - } - } - - Future<void> stopPatcher() async { - try { - isCanceled = true; - update(0.5, 'Aborting...', 'Canceling patching process'); - await _patcherAPI.stopPatcher(); - update(-100.0, 'Aborted...', 'Press back to exit'); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<void> installResult(BuildContext context, bool installAsRoot) async { - try { - _app.isRooted = installAsRoot; - final bool hasMicroG = - _patches.any((p) => p.name.endsWith('MicroG support')); - final bool rootMicroG = installAsRoot && hasMicroG; - final bool rootFromStorage = installAsRoot && _app.isFromStorage; - final bool ytWithoutRootMicroG = - !installAsRoot && !hasMicroG && _app.packageName.contains('youtube'); - if (rootMicroG || rootFromStorage || ytWithoutRootMicroG) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('installerView.installErrorDialogTitle'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText( - rootMicroG - ? 'installerView.installErrorDialogText1' - : rootFromStorage - ? 'installerView.installErrorDialogText3' - : 'installerView.installErrorDialogText2', - ), - actions: <Widget>[ - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), - ); - } else { - update( - 1.0, - 'Installing...', - _app.isRooted - ? 'Installing patched file using root method' - : 'Installing patched file using nonroot method', - ); - isInstalled = await _patcherAPI.installPatchedFile(_app); - if (isInstalled) { - update(1.0, 'Installed!', 'Installed!'); - _app.isFromStorage = false; - _app.patchDate = DateTime.now(); - _app.appliedPatches = _patches.map((p) => p.name).toList(); - if (hasMicroG) { - _app.name += ' ReVanced'; - _app.packageName = _app.packageName.replaceFirst( - 'com.google.', - 'app.revanced.', - ); - } - await _managerAPI.savePatchedApp(_app); - } - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - void exportResult() { - try { - _patcherAPI.exportPatchedFile(_app.name, _app.version); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - void exportLog() { - _patcherAPI.exportPatcherLog(logs); - } - - Future<void> cleanPatcher() async { - try { - _patcherAPI.cleanPatcher(); - locator<PatcherViewModel>().selectedApp = null; - locator<PatcherViewModel>().selectedPatches.clear(); - locator<PatcherViewModel>().notifyListeners(); - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - void openApp() { - DeviceApps.openApp(_app.packageName); - } - - void onButtonPressed(int value) { - switch (value) { - case 0: - exportResult(); - break; - case 1: - exportLog(); - break; - } - } - - Future<bool> onWillPop(BuildContext context) async { - if (isPatching) { - if (!cancel) { - cancel = true; - _toast.showBottom('installerView.pressBackAgain'); - } else if (!isCanceled) { - await stopPatcher(); - } else { - _toast.showBottom('installerView.noExit'); - } - return false; - } - if (!cancel) { - cleanPatcher(); - } else { - _patcherAPI.cleanPatcher(); - } - Navigator.of(context).pop(); - return true; - } -} diff --git a/lib/ui/views/navigation/navigation_view.dart b/lib/ui/views/navigation/navigation_view.dart deleted file mode 100644 index 7089d069..00000000 --- a/lib/ui/views/navigation/navigation_view.dart +++ /dev/null @@ -1,82 +0,0 @@ -import 'package:animations/animations.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/ui/views/navigation/navigation_viewmodel.dart'; -import 'package:stacked/stacked.dart'; - -class NavigationView extends StatelessWidget { - const NavigationView({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<NavigationViewModel>.reactive( - onViewModelReady: (model) => model.initialize(context), - viewModelBuilder: () => locator<NavigationViewModel>(), - builder: (context, model, child) => WillPopScope( - onWillPop: () async { - if (model.currentIndex == 0) { - return true; - } else { - model.setIndex(0); - return false; - } - }, - child: Scaffold( - body: PageTransitionSwitcher( - duration: const Duration(milliseconds: 400), - transitionBuilder: ( - Widget child, - Animation<double> animation, - Animation<double> secondaryAnimation, - ) { - return FadeThroughTransition( - animation: animation, - secondaryAnimation: secondaryAnimation, - fillColor: Theme.of(context).colorScheme.surface, - child: child, - ); - }, - child: model.getViewForIndex(model.currentIndex), - ), - bottomNavigationBar: NavigationBar( - onDestinationSelected: model.setIndex, - selectedIndex: model.currentIndex, - destinations: <Widget>[ - NavigationDestination( - icon: model.isIndexSelected(0) - ? const Icon(Icons.dashboard) - : const Icon(Icons.dashboard_outlined), - label: FlutterI18n.translate( - context, - 'navigationView.dashboardTab', - ), - tooltip: '', - ), - NavigationDestination( - icon: model.isIndexSelected(1) - ? const Icon(Icons.build) - : const Icon(Icons.build_outlined), - label: FlutterI18n.translate( - context, - 'navigationView.patcherTab', - ), - tooltip: '', - ), - NavigationDestination( - icon: model.isIndexSelected(2) - ? const Icon(Icons.settings) - : const Icon(Icons.settings_outlined), - label: FlutterI18n.translate( - context, - 'navigationView.settingsTab', - ), - tooltip: '', - ), - ], - ), - ), - ), - ); - } -} diff --git a/lib/ui/views/navigation/navigation_viewmodel.dart b/lib/ui/views/navigation/navigation_viewmodel.dart deleted file mode 100644 index 99110cc1..00000000 --- a/lib/ui/views/navigation/navigation_viewmodel.dart +++ /dev/null @@ -1,75 +0,0 @@ -// ignore_for_file: use_build_context_synchronously -import 'package:dynamic_themes/dynamic_themes.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:injectable/injectable.dart'; -import 'package:permission_handler/permission_handler.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/root_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/home/home_view.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_view.dart'; -import 'package:revanced_manager/ui/views/settings/settings_view.dart'; -import 'package:shared_preferences/shared_preferences.dart'; -import 'package:stacked/stacked.dart'; - -@lazySingleton -class NavigationViewModel extends IndexTrackingViewModel { - Future<void> initialize(BuildContext context) async { - locator<Toast>().initialize(context); - final SharedPreferences prefs = await SharedPreferences.getInstance(); - requestManageExternalStorage(); - - if (prefs.getBool('permissionsRequested') == null) { - await Permission.storage.request(); - await Permission.manageExternalStorage.request(); - await prefs.setBool('permissionsRequested', true); - RootAPI().hasRootPermissions().then( - (value) => Permission.requestInstallPackages.request().then( - (value) => Permission.ignoreBatteryOptimizations.request(), - ), - ); - } - - if (prefs.getBool('useDarkTheme') == null) { - final bool isDark = - MediaQuery.platformBrightnessOf(context) != Brightness.light; - await prefs.setBool('useDarkTheme', isDark); - await DynamicTheme.of(context)!.setTheme(isDark ? 1 : 0); - } - SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge); - SystemChrome.setSystemUIOverlayStyle( - SystemUiOverlayStyle( - systemNavigationBarColor: Colors.transparent, - systemNavigationBarIconBrightness: - DynamicTheme.of(context)!.theme.brightness == Brightness.light - ? Brightness.dark - : Brightness.light, - ), - ); - } - - Future<void> requestManageExternalStorage() async { - final manageExternalStorageStatus = - await Permission.manageExternalStorage.status; - if (manageExternalStorageStatus.isDenied) { - await Permission.manageExternalStorage.request(); - } - if (manageExternalStorageStatus.isPermanentlyDenied) { - await openAppSettings(); - } - } - - Widget getViewForIndex(int index) { - switch (index) { - case 0: - return const HomeView(); - case 1: - return const PatcherView(); - case 2: - return const SettingsView(); - default: - return const HomeView(); - } - } -} diff --git a/lib/ui/views/patcher/patcher_view.dart b/lib/ui/views/patcher/patcher_view.dart deleted file mode 100644 index ec593d18..00000000 --- a/lib/ui/views/patcher/patcher_view.dart +++ /dev/null @@ -1,68 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/patcherView/app_selector_card.dart'; -import 'package:revanced_manager/ui/widgets/patcherView/patch_selector_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_sliver_app_bar.dart'; -import 'package:stacked/stacked.dart'; - -class PatcherView extends StatelessWidget { - const PatcherView({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<PatcherViewModel>.reactive( - disposeViewModel: false, - viewModelBuilder: () => locator<PatcherViewModel>(), - builder: (context, model, child) => Scaffold( - floatingActionButton: Visibility( - visible: model.showPatchButton(), - child: FloatingActionButton.extended( - label: I18nText('patcherView.patchButton'), - icon: const Icon(Icons.build), - onPressed: () => model.showRemovedPatchesDialog(context), - ), - ), - body: CustomScrollView( - slivers: <Widget>[ - CustomSliverAppBar( - isMainView: true, - title: I18nText( - 'patcherView.widgetTitle', - child: Text( - '', - style: GoogleFonts.inter( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - ), - SliverPadding( - padding: const EdgeInsets.all(20.0), - sliver: SliverList( - delegate: SliverChildListDelegate.fixed( - <Widget>[ - AppSelectorCard( - onPressed: () => model.navigateToAppSelector(), - ), - const SizedBox(height: 16), - Opacity( - opacity: model.dimPatchesCard() ? 0.5 : 1, - child: PatchSelectorCard( - onPressed: model.dimPatchesCard() - ? () => {} - : () => model.navigateToPatchesSelector(), - ), - ), - ], - ), - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/views/patcher/patcher_viewmodel.dart b/lib/ui/views/patcher/patcher_viewmodel.dart deleted file mode 100644 index 33ceb719..00000000 --- a/lib/ui/views/patcher/patcher_viewmodel.dart +++ /dev/null @@ -1,214 +0,0 @@ -// ignore_for_file: use_build_context_synchronously - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:injectable/injectable.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/app/app.router.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/patcher_api.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:revanced_manager/utils/about_info.dart'; -import 'package:revanced_manager/utils/check_for_supported_patch.dart'; -import 'package:stacked/stacked.dart'; -import 'package:stacked_services/stacked_services.dart'; - -@lazySingleton -class PatcherViewModel extends BaseViewModel { - final NavigationService _navigationService = locator<NavigationService>(); - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final PatcherAPI _patcherAPI = locator<PatcherAPI>(); - PatchedApplication? selectedApp; - List<Patch> selectedPatches = []; - List<String> removedPatches = []; - - void navigateToAppSelector() { - _navigationService.navigateTo(Routes.appSelectorView); - } - - void navigateToPatchesSelector() { - _navigationService.navigateTo(Routes.patchesSelectorView); - } - - void navigateToInstaller() { - _navigationService.navigateTo(Routes.installerView); - } - - bool showPatchButton() { - return selectedPatches.isNotEmpty; - } - - bool dimPatchesCard() { - return selectedApp == null; - } - - Future<bool> isValidPatchConfig() async { - final bool needsResourcePatching = await _patcherAPI.needsResourcePatching( - selectedPatches, - ); - if (needsResourcePatching && selectedApp != null) { - final bool isSplit = await _managerAPI.isSplitApk(selectedApp!); - return !isSplit; - } - return true; - } - - Future<void> showPatchConfirmationDialog(BuildContext context) async { - final bool isValid = await isValidPatchConfig(); - if (context.mounted) { - if (isValid) { - showArmv7WarningDialog(context); - } else { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('warning'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText('patcherView.splitApkWarningDialogText'), - actions: <Widget>[ - CustomMaterialButton( - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - isFilled: false, - onPressed: () { - Navigator.of(context).pop(); - showArmv7WarningDialog(context); - }, - ), - ], - ), - ); - } - } - } - - Future<void> showRemovedPatchesDialog(BuildContext context) async { - if (removedPatches.isNotEmpty) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('notice'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText( - 'patcherView.removedPatchesWarningDialogText', - translationParams: {'patches': removedPatches.join('\n')}, - ), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () { - Navigator.of(context).pop(); - navigateToInstaller(); - }, - ), - ], - ), - ); - } else { - showArmv7WarningDialog(context); - } - } - - Future<void> showArmv7WarningDialog(BuildContext context) async { - final bool armv7 = await AboutInfo.getInfo().then((info) { - final List<String> archs = info['supportedArch']; - final supportedAbis = ['arm64-v8a', 'x86', 'x86_64']; - return !archs.any((arch) => supportedAbis.contains(arch)); - }); - if (context.mounted && armv7) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('warning'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText('patcherView.armv7WarningDialogText'), - actions: <Widget>[ - CustomMaterialButton( - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - isFilled: false, - onPressed: () { - Navigator.of(context).pop(); - navigateToInstaller(); - }, - ), - ], - ), - ); - } else { - navigateToInstaller(); - } - } - - String getAppSelectionString() { - String text = '${selectedApp!.name} (${selectedApp!.packageName})'; - if (text.length > 32) { - text = '${text.substring(0, 32)}...)'; - } - return text; - } - - String getSuggestedVersionString(BuildContext context) { - String suggestedVersion = - _patcherAPI.getSuggestedVersion(selectedApp!.packageName); - if (suggestedVersion.isEmpty) { - suggestedVersion = FlutterI18n.translate( - context, - 'appSelectorCard.allVersions', - ); - } else { - suggestedVersion = 'v$suggestedVersion'; - } - return '${FlutterI18n.translate( - context, - 'appSelectorCard.currentVersion', - )}: v${selectedApp!.version}\n${FlutterI18n.translate( - context, - 'appSelectorCard.suggestedVersion', - )}: $suggestedVersion'; - } - - Future<void> loadLastSelectedPatches() async { - this.selectedPatches.clear(); - removedPatches.clear(); - final List<String> selectedPatches = - await _managerAPI.getSelectedPatches(selectedApp!.originalPackageName); - final List<Patch> patches = - _patcherAPI.getFilteredPatches(selectedApp!.originalPackageName); - this - .selectedPatches - .addAll(patches.where((patch) => selectedPatches.contains(patch.name))); - if (!_managerAPI.isPatchesChangeEnabled()) { - this.selectedPatches.clear(); - this.selectedPatches.addAll(patches.where((patch) => !patch.excluded)); - } - if (!_managerAPI.areExperimentalPatchesEnabled()) { - this.selectedPatches.removeWhere((patch) => !isPatchSupported(patch)); - } - if (!_managerAPI.areUniversalPatchesEnabled()) { - this - .selectedPatches - .removeWhere((patch) => patch.compatiblePackages.isEmpty); - } - final usedPatches = _managerAPI.getUsedPatches(selectedApp!.originalPackageName); - for (final patch in usedPatches){ - if (!patches.any((p) => p.name == patch.name)){ - removedPatches.add('\u2022 ${patch.name}'); - } - } - notifyListeners(); - } -} diff --git a/lib/ui/views/patches_selector/patches_selector_view.dart b/lib/ui/views/patches_selector/patches_selector_view.dart deleted file mode 100644 index 9039c2ce..00000000 --- a/lib/ui/views/patches_selector/patches_selector_view.dart +++ /dev/null @@ -1,264 +0,0 @@ -import 'package:flutter/material.dart' hide SearchBar; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/ui/views/patches_selector/patches_selector_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/patchesSelectorView/patch_item.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_popup_menu.dart'; -import 'package:revanced_manager/ui/widgets/shared/search_bar.dart'; -import 'package:revanced_manager/utils/check_for_supported_patch.dart'; -import 'package:stacked/stacked.dart'; - -class PatchesSelectorView extends StatefulWidget { - const PatchesSelectorView({Key? key}) : super(key: key); - - @override - State<PatchesSelectorView> createState() => _PatchesSelectorViewState(); -} - -class _PatchesSelectorViewState extends State<PatchesSelectorView> { - String _query = ''; - final _managerAPI = locator<ManagerAPI>(); - - @override - void initState() { - super.initState(); - WidgetsBinding.instance.addPostFrameCallback((_) async { - if (!_managerAPI.isPatchesChangeEnabled() && - _managerAPI.showPatchesChangeWarning()) { - _managerAPI.showPatchesChangeWarningDialog(context); - } - }); - } - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<PatchesSelectorViewModel>.reactive( - onViewModelReady: (model) => model.initialize(), - viewModelBuilder: () => PatchesSelectorViewModel(), - builder: (context, model, child) => Scaffold( - resizeToAvoidBottomInset: false, - floatingActionButton: Visibility( - visible: model.patches.isNotEmpty, - child: FloatingActionButton.extended( - label: Row( - children: <Widget>[ - I18nText('patchesSelectorView.doneButton'), - Text(' (${model.selectedPatches.length})'), - ], - ), - icon: const Icon(Icons.check), - onPressed: () { - model.selectPatches(); - Navigator.of(context).pop(); - }, - ), - ), - body: CustomScrollView( - slivers: [ - SliverAppBar( - pinned: true, - floating: true, - title: I18nText( - 'patchesSelectorView.viewTitle', - child: Text( - '', - style: TextStyle( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - leading: IconButton( - icon: Icon( - Icons.arrow_back, - color: Theme.of(context).textTheme.titleLarge!.color, - ), - onPressed: () => Navigator.of(context).pop(), - ), - actions: [ - FittedBox( - fit: BoxFit.scaleDown, - child: Container( - margin: const EdgeInsets.only(top: 12, bottom: 12), - padding: - const EdgeInsets.symmetric(horizontal: 6, vertical: 6), - decoration: BoxDecoration( - color: Theme.of(context) - .colorScheme - .tertiary - .withOpacity(0.5), - borderRadius: BorderRadius.circular(6), - ), - child: Text( - model.patchesVersion!, - style: TextStyle( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - ), - CustomPopupMenu( - onSelected: (value) => - {model.onMenuSelection(value, context)}, - children: { - 0: I18nText( - 'patchesSelectorView.loadPatchesSelection', - child: const Text( - '', - style: TextStyle( - fontWeight: FontWeight.bold, - ), - ), - ), - }, - ), - ], - bottom: PreferredSize( - preferredSize: const Size.fromHeight(64.0), - child: Padding( - padding: const EdgeInsets.symmetric( - vertical: 8.0, - horizontal: 12.0, - ), - child: SearchBar( - hintText: FlutterI18n.translate( - context, - 'patchesSelectorView.searchBarHint', - ), - onQueryChanged: (searchQuery) { - setState(() { - _query = searchQuery; - }); - }, - ), - ), - ), - ), - SliverToBoxAdapter( - child: model.patches.isEmpty - ? Padding( - padding: const EdgeInsets.all(8.0), - child: Center( - child: I18nText( - 'patchesSelectorView.noPatchesFound', - child: Text( - '', - style: Theme.of(context).textTheme.bodyMedium, - ), - ), - ), - ) - : Padding( - padding: - const EdgeInsets.symmetric(horizontal: 12.0).copyWith( - bottom: MediaQuery.viewPaddingOf(context).bottom + 8.0, - ), - child: Column( - children: [ - Row( - children: [ - ActionChip( - label: I18nText('patchesSelectorView.default'), - tooltip: FlutterI18n.translate( - context, - 'patchesSelectorView.defaultTooltip', - ), - onPressed: () { - if (_managerAPI.isPatchesChangeEnabled()) { - model.selectDefaultPatches(); - } else { - model.showPatchesChangeDialog(context); - } - }, - ), - const SizedBox(width: 8), - ActionChip( - label: I18nText('patchesSelectorView.none'), - tooltip: FlutterI18n.translate( - context, - 'patchesSelectorView.noneTooltip', - ), - onPressed: () { - if (_managerAPI.isPatchesChangeEnabled()) { - model.clearPatches(); - } else { - model.showPatchesChangeDialog(context); - } - }, - ), - ], - ), - ...model.getQueriedPatches(_query).map( - (patch) { - if (patch.compatiblePackages.isNotEmpty) { - return PatchItem( - name: patch.name, - simpleName: patch.getSimpleName(), - description: patch.description, - packageVersion: model.getAppInfo().version, - supportedPackageVersions: - model.getSupportedVersions(patch), - isUnsupported: !isPatchSupported(patch), - isChangeEnabled: _managerAPI.isPatchesChangeEnabled(), - isNew: model.isPatchNew( - patch, - model.getAppInfo().packageName, - ), - isSelected: model.isSelected(patch), - onChanged: (value) => - model.selectPatch(patch, value, context), - ); - } else { - return Container(); - } - }, - ), - if (_managerAPI.areUniversalPatchesEnabled()) - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: const EdgeInsets.symmetric( - vertical: 10.0, - ), - child: I18nText( - 'patchesSelectorView.universalPatches', - ), - ), - ...model.getQueriedPatches(_query).map((patch) { - if (patch.compatiblePackages.isEmpty) { - return PatchItem( - name: patch.name, - simpleName: patch.getSimpleName(), - description: patch.description, - packageVersion: - model.getAppInfo().version, - supportedPackageVersions: - model.getSupportedVersions(patch), - isUnsupported: !isPatchSupported(patch), - isChangeEnabled: _managerAPI.isPatchesChangeEnabled(), - isNew: false, - isSelected: model.isSelected(patch), - onChanged: (value) => model.selectPatch( - patch, - value, - context, - ), - ); - } else { - return Container(); - } - }), - ], - ), - const SizedBox(height: 70.0), - ], - ), - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/views/patches_selector/patches_selector_viewmodel.dart b/lib/ui/views/patches_selector/patches_selector_viewmodel.dart deleted file mode 100644 index 71e4a16e..00000000 --- a/lib/ui/views/patches_selector/patches_selector_viewmodel.dart +++ /dev/null @@ -1,216 +0,0 @@ -import 'package:collection/collection.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/patcher_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:revanced_manager/utils/check_for_supported_patch.dart'; -import 'package:stacked/stacked.dart'; - -class PatchesSelectorViewModel extends BaseViewModel { - final PatcherAPI _patcherAPI = locator<PatcherAPI>(); - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final List<Patch> patches = []; - final List<Patch> selectedPatches = - locator<PatcherViewModel>().selectedPatches; - PatchedApplication? selectedApp = locator<PatcherViewModel>().selectedApp; - String? patchesVersion = ''; - bool isDefaultPatchesRepo() { - return _managerAPI.getPatchesRepo() == 'revanced/revanced-patches'; - } - - Future<void> initialize() async { - getPatchesVersion().whenComplete(() => notifyListeners()); - patches.addAll( - _patcherAPI.getFilteredPatches( - selectedApp!.originalPackageName, - ), - ); - patches.sort((a, b) { - if (isPatchNew(a, selectedApp!.packageName) == - isPatchNew(b, selectedApp!.packageName)) { - return a.name.compareTo(b.name); - } else { - return isPatchNew(b, selectedApp!.packageName) ? 1 : -1; - } - }); - notifyListeners(); - } - - bool isSelected(Patch patch) { - return selectedPatches.any( - (element) => element.name == patch.name, - ); - } - - void selectPatch(Patch patch, bool isSelected, BuildContext context) { - if (_managerAPI.isPatchesChangeEnabled()) { - if (isSelected && !selectedPatches.contains(patch)) { - selectedPatches.add(patch); - } else { - selectedPatches.remove(patch); - } - notifyListeners(); - } else { - showPatchesChangeDialog(context); - } - } - - Future<void> showPatchesChangeDialog(BuildContext context) async { - return showDialog( - context: context, - builder: (context) => AlertDialog( - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - title: I18nText('warning'), - content: I18nText( - 'patchItem.patchesChangeWarningDialogText', - child: const Text( - '', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - ), - actions: [ - CustomMaterialButton( - isFilled: false, - label: I18nText('okButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('patchItem.patchesChangeWarningDialogButton'), - onPressed: () { - Navigator.of(context) - ..pop() - ..pop(); - }, - ), - ], - ), - ); - } - - void selectDefaultPatches() { - selectedPatches.clear(); - if (locator<PatcherViewModel>().selectedApp?.originalPackageName != null) { - selectedPatches.addAll( - _patcherAPI - .getFilteredPatches( - locator<PatcherViewModel>().selectedApp!.originalPackageName, - ) - .where( - (element) => - !element.excluded && - (_managerAPI.areExperimentalPatchesEnabled() || - isPatchSupported(element)), - ), - ); - } - notifyListeners(); - } - - void clearPatches() { - selectedPatches.clear(); - notifyListeners(); - } - - void selectPatches() { - locator<PatcherViewModel>().selectedPatches = selectedPatches; - saveSelectedPatches(); - locator<PatcherViewModel>().notifyListeners(); - } - - Future<void> getPatchesVersion() async { - patchesVersion = await _managerAPI.getCurrentPatchesVersion(); - } - - List<Patch> getQueriedPatches(String query) { - final List<Patch> patch = patches - .where( - (patch) => - query.isEmpty || - query.length < 2 || - patch.name.toLowerCase().contains(query.toLowerCase()) || - patch.getSimpleName().toLowerCase().contains(query.toLowerCase()), - ) - .toList(); - if (_managerAPI.areUniversalPatchesEnabled()) { - return patch; - } else { - return patch - .where((patch) => patch.compatiblePackages.isNotEmpty) - .toList(); - } - } - - PatchedApplication getAppInfo() { - return locator<PatcherViewModel>().selectedApp!; - } - - bool isPatchNew(Patch patch, String packageName) { - final List<Patch> savedPatches = _managerAPI.getSavedPatches(packageName); - if (savedPatches.isEmpty) { - return false; - } else { - return !savedPatches - .any((p) => p.getSimpleName() == patch.getSimpleName()); - } - } - - List<String> getSupportedVersions(Patch patch) { - final PatchedApplication app = locator<PatcherViewModel>().selectedApp!; - final Package? package = patch.compatiblePackages.firstWhereOrNull( - (pack) => pack.name == app.packageName, - ); - if (package != null) { - return package.versions; - } else { - return List.empty(); - } - } - - void onMenuSelection(value, BuildContext context) { - switch (value) { - case 0: - loadSelectedPatches(context); - break; - } - } - - Future<void> saveSelectedPatches() async { - final List<String> selectedPatches = - this.selectedPatches.map((patch) => patch.name).toList(); - await _managerAPI.setSelectedPatches( - locator<PatcherViewModel>().selectedApp!.originalPackageName, - selectedPatches, - ); - } - - Future<void> loadSelectedPatches(BuildContext context) async { - if (_managerAPI.isPatchesChangeEnabled()) { - final List<String> selectedPatches = await _managerAPI.getSelectedPatches( - locator<PatcherViewModel>().selectedApp!.originalPackageName, - ); - if (selectedPatches.isNotEmpty) { - this.selectedPatches.clear(); - this.selectedPatches.addAll( - patches.where((patch) => selectedPatches.contains(patch.name)), - ); - if (!_managerAPI.areExperimentalPatchesEnabled()) { - this.selectedPatches.removeWhere((patch) => !isPatchSupported(patch)); - } - } else { - locator<Toast>().showBottom('patchesSelectorView.noSavedPatches'); - } - notifyListeners(); - } else { - showPatchesChangeDialog(context); - } - } -} diff --git a/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart b/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart deleted file mode 100644 index 964254be..00000000 --- a/lib/ui/views/settings/settingsFragment/settings_manage_api_url.dart +++ /dev/null @@ -1,121 +0,0 @@ -// ignore_for_file: use_build_context_synchronously - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/custom_text_field.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_tile_dialog.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:stacked/stacked.dart'; - -class SManageApiUrl extends BaseViewModel { - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final Toast _toast = locator<Toast>(); - - final TextEditingController _apiUrlController = TextEditingController(); - - Future<void> showApiUrlDialog(BuildContext context) async { - final String apiUrl = _managerAPI.getApiUrl(); - _apiUrlController.text = apiUrl.replaceAll('https://', ''); - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: Row( - children: <Widget>[ - I18nText('settingsView.apiURLLabel'), - const Spacer(), - IconButton( - icon: const Icon(Icons.manage_history_outlined), - onPressed: () => showApiUrlResetDialog(context), - color: Theme.of(context).colorScheme.secondary, - ), - ], - ), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: SingleChildScrollView( - child: Column( - children: <Widget>[ - CustomTextField( - leadingIcon: Icon( - Icons.api_outlined, - color: Theme.of(context).colorScheme.secondary, - ), - inputController: _apiUrlController, - label: I18nText('settingsView.selectApiURL'), - hint: apiUrl, - onChanged: (value) => notifyListeners(), - ), - ], - ), - ), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('cancelButton'), - onPressed: () { - _apiUrlController.clear(); - Navigator.of(context).pop(); - }, - ), - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () { - String apiUrl = _apiUrlController.text; - if (!apiUrl.startsWith('https')) { - apiUrl = 'https://$apiUrl'; - } - _managerAPI.setApiUrl(apiUrl); - Navigator.of(context).pop(); - }, - ), - ], - ), - ); - } - - Future<void> showApiUrlResetDialog(BuildContext context) async { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('settingsView.sourcesResetDialogTitle'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText('settingsView.apiURLResetDialogText'), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () { - _managerAPI.setApiUrl(''); - _toast.showBottom('settingsView.restartAppForChanges'); - Navigator.of(context) - ..pop() - ..pop(); - }, - ), - ], - ), - ); - } -} - -final sManageApiUrl = SManageApiUrl(); - -class SManageApiUrlUI extends StatelessWidget { - const SManageApiUrlUI({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsTileDialog( - padding: const EdgeInsets.symmetric(horizontal: 20.0), - title: 'settingsView.apiURLLabel', - subtitle: 'settingsView.apiURLHint', - onTap: () => sManageApiUrl.showApiUrlDialog(context), - ); - } -} diff --git a/lib/ui/views/settings/settingsFragment/settings_manage_keystore_password.dart b/lib/ui/views/settings/settingsFragment/settings_manage_keystore_password.dart deleted file mode 100644 index 4ac4689b..00000000 --- a/lib/ui/views/settings/settingsFragment/settings_manage_keystore_password.dart +++ /dev/null @@ -1,86 +0,0 @@ -// ignore_for_file: use_build_context_synchronously - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/custom_text_field.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_tile_dialog.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:stacked/stacked.dart'; - -class SManageKeystorePassword extends BaseViewModel { - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - - final TextEditingController _keystorePasswordController = - TextEditingController(); - - Future<void> showKeystoreDialog(BuildContext context) async { - final String keystorePasswordText = _managerAPI.getKeystorePassword(); - _keystorePasswordController.text = keystorePasswordText; - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: Row( - children: <Widget>[ - I18nText('settingsView.selectKeystorePassword'), - const Spacer(), - IconButton( - icon: const Icon(Icons.manage_history_outlined), - onPressed: () => _keystorePasswordController.text = - _managerAPI.defaultKeystorePassword, - color: Theme.of(context).colorScheme.secondary, - ), - ], - ), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: SingleChildScrollView( - child: Column( - children: <Widget>[ - CustomTextField( - inputController: _keystorePasswordController, - label: I18nText('settingsView.selectKeystorePassword'), - hint: '', - onChanged: (value) => notifyListeners(), - ), - ], - ), - ), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('cancelButton'), - onPressed: () { - _keystorePasswordController.clear(); - Navigator.of(context).pop(); - }, - ), - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () { - final String passwd = _keystorePasswordController.text; - _managerAPI.setKeystorePassword(passwd); - Navigator.of(context).pop(); - }, - ), - ], - ), - ); - } -} - -final sManageKeystorePassword = SManageKeystorePassword(); - -class SManageKeystorePasswordUI extends StatelessWidget { - const SManageKeystorePasswordUI({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsTileDialog( - padding: const EdgeInsets.symmetric(horizontal: 20.0), - title: 'settingsView.selectKeystorePassword', - subtitle: 'settingsView.selectKeystorePasswordHint', - onTap: () => sManageKeystorePassword.showKeystoreDialog(context), - ); - } -} diff --git a/lib/ui/views/settings/settingsFragment/settings_manage_sources.dart b/lib/ui/views/settings/settingsFragment/settings_manage_sources.dart deleted file mode 100644 index 76e3171b..00000000 --- a/lib/ui/views/settings/settingsFragment/settings_manage_sources.dart +++ /dev/null @@ -1,189 +0,0 @@ -// ignore_for_file: use_build_context_synchronously - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/custom_text_field.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_tile_dialog.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:stacked/stacked.dart'; - -class SManageSources extends BaseViewModel { - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final Toast _toast = locator<Toast>(); - - final TextEditingController _hostSourceController = TextEditingController(); - final TextEditingController _orgPatSourceController = TextEditingController(); - final TextEditingController _patSourceController = TextEditingController(); - final TextEditingController _orgIntSourceController = TextEditingController(); - final TextEditingController _intSourceController = TextEditingController(); - - Future<void> showSourcesDialog(BuildContext context) async { - final String hostRepository = _managerAPI.getRepoUrl(); - final String patchesRepo = _managerAPI.getPatchesRepo(); - final String integrationsRepo = _managerAPI.getIntegrationsRepo(); - _hostSourceController.text = hostRepository; - _orgPatSourceController.text = patchesRepo.split('/')[0]; - _patSourceController.text = patchesRepo.split('/')[1]; - _orgIntSourceController.text = integrationsRepo.split('/')[0]; - _intSourceController.text = integrationsRepo.split('/')[1]; - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: Row( - children: <Widget>[ - I18nText('settingsView.sourcesLabel'), - const Spacer(), - IconButton( - icon: const Icon(Icons.manage_history_outlined), - onPressed: () => showResetConfirmationDialog(context), - color: Theme.of(context).colorScheme.secondary, - ), - ], - ), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: SingleChildScrollView( - child: Column( - children: <Widget>[ - CustomTextField( - leadingIcon: const Icon( - Icons.extension_outlined, - color: Colors.transparent, - ), - inputController: _hostSourceController, - label: I18nText('settingsView.hostRepositoryLabel'), - hint: hostRepository, - onChanged: (value) => notifyListeners(), - ), - const SizedBox(height: 20), - CustomTextField( - leadingIcon: Icon( - Icons.extension_outlined, - color: Theme.of(context).colorScheme.secondary, - ), - inputController: _orgPatSourceController, - label: I18nText('settingsView.orgPatchesLabel'), - hint: patchesRepo.split('/')[0], - onChanged: (value) => notifyListeners(), - ), - const SizedBox(height: 8), - CustomTextField( - leadingIcon: const Icon( - Icons.extension_outlined, - color: Colors.transparent, - ), - inputController: _patSourceController, - label: I18nText('settingsView.sourcesPatchesLabel'), - hint: patchesRepo.split('/')[1], - onChanged: (value) => notifyListeners(), - ), - const SizedBox(height: 20), - CustomTextField( - leadingIcon: Icon( - Icons.merge_outlined, - color: Theme.of(context).colorScheme.secondary, - ), - inputController: _orgIntSourceController, - label: I18nText('settingsView.orgIntegrationsLabel'), - hint: integrationsRepo.split('/')[0], - onChanged: (value) => notifyListeners(), - ), - const SizedBox(height: 8), - CustomTextField( - leadingIcon: const Icon( - Icons.merge_outlined, - color: Colors.transparent, - ), - inputController: _intSourceController, - label: I18nText('settingsView.sourcesIntegrationsLabel'), - hint: integrationsRepo.split('/')[1], - onChanged: (value) => notifyListeners(), - ), - const SizedBox(height: 20), - I18nText('settingsView.sourcesUpdateNote'), - ], - ), - ), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('cancelButton'), - onPressed: () { - _orgPatSourceController.clear(); - _patSourceController.clear(); - _orgIntSourceController.clear(); - _intSourceController.clear(); - Navigator.of(context).pop(); - }, - ), - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () { - _managerAPI.setRepoUrl(_hostSourceController.text.trim()); - _managerAPI.setPatchesRepo( - '${_orgPatSourceController.text.trim()}/${_patSourceController.text.trim()}', - ); - _managerAPI.setIntegrationsRepo( - '${_orgIntSourceController.text.trim()}/${_intSourceController.text.trim()}', - ); - _managerAPI.setCurrentPatchesVersion('0.0.0'); - _managerAPI.setCurrentIntegrationsVersion('0.0.0'); - _toast.showBottom('settingsView.restartAppForChanges'); - Navigator.of(context).pop(); - }, - ), - ], - ), - ); - } - - Future<void> showResetConfirmationDialog(BuildContext context) async { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('settingsView.sourcesResetDialogTitle'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText('settingsView.sourcesResetDialogText'), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () { - _managerAPI.setRepoUrl(''); - _managerAPI.setPatchesRepo(''); - _managerAPI.setIntegrationsRepo(''); - _managerAPI.setCurrentPatchesVersion('0.0.0'); - _managerAPI.setCurrentIntegrationsVersion('0.0.0'); - _toast.showBottom('settingsView.restartAppForChanges'); - Navigator.of(context) - ..pop() - ..pop(); - }, - ), - ], - ), - ); - } -} - -final sManageSources = SManageSources(); - -class SManageSourcesUI extends StatelessWidget { - const SManageSourcesUI({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsTileDialog( - padding: const EdgeInsets.symmetric(horizontal: 20.0), - title: 'settingsView.sourcesLabel', - subtitle: 'settingsView.sourcesLabelHint', - onTap: () => sManageSources.showSourcesDialog(context), - ); - } -} diff --git a/lib/ui/views/settings/settingsFragment/settings_update_language.dart b/lib/ui/views/settings/settingsFragment/settings_update_language.dart deleted file mode 100644 index 66bb2c3e..00000000 --- a/lib/ui/views/settings/settingsFragment/settings_update_language.dart +++ /dev/null @@ -1,95 +0,0 @@ -// ignore_for_file: use_build_context_synchronously - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/main.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/navigation/navigation_viewmodel.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_tile_dialog.dart'; -import 'package:shared_preferences/shared_preferences.dart'; -import 'package:stacked/stacked.dart'; -import 'package:timeago/timeago.dart' as timeago; - -final _settingViewModel = SettingsViewModel(); - -class SUpdateLanguage extends BaseViewModel { - final Toast _toast = locator<Toast>(); - late SharedPreferences _prefs; - String selectedLanguage = 'English'; - String selectedLanguageLocale = prefs.getString('language') ?? 'en_US'; - List languages = []; - - Future<void> initialize() async { - _prefs = await SharedPreferences.getInstance(); - selectedLanguageLocale = - _prefs.getString('language') ?? selectedLanguageLocale; - notifyListeners(); - } - - Future<void> updateLanguage(BuildContext context, String? value) async { - if (value != null) { - selectedLanguageLocale = value; - _prefs = await SharedPreferences.getInstance(); - await _prefs.setString('language', value); - await FlutterI18n.refresh(context, Locale(value)); - timeago.setLocaleMessages(value, timeago.EnMessages()); - locator<NavigationViewModel>().notifyListeners(); - notifyListeners(); - } - } - - Future<void> initLang() async { - languages.sort((a, b) => a['name'].compareTo(b['name'])); - notifyListeners(); - } - - Future<void> showLanguagesDialog(BuildContext parentContext) { - initLang(); - return showDialog( - context: parentContext, - builder: (context) => SimpleDialog( - title: I18nText('settingsView.languageLabel'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - children: [ - SizedBox( - height: 500, - child: ListView.builder( - itemCount: languages.length, - itemBuilder: (context, index) { - return RadioListTile<String>( - title: Text(languages[index]['name']), - subtitle: Text(languages[index]['locale']), - value: languages[index]['locale'], - groupValue: selectedLanguageLocale, - onChanged: (value) { - selectedLanguage = languages[index]['name']; - _toast.showBottom('settingsView.restartAppForChanges'); - updateLanguage(context, value); - Navigator.pop(context); - }, - ); - }, - ), - ), - ], - ), - ); - } -} - -class SUpdateLanguageUI extends StatelessWidget { - const SUpdateLanguageUI({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsTileDialog( - padding: const EdgeInsets.symmetric(horizontal: 20.0), - title: 'settingsView.languageLabel', - subtitle: _settingViewModel.sUpdateLanguage.selectedLanguage, - onTap: () => - _settingViewModel.sUpdateLanguage.showLanguagesDialog(context), - ); - } -} diff --git a/lib/ui/views/settings/settingsFragment/settings_update_theme.dart b/lib/ui/views/settings/settingsFragment/settings_update_theme.dart deleted file mode 100644 index 684abc96..00000000 --- a/lib/ui/views/settings/settingsFragment/settings_update_theme.dart +++ /dev/null @@ -1,116 +0,0 @@ -// ignore_for_file: use_build_context_synchronously - -import 'package:dynamic_themes/dynamic_themes.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_section.dart'; -import 'package:stacked/stacked.dart'; - -final _settingViewModel = SettingsViewModel(); - -// ignore: constant_identifier_names -const int ANDROID_12_SDK_VERSION = 31; - -class SUpdateTheme extends BaseViewModel { - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - - bool getDynamicThemeStatus() { - return _managerAPI.getUseDynamicTheme(); - } - - Future<void> setUseDynamicTheme(BuildContext context, bool value) async { - await _managerAPI.setUseDynamicTheme(value); - final int currentTheme = DynamicTheme.of(context)!.themeId; - if (currentTheme.isEven) { - await DynamicTheme.of(context)!.setTheme(value ? 2 : 0); - } else { - await DynamicTheme.of(context)!.setTheme(value ? 3 : 1); - } - notifyListeners(); - } - - bool getDarkThemeStatus() { - return _managerAPI.getUseDarkTheme(); - } - - Future<void> setUseDarkTheme(BuildContext context, bool value) async { - await _managerAPI.setUseDarkTheme(value); - final int currentTheme = DynamicTheme.of(context)!.themeId; - if (currentTheme < 2) { - await DynamicTheme.of(context)!.setTheme(value ? 1 : 0); - } else { - await DynamicTheme.of(context)!.setTheme(value ? 3 : 2); - } - SystemChrome.setSystemUIOverlayStyle( - SystemUiOverlayStyle( - systemNavigationBarIconBrightness: - value ? Brightness.light : Brightness.dark, - ), - ); - notifyListeners(); - } -} - -class SUpdateThemeUI extends StatelessWidget { - const SUpdateThemeUI({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsSection( - title: 'settingsView.appearanceSectionTitle', - children: <Widget>[ - SwitchListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.darkThemeLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.darkThemeHint'), - value: SUpdateTheme().getDarkThemeStatus(), - onChanged: (value) => SUpdateTheme().setUseDarkTheme( - context, - value, - ), - ), - FutureBuilder<int>( - future: _settingViewModel.getSdkVersion(), - builder: (context, snapshot) => Visibility( - visible: - snapshot.hasData && snapshot.data! >= ANDROID_12_SDK_VERSION, - child: SwitchListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.dynamicThemeLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.dynamicThemeHint'), - value: _settingViewModel.sUpdateTheme.getDynamicThemeStatus(), - onChanged: (value) => { - _settingViewModel.sUpdateTheme.setUseDynamicTheme( - context, - value, - ), - }, - ), - ), - ), - ], - ); - } -} diff --git a/lib/ui/views/settings/settings_view.dart b/lib/ui/views/settings/settings_view.dart deleted file mode 100644 index e1002b40..00000000 --- a/lib/ui/views/settings/settings_view.dart +++ /dev/null @@ -1,61 +0,0 @@ -// ignore_for_file: prefer_const_constructors - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_update_theme.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_advanced_section.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_export_section.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_info_section.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_team_section.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_sliver_app_bar.dart'; -import 'package:stacked/stacked.dart'; - -class SettingsView extends StatelessWidget { - const SettingsView({Key? key}) : super(key: key); - - static const _settingsDivider = - Divider(thickness: 1.0, indent: 20.0, endIndent: 20.0); - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<SettingsViewModel>.reactive( - viewModelBuilder: () => SettingsViewModel(), - builder: (context, model, child) => Scaffold( - body: CustomScrollView( - slivers: <Widget>[ - CustomSliverAppBar( - isMainView: true, - title: I18nText( - 'settingsView.widgetTitle', - child: Text( - '', - style: GoogleFonts.inter( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - ), - SliverList( - delegate: SliverChildListDelegate.fixed( - <Widget>[ - SUpdateThemeUI(), - // SUpdateLanguageUI(), - // _settingsDivider, - STeamSection(), - _settingsDivider, - SAdvancedSection(), - _settingsDivider, - SExportSection(), - _settingsDivider, - SInfoSection(), - ], - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/views/settings/settings_viewmodel.dart b/lib/ui/views/settings/settings_viewmodel.dart deleted file mode 100644 index 2441b0a6..00000000 --- a/lib/ui/views/settings/settings_viewmodel.dart +++ /dev/null @@ -1,284 +0,0 @@ -import 'dart:io'; -import 'package:cr_file_saver/file_saver.dart'; -import 'package:device_info_plus/device_info_plus.dart'; -import 'package:file_picker/file_picker.dart'; -import 'package:flutter/foundation.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:logcat/logcat.dart'; -import 'package:path_provider/path_provider.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/app/app.router.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/views/patches_selector/patches_selector_viewmodel.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_update_language.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_update_theme.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:share_extend/share_extend.dart'; -import 'package:stacked/stacked.dart'; -import 'package:stacked_services/stacked_services.dart'; - -class SettingsViewModel extends BaseViewModel { - final NavigationService _navigationService = locator<NavigationService>(); - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final PatchesSelectorViewModel _patchesSelectorViewModel = - PatchesSelectorViewModel(); - final PatcherViewModel _patcherViewModel = locator<PatcherViewModel>(); - final Toast _toast = locator<Toast>(); - - final SUpdateLanguage sUpdateLanguage = SUpdateLanguage(); - final SUpdateTheme sUpdateTheme = SUpdateTheme(); - - void navigateToContributors() { - _navigationService.navigateTo(Routes.contributorsView); - } - - bool isPatchesAutoUpdate() { - return _managerAPI.isPatchesAutoUpdate(); - } - - void setPatchesAutoUpdate(bool value) { - _managerAPI.setPatchesAutoUpdate(value); - notifyListeners(); - } - - bool isPatchesChangeEnabled() { - return _managerAPI.isPatchesChangeEnabled(); - } - - Future<void> showPatchesChangeEnableDialog( - bool value, - BuildContext context, - ) async { - if (value) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - title: I18nText('warning'), - content: I18nText( - 'settingsView.enablePatchesSelectionWarningText', - child: const Text( - '', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - ), - actions: [ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () { - Navigator.of(context).pop(); - }, - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () { - _managerAPI.setChangingToggleModified(true); - _managerAPI.setPatchesChangeEnabled(true); - Navigator.of(context).pop(); - }, - ), - ], - ), - ); - } else { - return showDialog( - context: context, - builder: (context) => AlertDialog( - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - title: I18nText('warning'), - content: I18nText( - 'settingsView.disablePatchesSelectionWarningText', - child: const Text( - '', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - ), - actions: [ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () { - Navigator.of(context).pop(); - }, - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () { - _managerAPI.setChangingToggleModified(true); - _patchesSelectorViewModel.selectDefaultPatches(); - _managerAPI.setPatchesChangeEnabled(false); - Navigator.of(context).pop(); - }, - ), - ], - ), - ); - } - } - - bool areUniversalPatchesEnabled() { - return _managerAPI.areUniversalPatchesEnabled(); - } - - void showUniversalPatches(bool value) { - _managerAPI.enableUniversalPatchesStatus(value); - notifyListeners(); - } - - bool areExperimentalPatchesEnabled() { - return _managerAPI.areExperimentalPatchesEnabled(); - } - - void useExperimentalPatches(bool value) { - _managerAPI.enableExperimentalPatchesStatus(value); - notifyListeners(); - } - - void deleteKeystore() { - _managerAPI.deleteKeystore(); - _toast.showBottom('settingsView.regeneratedKeystore'); - notifyListeners(); - } - - void deleteTempDir() { - _managerAPI.deleteTempFolder(); - _toast.showBottom('settingsView.deletedTempDir'); - notifyListeners(); - } - - Future<void> exportPatches() async { - try { - final File outFile = File(_managerAPI.storedPatchesFile); - if (outFile.existsSync()) { - final String dateTime = - DateTime.now().toString().replaceAll(' ', '_').split('.').first; - await CRFileSaver.saveFileWithDialog( - SaveFileDialogParams( - sourceFilePath: outFile.path, - destinationFileName: 'selected_patches_$dateTime.json', - ), - ); - _toast.showBottom('settingsView.exportedPatches'); - } else { - _toast.showBottom('settingsView.noExportFileFound'); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<void> importPatches(BuildContext context) async { - if (isPatchesChangeEnabled()) { - try { - final FilePickerResult? result = await FilePicker.platform.pickFiles( - type: FileType.custom, - allowedExtensions: ['json'], - ); - if (result != null && result.files.single.path != null) { - final File inFile = File(result.files.single.path!); - inFile.copySync(_managerAPI.storedPatchesFile); - inFile.delete(); - if (_patcherViewModel.selectedApp != null) { - _patcherViewModel.loadLastSelectedPatches(); - } - _toast.showBottom('settingsView.importedPatches'); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - _toast.showBottom('settingsView.jsonSelectorErrorMessage'); - } - } else { - _managerAPI.showPatchesChangeWarningDialog(context); - } - } - - Future<void> exportKeystore() async { - try { - final File outFile = File(_managerAPI.keystoreFile); - if (outFile.existsSync()) { - final String dateTime = - DateTime.now().toString().replaceAll(' ', '_').split('.').first; - await CRFileSaver.saveFileWithDialog( - SaveFileDialogParams( - sourceFilePath: outFile.path, - destinationFileName: 'keystore_$dateTime.keystore', - ), - ); - _toast.showBottom('settingsView.exportedKeystore'); - } else { - _toast.showBottom('settingsView.noKeystoreExportFileFound'); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - } - } - - Future<void> importKeystore() async { - try { - final FilePickerResult? result = await FilePicker.platform.pickFiles(); - if (result != null && result.files.single.path != null) { - final File inFile = File(result.files.single.path!); - inFile.copySync(_managerAPI.keystoreFile); - - _toast.showBottom('settingsView.importedKeystore'); - } - } on Exception catch (e) { - if (kDebugMode) { - print(e); - } - _toast.showBottom('settingsView.keystoreSelectorErrorMessage'); - } - } - - void resetSelectedPatches() { - _managerAPI.resetLastSelectedPatches(); - _toast.showBottom('settingsView.resetStoredPatches'); - } - - Future<int> getSdkVersion() async { - final AndroidDeviceInfo info = await DeviceInfoPlugin().androidInfo; - return info.version.sdkInt; - } - - Future<void> deleteLogs() async { - final Directory appCacheDir = await getTemporaryDirectory(); - final Directory logsDir = Directory('${appCacheDir.path}/logs'); - if (logsDir.existsSync()) { - logsDir.deleteSync(recursive: true); - } - _toast.showBottom('settingsView.deletedLogs'); - } - - Future<void> exportLogcatLogs() async { - final Directory appCache = await getTemporaryDirectory(); - final Directory logDir = Directory('${appCache.path}/logs'); - logDir.createSync(); - final String dateTime = DateTime.now() - .toIso8601String() - .replaceAll('-', '') - .replaceAll(':', '') - .replaceAll('T', '') - .replaceAll('.', ''); - final File logcat = - File('${logDir.path}/revanced-manager_logcat_$dateTime.log'); - final String logs = await Logcat.execute(); - logcat.writeAsStringSync(logs); - ShareExtend.share(logcat.path, 'file'); - } -} diff --git a/lib/ui/widgets/appInfoView/app_info_view.dart b/lib/ui/widgets/appInfoView/app_info_view.dart deleted file mode 100644 index 2d0f17e1..00000000 --- a/lib/ui/widgets/appInfoView/app_info_view.dart +++ /dev/null @@ -1,311 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:google_fonts/google_fonts.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/ui/widgets/appInfoView/app_info_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_sliver_app_bar.dart'; -import 'package:stacked/stacked.dart'; - -class AppInfoView extends StatelessWidget { - const AppInfoView({ - Key? key, - required this.app, - }) : super(key: key); - final PatchedApplication app; - - @override - Widget build(BuildContext context) { - return ViewModelBuilder<AppInfoViewModel>.reactive( - viewModelBuilder: () => AppInfoViewModel(), - builder: (context, model, child) => Scaffold( - body: CustomScrollView( - slivers: <Widget>[ - CustomSliverAppBar( - title: I18nText( - 'appInfoView.widgetTitle', - child: Text( - '', - style: GoogleFonts.inter( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - ), - SliverPadding( - padding: const EdgeInsets.symmetric(vertical: 20.0), - sliver: SliverList( - delegate: SliverChildListDelegate.fixed( - <Widget>[ - SizedBox( - height: 64.0, - child: CircleAvatar( - backgroundColor: Colors.transparent, - child: Image.memory( - app.icon, - fit: BoxFit.cover, - ), - ), - ), - const SizedBox(height: 20), - Text( - app.name, - textAlign: TextAlign.center, - style: Theme.of(context).textTheme.titleLarge, - ), - const SizedBox(height: 4), - Text( - app.version, - textAlign: TextAlign.center, - style: Theme.of(context).textTheme.titleLarge, - ), - const SizedBox(height: 20), - Padding( - padding: const EdgeInsets.symmetric(horizontal: 20.0), - child: CustomCard( - padding: EdgeInsets.zero, - child: SizedBox( - height: 94.0, - child: Row( - mainAxisAlignment: MainAxisAlignment.center, - children: <Widget>[ - Expanded( - child: Material( - type: MaterialType.transparency, - child: InkWell( - borderRadius: BorderRadius.circular(16.0), - onTap: () => model.openApp(app), - child: Column( - mainAxisAlignment: - MainAxisAlignment.center, - children: <Widget>[ - Icon( - Icons.open_in_new_outlined, - color: Theme.of(context) - .colorScheme - .primary, - ), - const SizedBox(height: 10), - I18nText( - 'appInfoView.openButton', - child: Text( - '', - style: TextStyle( - color: Theme.of(context) - .colorScheme - .primary, - fontWeight: FontWeight.bold, - ), - ), - ), - ], - ), - ), - ), - ), - VerticalDivider( - color: Theme.of(context).canvasColor, - indent: 12.0, - endIndent: 12.0, - width: 1.0, - ), - Expanded( - child: Material( - type: MaterialType.transparency, - child: InkWell( - borderRadius: BorderRadius.circular(16.0), - onTap: () => model.showUninstallDialog( - context, - app, - false, - ), - child: Column( - mainAxisAlignment: - MainAxisAlignment.center, - children: <Widget>[ - Icon( - Icons.delete_outline, - color: Theme.of(context) - .colorScheme - .primary, - ), - const SizedBox(height: 10), - I18nText( - 'appInfoView.uninstallButton', - child: Text( - '', - style: TextStyle( - color: Theme.of(context) - .colorScheme - .primary, - fontWeight: FontWeight.bold, - ), - ), - ), - ], - ), - ), - ), - ), - VerticalDivider( - color: Theme.of(context).canvasColor, - indent: 12.0, - endIndent: 12.0, - width: 1.0, - ), - if (app.isRooted) - VerticalDivider( - color: Theme.of(context).canvasColor, - indent: 12.0, - endIndent: 12.0, - width: 1.0, - ), - if (app.isRooted) - Expanded( - child: Material( - type: MaterialType.transparency, - child: InkWell( - borderRadius: BorderRadius.circular(16.0), - onTap: () => model.showUninstallDialog( - context, - app, - true, - ), - child: Column( - mainAxisAlignment: - MainAxisAlignment.center, - children: <Widget>[ - Icon( - Icons - .settings_backup_restore_outlined, - color: Theme.of(context) - .colorScheme - .primary, - ), - const SizedBox(height: 10), - I18nText( - 'appInfoView.unpatchButton', - child: Text( - '', - style: TextStyle( - color: Theme.of(context) - .colorScheme - .primary, - fontWeight: FontWeight.bold, - ), - ), - ), - ], - ), - ), - ), - ), - ], - ), - ), - ), - ), - const SizedBox(height: 20), - ListTile( - contentPadding: - const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'appInfoView.packageNameLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: Text(app.packageName), - ), - const SizedBox(height: 4), - ListTile( - contentPadding: - const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'appInfoView.originalPackageNameLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: Text(app.originalPackageName), - ), - const SizedBox(height: 4), - ListTile( - contentPadding: - const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'appInfoView.installTypeLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: app.isRooted - ? I18nText('appInfoView.rootTypeLabel') - : I18nText('appInfoView.nonRootTypeLabel'), - ), - const SizedBox(height: 4), - ListTile( - contentPadding: - const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'appInfoView.patchedDateLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText( - 'appInfoView.patchedDateHint', - translationParams: { - 'date': model.getPrettyDate(context, app.patchDate), - 'time': model.getPrettyTime(context, app.patchDate), - }, - ), - ), - const SizedBox(height: 4), - ListTile( - contentPadding: - const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'appInfoView.appliedPatchesLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText( - 'appInfoView.appliedPatchesHint', - translationParams: { - 'quantity': app.appliedPatches.length.toString(), - }, - ), - onTap: () => model.showAppliedPatchesDialog(context, app), - ), - ], - ), - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/widgets/appInfoView/app_info_viewmodel.dart b/lib/ui/widgets/appInfoView/app_info_viewmodel.dart deleted file mode 100644 index dd364c7d..00000000 --- a/lib/ui/widgets/appInfoView/app_info_viewmodel.dart +++ /dev/null @@ -1,166 +0,0 @@ -// ignore_for_file: use_build_context_synchronously -import 'package:device_apps/device_apps.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:intl/intl.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/patcher_api.dart'; -import 'package:revanced_manager/services/root_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; -import 'package:revanced_manager/ui/views/navigation/navigation_viewmodel.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:revanced_manager/utils/string.dart'; -import 'package:stacked/stacked.dart'; - -class AppInfoViewModel extends BaseViewModel { - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - final PatcherAPI _patcherAPI = locator<PatcherAPI>(); - final RootAPI _rootAPI = RootAPI(); - final Toast _toast = locator<Toast>(); - - Future<void> uninstallApp( - BuildContext context, - PatchedApplication app, - bool onlyUnpatch, - ) async { - bool isUninstalled = true; - if (app.isRooted) { - final bool hasRootPermissions = await _rootAPI.hasRootPermissions(); - if (hasRootPermissions) { - await _rootAPI.deleteApp(app.packageName, app.apkFilePath); - if (!onlyUnpatch) { - await DeviceApps.uninstallApp(app.packageName); - } - } - } else { - isUninstalled = await DeviceApps.uninstallApp(app.packageName); - } - if (isUninstalled) { - await _managerAPI.deletePatchedApp(app); - locator<HomeViewModel>().initialize(context); - } - } - - Future<void> navigateToPatcher(PatchedApplication app) async { - locator<PatcherViewModel>().selectedApp = app; - locator<PatcherViewModel>().selectedPatches = - await _patcherAPI.getAppliedPatches(app.appliedPatches); - locator<PatcherViewModel>().notifyListeners(); - locator<NavigationViewModel>().setIndex(1); - } - - void updateNotImplemented(BuildContext context) { - _toast.showBottom('appInfoView.updateNotImplemented'); - } - - Future<void> showUninstallDialog( - BuildContext context, - PatchedApplication app, - bool onlyUnpatch, - ) async { - final bool hasRootPermissions = await _rootAPI.hasRootPermissions(); - if (app.isRooted && !hasRootPermissions) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('appInfoView.rootDialogTitle'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText('appInfoView.rootDialogText'), - actions: <Widget>[ - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), - ); - } else { - if (onlyUnpatch) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText( - 'appInfoView.unpatchButton', - ), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText( - 'appInfoView.unpatchDialogText', - ), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () { - uninstallApp(context, app, onlyUnpatch); - Navigator.of(context).pop(); - Navigator.of(context).pop(); - }, - ), - ], - ), - ); - } else { - uninstallApp(context, app, onlyUnpatch); - Navigator.of(context).pop(); - } - } - } - - String getPrettyDate(BuildContext context, DateTime dateTime) { - return DateFormat.yMMMMd(Localizations.localeOf(context).languageCode) - .format(dateTime); - } - - String getPrettyTime(BuildContext context, DateTime dateTime) { - return DateFormat.jm(Localizations.localeOf(context).languageCode) - .format(dateTime); - } - - Future<void> showAppliedPatchesDialog( - BuildContext context, - PatchedApplication app, - ) async { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('appInfoView.appliedPatchesLabel'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: SingleChildScrollView( - child: Text(getAppliedPatchesString(app.appliedPatches)), - ), - actions: <Widget>[ - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), - ); - } - - String getAppliedPatchesString(List<String> appliedPatches) { - final List<String> names = appliedPatches - .map( - (p) => p - .replaceAll('-', ' ') - .split('-') - .join(' ') - .toTitleCase() - .replaceFirst('Microg', 'MicroG'), - ) - .toList(); - return '\u2022 ${names.join('\n\u2022 ')}'; - } - - void openApp(PatchedApplication app) { - DeviceApps.openApp(app.packageName); - } -} diff --git a/lib/ui/widgets/appSelectorView/app_skeleton_loader.dart b/lib/ui/widgets/appSelectorView/app_skeleton_loader.dart deleted file mode 100644 index 0cb80428..00000000 --- a/lib/ui/widgets/appSelectorView/app_skeleton_loader.dart +++ /dev/null @@ -1,74 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; -import 'package:skeletons/skeletons.dart'; - -class AppSkeletonLoader extends StatelessWidget { - const AppSkeletonLoader({Key? key}) : super(key: key); - - @override - Widget build(BuildContext context) { - final screenWidth = MediaQuery.sizeOf(context).width; - return ListView.builder( - shrinkWrap: true, - itemCount: 7, - padding: EdgeInsets.zero, - itemBuilder: (context, index) => Padding( - padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 12.0), - child: CustomCard( - child: Row( - children: [ - SkeletonAvatar( - style: SkeletonAvatarStyle( - width: screenWidth * 0.10, - height: screenWidth * 0.10, - borderRadius: const BorderRadius.all(Radius.circular(12)), - ), - ), - const SizedBox(width: 16), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - SizedBox( - width: screenWidth * 0.4, - child: SkeletonLine( - style: SkeletonLineStyle( - height: 20, - width: screenWidth * 0.4, - borderRadius: - const BorderRadius.all(Radius.circular(10)), - ), - ), - ), - const SizedBox(height: 12), - SizedBox( - width: screenWidth * 0.6, - child: SkeletonLine( - style: SkeletonLineStyle( - height: 15, - width: screenWidth * 0.6, - borderRadius: - const BorderRadius.all(Radius.circular(10)), - ), - ), - ), - const SizedBox(height: 5), - SizedBox( - width: screenWidth * 0.5, - child: SkeletonLine( - style: SkeletonLineStyle( - height: 15, - width: screenWidth * 0.5, - borderRadius: - const BorderRadius.all(Radius.circular(10)), - ), - ), - ), - ], - ), - ], - ), - ), - ), - ); - } -} diff --git a/lib/ui/widgets/appSelectorView/installed_app_item.dart b/lib/ui/widgets/appSelectorView/installed_app_item.dart deleted file mode 100644 index ae129cbf..00000000 --- a/lib/ui/widgets/appSelectorView/installed_app_item.dart +++ /dev/null @@ -1,107 +0,0 @@ -import 'dart:typed_data'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; - -class InstalledAppItem extends StatefulWidget { - const InstalledAppItem({ - Key? key, - required this.name, - required this.pkgName, - required this.icon, - required this.patchesCount, - required this.suggestedVersion, - required this.installedVersion, - this.onTap, - }) : super(key: key); - final String name; - final String pkgName; - final Uint8List icon; - final int patchesCount; - final String suggestedVersion; - final String installedVersion; - final Function()? onTap; - - @override - State<InstalledAppItem> createState() => _InstalledAppItemState(); -} - -class _InstalledAppItemState extends State<InstalledAppItem> { - @override - Widget build(BuildContext context) { - return Padding( - padding: const EdgeInsets.symmetric(vertical: 4.0), - child: CustomCard( - onTap: widget.onTap, - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: <Widget>[ - Container( - width: 48, - height: 48, - padding: const EdgeInsets.symmetric(vertical: 4.0), - alignment: Alignment.center, - child: CircleAvatar( - backgroundColor: Colors.transparent, - child: Image.memory(widget.icon), - ), - ), - const SizedBox(width: 12), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Text( - widget.name, - maxLines: 2, - overflow: TextOverflow.visible, - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - Text(widget.pkgName), - I18nText( - FlutterI18n.translate( - context, - 'installed', - translationParams: { - 'version': 'v${widget.installedVersion}', - }, - ), - ), - Wrap( - children: [ - I18nText( - 'suggested', - translationParams: { - 'version': widget.suggestedVersion.isEmpty - ? FlutterI18n.translate( - context, - 'appSelectorCard.allVersions', - ) - : 'v${widget.suggestedVersion}', - }, - ), - const SizedBox(width: 4), - Text( - widget.patchesCount == 1 - ? '• ${widget.patchesCount} patch' - : '• ${widget.patchesCount} patches', - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: TextStyle( - color: Theme.of(context).colorScheme.secondary, - ), - ), - ], - ), - ], - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/widgets/appSelectorView/not_installed_app_item.dart b/lib/ui/widgets/appSelectorView/not_installed_app_item.dart deleted file mode 100644 index c2f3f52e..00000000 --- a/lib/ui/widgets/appSelectorView/not_installed_app_item.dart +++ /dev/null @@ -1,101 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; - -class NotInstalledAppItem extends StatefulWidget { - const NotInstalledAppItem({ - Key? key, - required this.name, - required this.patchesCount, - required this.suggestedVersion, - this.onTap, - }) : super(key: key); - final String name; - final int patchesCount; - final String suggestedVersion; - final Function()? onTap; - - @override - State<NotInstalledAppItem> createState() => _NotInstalledAppItem(); -} - -class _NotInstalledAppItem extends State<NotInstalledAppItem> { - @override - Widget build(BuildContext context) { - return Padding( - padding: const EdgeInsets.symmetric(vertical: 4.0), - child: CustomCard( - onTap: widget.onTap, - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: <Widget>[ - Container( - height: 48, - padding: const EdgeInsets.symmetric(vertical: 4.0), - alignment: Alignment.center, - child: const CircleAvatar( - backgroundColor: Colors.transparent, - child: Icon( - Icons.square_rounded, - color: Colors.grey, - size: 44, - ), - ), - ), - const SizedBox(width: 12), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Text( - widget.name, - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - const SizedBox(height: 4), - I18nText( - 'appSelectorCard.notInstalled', - child: Text( - '', - style: TextStyle( - color: Theme.of(context).textTheme.titleLarge!.color, - ), - ), - ), - Wrap( - children: [ - I18nText( - 'suggested', - translationParams: { - 'version': widget.suggestedVersion.isEmpty - ? FlutterI18n.translate( - context, - 'appSelectorCard.allVersions', - ) - : 'v${widget.suggestedVersion}', - }, - ), - const SizedBox(width: 4), - Text( - widget.patchesCount == 1 - ? '• ${widget.patchesCount} patch' - : '• ${widget.patchesCount} patches', - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: TextStyle( - color: Theme.of(context).colorScheme.secondary, - ), - ), - ], - ), - ], - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/widgets/contributorsView/contributors_card.dart b/lib/ui/widgets/contributorsView/contributors_card.dart deleted file mode 100644 index 574699a8..00000000 --- a/lib/ui/widgets/contributorsView/contributors_card.dart +++ /dev/null @@ -1,77 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_cache_manager/file.dart'; -import 'package:flutter_cache_manager/flutter_cache_manager.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; -import 'package:url_launcher/url_launcher.dart'; - -class ContributorsCard extends StatefulWidget { - const ContributorsCard({ - Key? key, - required this.title, - required this.contributors, - }) : super(key: key); - final String title; - final List<dynamic> contributors; - - @override - State<ContributorsCard> createState() => _ContributorsCardState(); -} - -class _ContributorsCardState extends State<ContributorsCard> { - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Padding( - padding: const EdgeInsets.only(bottom: 8.0), - child: I18nText( - widget.title, - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - ), - CustomCard( - child: GridView.builder( - shrinkWrap: true, - padding: EdgeInsets.zero, - physics: const NeverScrollableScrollPhysics(), - gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( - crossAxisCount: 6, - mainAxisSpacing: 8, - crossAxisSpacing: 8, - ), - itemCount: widget.contributors.length, - itemBuilder: (context, index) => ClipRRect( - borderRadius: BorderRadius.circular(100), - child: GestureDetector( - onTap: () => launchUrl( - Uri.parse( - widget.contributors[index]['html_url'], - ), - mode: LaunchMode.externalApplication, - ), - child: FutureBuilder<File?>( - future: DefaultCacheManager().getSingleFile( - widget.contributors[index]['avatar_url'], - ), - builder: (context, snapshot) => snapshot.hasData - ? Image.file(snapshot.data!) - : Image.network( - widget.contributors[index]['avatar_url'], - ), - ), - ), - ), - ), - ), - ], - ); - } -} diff --git a/lib/ui/widgets/homeView/installed_apps_card.dart b/lib/ui/widgets/homeView/installed_apps_card.dart deleted file mode 100644 index 7a989856..00000000 --- a/lib/ui/widgets/homeView/installed_apps_card.dart +++ /dev/null @@ -1,96 +0,0 @@ -import 'package:device_apps/device_apps.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/application_item.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; - -//ignore: must_be_immutable -class InstalledAppsCard extends StatelessWidget { - InstalledAppsCard({Key? key}) : super(key: key); - - List<PatchedApplication> apps = locator<HomeViewModel>().patchedInstalledApps; - final ManagerAPI _managerAPI = locator<ManagerAPI>(); - List<PatchedApplication> patchedApps = []; - - Future _getApps() async { - if (apps.isNotEmpty) { - patchedApps = [...apps]; - for (final element in apps) { - await DeviceApps.getApp(element.packageName).then((value) { - if (element.version != value?.versionName) { - patchedApps.remove(element); - } - }); - } - if (apps.length != patchedApps.length) { - await _managerAPI.setPatchedApps(patchedApps); - apps.clear(); - apps = [...patchedApps]; - } - } - } - - @override - Widget build(BuildContext context) { - return FutureBuilder( - future: _getApps(), - builder: (context, snapshot) { - if (snapshot.connectionState == ConnectionState.done) { - return apps.isEmpty - ? CustomCard( - child: Center( - child: Column( - children: <Widget>[ - Icon( - size: 40, - Icons.file_download_off, - color: Theme.of(context).colorScheme.secondary, - ), - const SizedBox(height: 16), - I18nText( - 'homeView.noInstallations', - child: Text( - '', - textAlign: TextAlign.center, - style: Theme.of(context) - .textTheme - .titleMedium! - .copyWith( - color: - Theme.of(context).colorScheme.secondary, - ), - ), - ), - ], - ), - ), - ) - : ListView( - shrinkWrap: true, - padding: EdgeInsets.zero, - physics: const NeverScrollableScrollPhysics(), - children: apps - .map( - (app) => ApplicationItem( - icon: app.icon, - name: app.name, - patchDate: app.patchDate, - changelog: app.changelog, - isUpdatableApp: false, - onPressed: () => - locator<HomeViewModel>().navigateToAppInfo(app), - ), - ) - .toList(), - ); - } else { - return const Center(child: CircularProgressIndicator()); - } - }, - ); - } -} diff --git a/lib/ui/widgets/homeView/latest_commit_card.dart b/lib/ui/widgets/homeView/latest_commit_card.dart deleted file mode 100644 index 2d62286f..00000000 --- a/lib/ui/widgets/homeView/latest_commit_card.dart +++ /dev/null @@ -1,133 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; - -class LatestCommitCard extends StatefulWidget { - const LatestCommitCard({ - Key? key, - required this.model, - required this.parentContext, - }) : super(key: key); - final HomeViewModel model; - final BuildContext parentContext; - - @override - State<LatestCommitCard> createState() => _LatestCommitCardState(); -} - -class _LatestCommitCardState extends State<LatestCommitCard> { - final HomeViewModel model = locator<HomeViewModel>(); - - @override - Widget build(BuildContext context) { - return Column( - children: [ - // ReVanced Manager - CustomCard( - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: <Widget>[ - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - const Text('ReVanced Manager'), - const SizedBox(height: 4), - Row( - children: <Widget>[ - FutureBuilder<String?>( - future: model.getLatestManagerReleaseTime(), - builder: (context, snapshot) => snapshot.hasData && - snapshot.data!.isNotEmpty - ? I18nText( - 'latestCommitCard.timeagoLabel', - translationParams: {'time': snapshot.data!}, - ) - : I18nText('latestCommitCard.loadingLabel'), - ), - ], - ), - ], - ), - ), - FutureBuilder<bool>( - future: model.hasManagerUpdates(), - initialData: false, - builder: (context, snapshot) => Opacity( - opacity: snapshot.hasData && snapshot.data! ? 1.0 : 0.25, - child: CustomMaterialButton( - label: I18nText('updateButton'), - onPressed: snapshot.hasData && snapshot.data! - ? () => widget.model.showUpdateConfirmationDialog( - widget.parentContext, - false, - ) - : () => {}, - ), - ), - ), - ], - ), - ), - - const SizedBox(height: 16), - - // ReVanced Patches - CustomCard( - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: <Widget>[ - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - const Text('ReVanced Patches'), - const SizedBox(height: 4), - Row( - children: <Widget>[ - FutureBuilder<String?>( - future: model.getLatestPatchesReleaseTime(), - builder: (context, snapshot) => Text( - snapshot.hasData && snapshot.data!.isNotEmpty - ? FlutterI18n.translate( - context, - 'latestCommitCard.timeagoLabel', - translationParams: {'time': snapshot.data!}, - ) - : FlutterI18n.translate( - context, - 'latestCommitCard.loadingLabel', - ), - ), - ), - ], - ), - ], - ), - ), - FutureBuilder<bool>( - future: locator<HomeViewModel>().hasPatchesUpdates(), - initialData: false, - builder: (context, snapshot) => Opacity( - opacity: snapshot.hasData && snapshot.data! ? 1.0 : 0.25, - child: CustomMaterialButton( - label: I18nText('updateButton'), - onPressed: snapshot.hasData && snapshot.data! - ? () => widget.model.showUpdateConfirmationDialog( - widget.parentContext, - true, - ) - : () => {}, - ), - ), - ), - ], - ), - ), - ], - ); - } -} diff --git a/lib/ui/widgets/homeView/update_confirmation_dialog.dart b/lib/ui/widgets/homeView/update_confirmation_dialog.dart deleted file mode 100644 index 7839536a..00000000 --- a/lib/ui/widgets/homeView/update_confirmation_dialog.dart +++ /dev/null @@ -1,139 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:flutter_markdown/flutter_markdown.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/ui/views/home/home_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; - -class UpdateConfirmationDialog extends StatelessWidget { - const UpdateConfirmationDialog({super.key, required this.isPatches}); - - final bool isPatches; - @override - Widget build(BuildContext context) { - final HomeViewModel model = locator<HomeViewModel>(); - - return DraggableScrollableSheet( - expand: false, - snap: true, - snapSizes: const [0.5], - builder: (_, scrollController) => SingleChildScrollView( - controller: scrollController, - child: SafeArea( - child: FutureBuilder<Map<String, dynamic>?>( - future: !isPatches - ? model.getLatestManagerRelease() - : model.getLatestPatchesRelease(), - builder: (_, snapshot) { - if (!snapshot.hasData) { - return const SizedBox( - height: 300, - child: Center( - child: CircularProgressIndicator(), - ), - ); - } - - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: const EdgeInsets.only( - top: 40.0, - left: 24.0, - right: 24.0, - bottom: 32.0, - ), - child: Row( - children: [ - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - I18nText( - isPatches - ? 'homeView.updatePatchesDialogTitle' - : 'homeView.updateDialogTitle', - child: const Text( - '', - style: TextStyle( - fontSize: 24, - fontWeight: FontWeight.bold, - ), - ), - ), - const SizedBox(height: 4.0), - Row( - children: [ - Icon( - Icons.new_releases_outlined, - color: - Theme.of(context).colorScheme.secondary, - ), - const SizedBox(width: 8.0), - Text( - snapshot.data!['tag_name'] ?? 'Unknown', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - color: Theme.of(context) - .colorScheme - .secondary, - ), - ), - ], - ), - ], - ), - ), - CustomMaterialButton( - isExpanded: true, - label: I18nText('updateButton'), - onPressed: () { - Navigator.of(context).pop(); - isPatches - ? model.updatePatches(context) - : model.updateManager(context); - }, - ), - ], - ), - ), - Padding( - padding: const EdgeInsets.only(left: 24.0, bottom: 12.0), - child: I18nText( - 'homeView.updateChangelogTitle', - child: Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - color: Theme.of(context) - .colorScheme - .onSecondaryContainer, - ), - ), - ), - ), - Container( - margin: const EdgeInsets.symmetric(horizontal: 24.0), - decoration: BoxDecoration( - color: Theme.of(context).colorScheme.secondaryContainer, - borderRadius: BorderRadius.circular(12.0), - ), - child: Markdown( - shrinkWrap: true, - physics: const NeverScrollableScrollPhysics(), - padding: const EdgeInsets.all(20.0), - data: snapshot.data!['body'] ?? '', - ), - ), - ], - ); - }, - ), - ), - ), - ); - } -} diff --git a/lib/ui/widgets/installerView/gradient_progress_indicator.dart b/lib/ui/widgets/installerView/gradient_progress_indicator.dart deleted file mode 100644 index d4032184..00000000 --- a/lib/ui/widgets/installerView/gradient_progress_indicator.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:flutter/material.dart'; - -class GradientProgressIndicator extends StatefulWidget { - const GradientProgressIndicator({required this.progress, super.key}); - final double? progress; - - @override - State<GradientProgressIndicator> createState() => - _GradientProgressIndicatorState(); -} - -class _GradientProgressIndicatorState extends State<GradientProgressIndicator> { - @override - Widget build(BuildContext context) { - return Align( - alignment: Alignment.centerLeft, - child: AnimatedContainer( - duration: const Duration(milliseconds: 500), - decoration: BoxDecoration( - gradient: LinearGradient( - colors: [ - Theme.of(context).colorScheme.primary, - Theme.of(context).colorScheme.secondary, - ], - ), - ), - height: 5, - width: MediaQuery.sizeOf(context).width * widget.progress!, - ), - ); - } -} diff --git a/lib/ui/widgets/patcherView/app_selector_card.dart b/lib/ui/widgets/patcherView/app_selector_card.dart deleted file mode 100644 index e97a004d..00000000 --- a/lib/ui/widgets/patcherView/app_selector_card.dart +++ /dev/null @@ -1,76 +0,0 @@ -import 'dart:typed_data'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; - -class AppSelectorCard extends StatelessWidget { - const AppSelectorCard({ - Key? key, - required this.onPressed, - }) : super(key: key); - final Function() onPressed; - - @override - Widget build(BuildContext context) { - return CustomCard( - onTap: onPressed, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - I18nText( - locator<PatcherViewModel>().selectedApp == null - ? 'appSelectorCard.widgetTitle' - : 'appSelectorCard.widgetTitleSelected', - child: const Text( - '', - style: TextStyle( - fontSize: 18, - fontWeight: FontWeight.w500, - ), - ), - ), - const SizedBox(height: 8), - if (locator<PatcherViewModel>().selectedApp == null) - I18nText('appSelectorCard.widgetSubtitle') - else - Row( - children: <Widget>[ - SizedBox( - height: 18.0, - child: ClipOval( - child: Image.memory( - locator<PatcherViewModel>().selectedApp == null - ? Uint8List(0) - : locator<PatcherViewModel>().selectedApp!.icon, - fit: BoxFit.cover, - ), - ), - ), - const SizedBox(width: 6), - Flexible( - child: Text( - locator<PatcherViewModel>().getAppSelectionString(), - style: const TextStyle(fontWeight: FontWeight.w600), - ), - ), - ], - ), - if (locator<PatcherViewModel>().selectedApp == null) - Container() - else - Column( - children: [ - const SizedBox(height: 4), - Text( - locator<PatcherViewModel>() - .getSuggestedVersionString(context), - ), - ], - ), - ], - ), - ); - } -} diff --git a/lib/ui/widgets/patcherView/patch_selector_card.dart b/lib/ui/widgets/patcherView/patch_selector_card.dart deleted file mode 100644 index 1b8265de..00000000 --- a/lib/ui/widgets/patcherView/patch_selector_card.dart +++ /dev/null @@ -1,66 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; - -class PatchSelectorCard extends StatelessWidget { - const PatchSelectorCard({ - Key? key, - required this.onPressed, - }) : super(key: key); - final Function() onPressed; - - @override - Widget build(BuildContext context) { - return CustomCard( - onTap: onPressed, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Row( - children: <Widget>[ - I18nText( - locator<PatcherViewModel>().selectedPatches.isEmpty - ? 'patchSelectorCard.widgetTitle' - : 'patchSelectorCard.widgetTitleSelected', - child: const Text( - '', - style: TextStyle( - fontSize: 18, - fontWeight: FontWeight.w500, - ), - ), - ), - Text( - locator<PatcherViewModel>().selectedPatches.isEmpty - ? '' - : ' (${locator<PatcherViewModel>().selectedPatches.length})', - style: const TextStyle( - fontSize: 18, - fontWeight: FontWeight.w500, - ), - ), - ], - ), - const SizedBox(height: 4), - if (locator<PatcherViewModel>().selectedApp == null) - I18nText('patchSelectorCard.widgetSubtitle') - else - locator<PatcherViewModel>().selectedPatches.isEmpty - ? I18nText('patchSelectorCard.widgetEmptySubtitle') - : Text(_getPatchesSelection()), - ], - ), - ); - } - - String _getPatchesSelection() { - String text = ''; - for (final Patch p in locator<PatcherViewModel>().selectedPatches) { - text += '\u2022 ${p.getSimpleName()}\n'; - } - return text.substring(0, text.length - 1); - } -} diff --git a/lib/ui/widgets/patchesSelectorView/patch_item.dart b/lib/ui/widgets/patchesSelectorView/patch_item.dart deleted file mode 100644 index 78a92e36..00000000 --- a/lib/ui/widgets/patchesSelectorView/patch_item.dart +++ /dev/null @@ -1,248 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/services/manager_api.dart'; -import 'package:revanced_manager/services/toast.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; - -// ignore: must_be_immutable -class PatchItem extends StatefulWidget { - PatchItem({ - Key? key, - required this.name, - required this.simpleName, - required this.description, - required this.packageVersion, - required this.supportedPackageVersions, - required this.isUnsupported, - required this.isNew, - required this.isSelected, - required this.onChanged, - required this.isChangeEnabled, - this.child, - }) : super(key: key); - final String name; - final String simpleName; - final String description; - final String packageVersion; - final List<String> supportedPackageVersions; - final bool isUnsupported; - final bool isNew; - bool isSelected; - final Function(bool) onChanged; - final bool isChangeEnabled; - final Widget? child; - final toast = locator<Toast>(); - final _managerAPI = locator<ManagerAPI>(); - - @override - State<PatchItem> createState() => _PatchItemState(); -} - -class _PatchItemState extends State<PatchItem> { - @override - Widget build(BuildContext context) { - widget.isSelected = widget.isSelected && - (!widget.isUnsupported || - widget._managerAPI.areExperimentalPatchesEnabled()); - return Padding( - padding: const EdgeInsets.symmetric(vertical: 4.0), - child: Opacity( - opacity: widget.isUnsupported && - widget._managerAPI.areExperimentalPatchesEnabled() == false - ? 0.5 - : 1, - child: CustomCard( - onTap: () { - setState(() { - if (widget.isUnsupported && - !widget._managerAPI.areExperimentalPatchesEnabled()) { - widget.isSelected = false; - widget.toast.showBottom('patchItem.unsupportedPatchVersion'); - } else if (widget.isChangeEnabled) { - widget.isSelected = !widget.isSelected; - } - }); - if (!widget.isUnsupported || widget._managerAPI.areExperimentalPatchesEnabled()) { - widget.onChanged(widget.isSelected); - } - }, - child: Column( - children: <Widget>[ - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: <Widget>[ - Flexible( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Row( - crossAxisAlignment: CrossAxisAlignment.end, - children: <Widget>[ - Expanded( - child: Text( - widget.simpleName, - maxLines: 2, - overflow: TextOverflow.visible, - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w600, - ), - ), - ), - ], - ), - const SizedBox(height: 4), - Text( - widget.description, - softWrap: true, - overflow: TextOverflow.visible, - style: TextStyle( - fontSize: 14, - color: Theme.of(context) - .colorScheme - .onSecondaryContainer, - ), - ), - ], - ), - ), - Transform.scale( - scale: 1.2, - child: Checkbox( - value: widget.isSelected, - activeColor: Theme.of(context).colorScheme.primary, - checkColor: - Theme.of(context).colorScheme.secondaryContainer, - side: BorderSide( - width: 2.0, - color: Theme.of(context).colorScheme.primary, - ), - onChanged: (newValue) { - setState(() { - if (widget.isUnsupported && - !widget._managerAPI - .areExperimentalPatchesEnabled()) { - widget.isSelected = false; - widget.toast.showBottom( - 'patchItem.unsupportedPatchVersion', - ); - } else if (widget.isChangeEnabled) { - widget.isSelected = newValue!; - } - }); - if (!widget.isUnsupported || widget._managerAPI.areExperimentalPatchesEnabled()) { - widget.onChanged(widget.isSelected); - } - }, - ), - ), - ], - ), - Row( - children: [ - if (widget.isUnsupported && - widget._managerAPI.areExperimentalPatchesEnabled()) - Padding( - padding: const EdgeInsets.only(top: 8, right: 8), - child: TextButton.icon( - label: I18nText('warning'), - icon: const Icon(Icons.warning, size: 20.0), - onPressed: () => _showUnsupportedWarningDialog(), - style: ButtonStyle( - shape: MaterialStateProperty.all( - RoundedRectangleBorder( - borderRadius: BorderRadius.circular(8), - side: BorderSide( - color: Theme.of(context).colorScheme.secondary, - ), - ), - ), - backgroundColor: MaterialStateProperty.all( - Colors.transparent, - ), - foregroundColor: MaterialStateProperty.all( - Theme.of(context).colorScheme.secondary, - ), - ), - ), - ), - if (widget.isNew) - Padding( - padding: const EdgeInsets.only(top: 8), - child: TextButton.icon( - label: I18nText('new'), - icon: const Icon(Icons.star, size: 20.0), - onPressed: () => _showNewPatchDialog(), - style: ButtonStyle( - shape: MaterialStateProperty.all( - RoundedRectangleBorder( - borderRadius: BorderRadius.circular(8), - side: BorderSide( - color: Theme.of(context).colorScheme.secondary, - ), - ), - ), - backgroundColor: MaterialStateProperty.all( - Colors.transparent, - ), - foregroundColor: MaterialStateProperty.all( - Theme.of(context).colorScheme.secondary, - ), - ), - ), - ), - ], - ), - widget.child ?? const SizedBox(), - ], - ), - ), - ), - ); - } - - Future<void> _showUnsupportedWarningDialog() { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('warning'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText( - 'patchItem.unsupportedDialogText', - translationParams: { - 'packageVersion': widget.packageVersion, - 'supportedVersions': - '\u2022 ${widget.supportedPackageVersions.reversed.join('\n\u2022 ')}', - }, - ), - actions: <Widget>[ - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), - ); - } - - Future<void> _showNewPatchDialog() { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('patchItem.newPatch'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText( - 'patchItem.newPatchDialogText', - ), - actions: <Widget>[ - CustomMaterialButton( - label: I18nText('okButton'), - onPressed: () => Navigator.of(context).pop(), - ), - ], - ), - ); - } -} diff --git a/lib/ui/widgets/patchesSelectorView/patch_options_fields.dart b/lib/ui/widgets/patchesSelectorView/patch_options_fields.dart deleted file mode 100644 index 45a13843..00000000 --- a/lib/ui/widgets/patchesSelectorView/patch_options_fields.dart +++ /dev/null @@ -1,73 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:google_fonts/google_fonts.dart'; - -class OptionsTextField extends StatelessWidget { - const OptionsTextField({Key? key, required this.hint}) : super(key: key); - final String hint; - - @override - Widget build(BuildContext context) { - final size = MediaQuery.sizeOf(context); - final sHeight = size.height; - final sWidth = size.width; - return Container( - margin: const EdgeInsets.only(top: 12, bottom: 6), - padding: EdgeInsets.zero, - child: TextField( - decoration: InputDecoration( - constraints: BoxConstraints( - maxHeight: sHeight * 0.05, - maxWidth: sWidth * 1, - ), - border: const OutlineInputBorder(), - labelText: hint, - ), - ), - ); - } -} - -class OptionsFilePicker extends StatelessWidget { - const OptionsFilePicker({Key? key, required this.optionName}) - : super(key: key); - final String optionName; - - @override - Widget build(BuildContext context) { - return Padding( - padding: const EdgeInsets.symmetric(horizontal: 4.0), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: <Widget>[ - I18nText( - optionName, - child: Text( - '', - style: GoogleFonts.inter( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - ), - ElevatedButton( - style: ButtonStyle( - backgroundColor: MaterialStateProperty.all( - Theme.of(context).colorScheme.primary, - ), - ), - onPressed: () { - // pick files - }, - child: Text( - 'Select File', - style: TextStyle( - color: Theme.of(context).textTheme.bodyLarge?.color, - ), - ), - ), - ], - ), - ); - } -} diff --git a/lib/ui/widgets/settingsView/about_widget.dart b/lib/ui/widgets/settingsView/about_widget.dart deleted file mode 100644 index ebad5f92..00000000 --- a/lib/ui/widgets/settingsView/about_widget.dart +++ /dev/null @@ -1,103 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter/services.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/utils/about_info.dart'; - -class AboutWidget extends StatefulWidget { - const AboutWidget({Key? key, this.padding}) : super(key: key); - - final EdgeInsetsGeometry? padding; - - @override - State<AboutWidget> createState() => _AboutWidgetState(); -} - -class _AboutWidgetState extends State<AboutWidget> { - @override - Widget build(BuildContext context) { - return FutureBuilder<Map<String, dynamic>>( - future: AboutInfo.getInfo(), - builder: (context, snapshot) { - return Padding( - padding: const EdgeInsets.symmetric(vertical: 8.0), - child: ListTile( - contentPadding: widget.padding ?? EdgeInsets.zero, - onLongPress: snapshot.hasData - ? () { - Clipboard.setData( - ClipboardData( - text: 'Version: ${snapshot.data!['version']}\n' - 'Model: ${snapshot.data!['model']}\n' - 'Android Version: ${snapshot.data!['androidVersion']}\n' - '${snapshot.data!['supportedArch'].length > 1 ? 'Supported Archs' : 'Supported Arch'}: ${snapshot.data!['supportedArch'].join(", ")}\n', - ), - ); - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: I18nText('settingsView.snackbarMessage'), - backgroundColor: - Theme.of(context).colorScheme.secondary, - ), - ); - } - : null, - title: I18nText( - 'settingsView.aboutLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: snapshot.hasData - ? Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Text( - 'Version: ${snapshot.data!['version']}', - style: const TextStyle( - fontSize: 13, - fontWeight: FontWeight.w300, - ), - ), - Text( - 'Build: ${snapshot.data!['flavor']}', - style: const TextStyle( - fontSize: 13, - fontWeight: FontWeight.w300, - ), - ), - Text( - 'Model: ${snapshot.data!['model']}', - style: const TextStyle( - fontSize: 13, - fontWeight: FontWeight.w300, - ), - ), - Text( - 'Android Version: ${snapshot.data!['androidVersion']}', - style: const TextStyle( - fontSize: 13, - fontWeight: FontWeight.w300, - ), - ), - Text( - snapshot.data!['supportedArch'].length > 1 - ? 'Supported Archs: ${snapshot.data!['supportedArch'].join(", ")}' - : 'Supported Arch: ${snapshot.data!['supportedArch']}', - style: const TextStyle( - fontSize: 13, - fontWeight: FontWeight.w300, - ), - ), - ], - ) - : const SizedBox(), - ), - ); - }, - ); - } -} diff --git a/lib/ui/widgets/settingsView/custom_switch.dart b/lib/ui/widgets/settingsView/custom_switch.dart deleted file mode 100644 index 8328c90b..00000000 --- a/lib/ui/widgets/settingsView/custom_switch.dart +++ /dev/null @@ -1,63 +0,0 @@ -import 'package:flutter/material.dart'; - -class CustomSwitch extends StatelessWidget { - const CustomSwitch({ - Key? key, - required this.onChanged, - required this.value, - }) : super(key: key); - final ValueChanged<bool> onChanged; - final bool value; - - @override - Widget build(BuildContext context) { - return GestureDetector( - onTap: () => onChanged(!value), - child: SizedBox( - height: 25, - width: 50, - child: Stack( - children: <Widget>[ - AnimatedContainer( - height: 25, - width: 50, - curve: Curves.ease, - duration: const Duration(milliseconds: 400), - decoration: BoxDecoration( - borderRadius: const BorderRadius.all( - Radius.circular(25.0), - ), - color: value - ? Theme.of(context).colorScheme.primary - : Theme.of(context).colorScheme.secondary, - ), - ), - AnimatedAlign( - curve: Curves.ease, - duration: const Duration(milliseconds: 400), - alignment: !value ? Alignment.centerLeft : Alignment.centerRight, - child: Container( - height: 20, - width: 20, - margin: const EdgeInsets.symmetric(horizontal: 3), - decoration: BoxDecoration( - shape: BoxShape.circle, - color: value - ? Theme.of(context).colorScheme.primaryContainer - : Theme.of(context).colorScheme.surface, - boxShadow: [ - BoxShadow( - color: Colors.black12.withOpacity(0.1), - spreadRadius: 0.5, - blurRadius: 1, - ), - ], - ), - ), - ), - ], - ), - ), - ); - } -} diff --git a/lib/ui/widgets/settingsView/custom_switch_tile.dart b/lib/ui/widgets/settingsView/custom_switch_tile.dart deleted file mode 100644 index f17f9670..00000000 --- a/lib/ui/widgets/settingsView/custom_switch_tile.dart +++ /dev/null @@ -1,32 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/custom_switch.dart'; - -class CustomSwitchTile extends StatelessWidget { - const CustomSwitchTile({ - Key? key, - required this.title, - required this.subtitle, - required this.value, - required this.onTap, - this.padding, - }) : super(key: key); - final Widget title; - final Widget subtitle; - final bool value; - final Function(bool) onTap; - final EdgeInsetsGeometry? padding; - - @override - Widget build(BuildContext context) { - return ListTile( - contentPadding: padding ?? EdgeInsets.zero, - title: title, - subtitle: subtitle, - onTap: () => onTap(!value), - trailing: CustomSwitch( - value: value, - onChanged: onTap, - ), - ); - } -} diff --git a/lib/ui/widgets/settingsView/custom_text_field.dart b/lib/ui/widgets/settingsView/custom_text_field.dart deleted file mode 100644 index 6f2b8a76..00000000 --- a/lib/ui/widgets/settingsView/custom_text_field.dart +++ /dev/null @@ -1,73 +0,0 @@ -import 'package:flutter/material.dart'; - -class CustomTextField extends StatelessWidget { - const CustomTextField({ - Key? key, - required this.inputController, - required this.label, - required this.hint, - this.leadingIcon, - required this.onChanged, - }) : super(key: key); - final TextEditingController inputController; - final Widget label; - final String hint; - final Widget? leadingIcon; - final Function(String)? onChanged; - - @override - Widget build(BuildContext context) { - return Padding( - padding: const EdgeInsets.only(top: 4.0), - child: TextField( - controller: inputController, - onChanged: onChanged, - keyboardType: TextInputType.text, - decoration: InputDecoration( - icon: leadingIcon, - label: label, - filled: true, - fillColor: Theme.of(context).colorScheme.secondaryContainer, - hintText: hint, - hintStyle: TextStyle( - color: Theme.of(context).colorScheme.secondary, - ), - floatingLabelStyle: MaterialStateTextStyle.resolveWith( - (states) => states.contains(MaterialState.focused) - ? TextStyle(color: Theme.of(context).colorScheme.primary) - : TextStyle(color: Theme.of(context).colorScheme.secondary), - ), - contentPadding: const EdgeInsets.symmetric( - vertical: 8.0, - horizontal: 16.0, - ), - border: OutlineInputBorder( - borderSide: BorderSide( - color: Theme.of(context).colorScheme.primary, - ), - borderRadius: BorderRadius.circular(10), - ), - focusedBorder: OutlineInputBorder( - borderSide: BorderSide( - color: Theme.of(context).colorScheme.primary, - width: 2.0, - ), - borderRadius: BorderRadius.circular(10), - ), - errorBorder: OutlineInputBorder( - borderSide: BorderSide( - color: Theme.of(context).colorScheme.error, - ), - borderRadius: BorderRadius.circular(10), - ), - enabledBorder: OutlineInputBorder( - borderSide: BorderSide( - color: Theme.of(context).colorScheme.primary, - ), - borderRadius: BorderRadius.circular(10), - ), - ), - ), - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_advanced_section.dart b/lib/ui/widgets/settingsView/settings_advanced_section.dart deleted file mode 100644 index 2d9be3fc..00000000 --- a/lib/ui/widgets/settingsView/settings_advanced_section.dart +++ /dev/null @@ -1,105 +0,0 @@ -// ignore_for_file: prefer_const_constructors - -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_manage_api_url.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_manage_sources.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_enable_patches_selection.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_auto_update_patches.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_experimental_patches.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_experimental_universal_patches.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_section.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; - -final _settingsViewModel = SettingsViewModel(); - -class SAdvancedSection extends StatelessWidget { - const SAdvancedSection({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsSection( - title: 'settingsView.advancedSectionTitle', - children: <Widget>[ - SManageApiUrlUI(), - SManageSourcesUI(), - // SManageKeystorePasswordUI(), - SAutoUpdatePatches(), - SEnablePatchesSelection(), - SExperimentalUniversalPatches(), - SExperimentalPatches(), - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.regenerateKeystoreLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.regenerateKeystoreHint'), - onTap: () => _showDeleteKeystoreDialog(context), - ), - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.deleteTempDirLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.deleteTempDirHint'), - onTap: () => _settingsViewModel.deleteTempDir(), - ), - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.deleteLogsLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.deleteLogsHint'), - onTap: () => _settingsViewModel.deleteLogs(), - ), - ], - ); - } - - Future<void> _showDeleteKeystoreDialog(context) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('settingsView.regenerateKeystoreDialogTitle'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText('settingsView.regenerateKeystoreDialogText'), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () => { - Navigator.of(context).pop(), - _settingsViewModel.deleteKeystore(), - }, - ), - ], - ), - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_auto_update_patches.dart b/lib/ui/widgets/settingsView/settings_auto_update_patches.dart deleted file mode 100644 index 2063d658..00000000 --- a/lib/ui/widgets/settingsView/settings_auto_update_patches.dart +++ /dev/null @@ -1,38 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; - -class SAutoUpdatePatches extends StatefulWidget { - const SAutoUpdatePatches({super.key}); - - @override - State<SAutoUpdatePatches> createState() => _SAutoUpdatePatchesState(); -} - -final _settingsViewModel = SettingsViewModel(); - -class _SAutoUpdatePatchesState extends State<SAutoUpdatePatches> { - @override - Widget build(BuildContext context) { - return SwitchListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.autoUpdatePatchesLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.autoUpdatePatchesHint'), - value: _settingsViewModel.isPatchesAutoUpdate(), - onChanged: (value) { - setState(() { - _settingsViewModel.setPatchesAutoUpdate(value); - }); - }, - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_enable_patches_selection.dart b/lib/ui/widgets/settingsView/settings_enable_patches_selection.dart deleted file mode 100644 index a0c5b463..00000000 --- a/lib/ui/widgets/settingsView/settings_enable_patches_selection.dart +++ /dev/null @@ -1,37 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; - -class SEnablePatchesSelection extends StatefulWidget { - const SEnablePatchesSelection({super.key}); - - @override - State<SEnablePatchesSelection> createState() => _SEnablePatchesSelectionState(); -} - -final _settingsViewModel = SettingsViewModel(); - -class _SEnablePatchesSelectionState extends State<SEnablePatchesSelection> { - @override - Widget build(BuildContext context) { - return SwitchListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.enablePatchesSelectionLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.enablePatchesSelectionHint'), - value: _settingsViewModel.isPatchesChangeEnabled(), - onChanged: (value) async { - await _settingsViewModel.showPatchesChangeEnableDialog(value, context); - setState(() {}); - }, - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_experimental_patches.dart b/lib/ui/widgets/settingsView/settings_experimental_patches.dart deleted file mode 100644 index be704c73..00000000 --- a/lib/ui/widgets/settingsView/settings_experimental_patches.dart +++ /dev/null @@ -1,49 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/views/patches_selector/patches_selector_viewmodel.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/utils/check_for_supported_patch.dart'; - -class SExperimentalPatches extends StatefulWidget { - const SExperimentalPatches({super.key}); - - @override - State<SExperimentalPatches> createState() => _SExperimentalPatchesState(); -} - -final _settingsViewModel = SettingsViewModel(); -final _patchesSelectorViewModel = PatchesSelectorViewModel(); -final _patcherViewModel = PatcherViewModel(); - -class _SExperimentalPatchesState extends State<SExperimentalPatches> { - @override - Widget build(BuildContext context) { - return SwitchListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.experimentalPatchesLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.experimentalPatchesHint'), - value: _settingsViewModel.areExperimentalPatchesEnabled(), - onChanged: (value) { - setState(() { - _settingsViewModel.useExperimentalPatches(value); - }); - if (!value) { - _patcherViewModel.selectedPatches - .removeWhere((patch) => !isPatchSupported(patch)); - _patchesSelectorViewModel.selectedPatches - .removeWhere((patch) => !isPatchSupported(patch)); - } - }, - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_experimental_universal_patches.dart b/lib/ui/widgets/settingsView/settings_experimental_universal_patches.dart deleted file mode 100644 index b8a58412..00000000 --- a/lib/ui/widgets/settingsView/settings_experimental_universal_patches.dart +++ /dev/null @@ -1,50 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; -import 'package:revanced_manager/ui/views/patches_selector/patches_selector_viewmodel.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; - -class SExperimentalUniversalPatches extends StatefulWidget { - const SExperimentalUniversalPatches({super.key}); - - @override - State<SExperimentalUniversalPatches> createState() => - _SExperimentalUniversalPatchesState(); -} - -final _settingsViewModel = SettingsViewModel(); -final _patchesSelectorViewModel = PatchesSelectorViewModel(); -final _patcherViewModel = PatcherViewModel(); - -class _SExperimentalUniversalPatchesState - extends State<SExperimentalUniversalPatches> { - @override - Widget build(BuildContext context) { - return SwitchListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.experimentalUniversalPatchesLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.experimentalUniversalPatchesHint'), - value: _settingsViewModel.areUniversalPatchesEnabled(), - onChanged: (value) { - setState(() { - _settingsViewModel.showUniversalPatches(value); - }); - if (!value) { - _patcherViewModel.selectedPatches - .removeWhere((patch) => patch.compatiblePackages.isEmpty); - _patchesSelectorViewModel.selectedPatches - .removeWhere((patch) => patch.compatiblePackages.isEmpty); - } - }, - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_export_section.dart b/lib/ui/widgets/settingsView/settings_export_section.dart deleted file mode 100644 index bb693739..00000000 --- a/lib/ui/widgets/settingsView/settings_export_section.dart +++ /dev/null @@ -1,129 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/settings/settingsFragment/settings_manage_keystore_password.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_section.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; - -final _settingsViewModel = SettingsViewModel(); - -class SExportSection extends StatelessWidget { - const SExportSection({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsSection( - title: 'settingsView.exportSectionTitle', - children: <Widget>[ - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.exportPatchesLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.exportPatchesHint'), - onTap: () => _settingsViewModel.exportPatches(), - ), - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.importPatchesLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.importPatchesHint'), - onTap: () => _settingsViewModel.importPatches(context), - ), - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.exportKeystoreLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.exportKeystoreHint'), - onTap: () => _settingsViewModel.exportKeystore(), - ), - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.importKeystoreLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.importKeystoreHint'), - onTap: () async { - await _settingsViewModel.importKeystore(); - final sManageKeystorePassword = SManageKeystorePassword(); - if (context.mounted) { - sManageKeystorePassword.showKeystoreDialog(context); - } - }, - ), - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.resetStoredPatchesLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.resetStoredPatchesHint'), - onTap: () => _showResetStoredPatchesDialog(context), - ), - ], - ); - } - - Future<void> _showResetStoredPatchesDialog(context) { - return showDialog( - context: context, - builder: (context) => AlertDialog( - title: I18nText('settingsView.resetStoredPatchesDialogTitle'), - backgroundColor: Theme.of(context).colorScheme.secondaryContainer, - content: I18nText( - 'settingsView.resetStoredPatchesDialogText', - ), - actions: <Widget>[ - CustomMaterialButton( - isFilled: false, - label: I18nText('noButton'), - onPressed: () => Navigator.of(context).pop(), - ), - CustomMaterialButton( - label: I18nText('yesButton'), - onPressed: () => { - Navigator.of(context).pop(), - _settingsViewModel.resetSelectedPatches(), - }, - ), - ], - ), - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_info_section.dart b/lib/ui/widgets/settingsView/settings_info_section.dart deleted file mode 100644 index 0a714581..00000000 --- a/lib/ui/widgets/settingsView/settings_info_section.dart +++ /dev/null @@ -1,38 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/about_widget.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_section.dart'; - -final _settingsViewModel = SettingsViewModel(); - -class SInfoSection extends StatelessWidget { - const SInfoSection({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsSection( - title: 'settingsView.infoSectionTitle', - children: <Widget>[ - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.logsLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.logsHint'), - onTap: () => _settingsViewModel.exportLogcatLogs(), - ), - const AboutWidget( - padding: EdgeInsets.symmetric(horizontal: 20.0), - ), - ], - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_section.dart b/lib/ui/widgets/settingsView/settings_section.dart deleted file mode 100644 index 74570a14..00000000 --- a/lib/ui/widgets/settingsView/settings_section.dart +++ /dev/null @@ -1,37 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; - -class SettingsSection extends StatelessWidget { - const SettingsSection({ - Key? key, - required this.title, - required this.children, - }) : super(key: key); - final String title; - final List<Widget> children; - - @override - Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Container( - padding: const EdgeInsets.only(top: 16.0, bottom: 10.0, left: 20.0), - child: I18nText( - title, - child: Text( - '', - style: TextStyle( - color: Theme.of(context).colorScheme.primary, - ), - ), - ), - ), - Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: children, - ), - ], - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_team_section.dart b/lib/ui/widgets/settingsView/settings_team_section.dart deleted file mode 100644 index aa2d81a6..00000000 --- a/lib/ui/widgets/settingsView/settings_team_section.dart +++ /dev/null @@ -1,38 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/widgets/I18nText.dart'; -import 'package:revanced_manager/ui/views/settings/settings_viewmodel.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/settings_section.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/social_media_widget.dart'; - -final _settingsViewModel = SettingsViewModel(); - -class STeamSection extends StatelessWidget { - const STeamSection({super.key}); - - @override - Widget build(BuildContext context) { - return SettingsSection( - title: 'settingsView.teamSectionTitle', - children: <Widget>[ - ListTile( - contentPadding: const EdgeInsets.symmetric(horizontal: 20.0), - title: I18nText( - 'settingsView.contributorsLabel', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('settingsView.contributorsHint'), - onTap: () => _settingsViewModel.navigateToContributors(), - ), - const SocialMediaWidget( - padding: EdgeInsets.symmetric(horizontal: 20.0), - ), - ], - ); - } -} diff --git a/lib/ui/widgets/settingsView/settings_tile_dialog.dart b/lib/ui/widgets/settingsView/settings_tile_dialog.dart deleted file mode 100644 index ce3a817d..00000000 --- a/lib/ui/widgets/settingsView/settings_tile_dialog.dart +++ /dev/null @@ -1,35 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; - -class SettingsTileDialog extends StatelessWidget { - const SettingsTileDialog({ - Key? key, - required this.title, - required this.subtitle, - required this.onTap, - this.padding, - }) : super(key: key); - final String title; - final String subtitle; - final Function()? onTap; - final EdgeInsetsGeometry? padding; - - @override - Widget build(BuildContext context) { - return ListTile( - contentPadding: padding ?? EdgeInsets.zero, - title: I18nText( - title, - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText(subtitle), - onTap: onTap, - ); - } -} diff --git a/lib/ui/widgets/settingsView/social_media_item.dart b/lib/ui/widgets/settingsView/social_media_item.dart deleted file mode 100644 index 86971a27..00000000 --- a/lib/ui/widgets/settingsView/social_media_item.dart +++ /dev/null @@ -1,50 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:url_launcher/url_launcher.dart'; - -class SocialMediaItem extends StatelessWidget { - const SocialMediaItem({ - Key? key, - this.icon, - required this.title, - this.subtitle, - this.url, - }) : super(key: key); - final Widget? icon; - final Widget title; - final Widget? subtitle; - final String? url; - - @override - Widget build(BuildContext context) { - return ListTile( - shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16.0)), - contentPadding: EdgeInsets.zero, - leading: SizedBox( - width: 48.0, - child: Center( - child: icon, - ), - ), - title: DefaultTextStyle( - style: Theme.of(context).textTheme.bodyMedium!.copyWith( - color: Theme.of(context).colorScheme.onSecondaryContainer, - ), - child: title, - ), - subtitle: subtitle != null - ? DefaultTextStyle( - style: Theme.of(context).textTheme.bodyMedium!.copyWith( - color: Theme.of(context).colorScheme.primary, - ), - child: subtitle!, - ) - : null, - onTap: () => url != null - ? launchUrl( - Uri.parse(url!), - mode: LaunchMode.externalApplication, - ) - : null, - ); - } -} diff --git a/lib/ui/widgets/settingsView/social_media_widget.dart b/lib/ui/widgets/settingsView/social_media_widget.dart deleted file mode 100644 index 73a6a2ee..00000000 --- a/lib/ui/widgets/settingsView/social_media_widget.dart +++ /dev/null @@ -1,88 +0,0 @@ -import 'package:expandable/expandable.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:font_awesome_flutter/font_awesome_flutter.dart'; -import 'package:revanced_manager/ui/widgets/settingsView/social_media_item.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; - -class SocialMediaWidget extends StatelessWidget { - const SocialMediaWidget({ - Key? key, - this.padding, - }) : super(key: key); - final EdgeInsetsGeometry? padding; - - @override - Widget build(BuildContext context) { - return ExpandablePanel( - theme: ExpandableThemeData( - hasIcon: true, - iconColor: Theme.of(context).iconTheme.color, - iconPadding: const EdgeInsets.symmetric(vertical: 16.0) - .add(padding ?? EdgeInsets.zero) - .resolve(Directionality.of(context)), - animationDuration: const Duration(milliseconds: 400), - ), - header: ListTile( - contentPadding: padding ?? EdgeInsets.zero, - title: I18nText( - 'socialMediaCard.widgetTitle', - child: const Text( - '', - style: TextStyle( - fontSize: 20, - fontWeight: FontWeight.w500, - ), - ), - ), - subtitle: I18nText('socialMediaCard.widgetSubtitle'), - ), - expanded: Padding( - padding: padding ?? EdgeInsets.zero, - child: const CustomCard( - child: Column( - children: <Widget>[ - SocialMediaItem( - icon: FaIcon(FontAwesomeIcons.github), - title: Text('GitHub'), - subtitle: Text('github.com/revanced'), - url: 'https://github.com/revanced', - ), - SocialMediaItem( - icon: FaIcon(FontAwesomeIcons.discord), - title: Text('Discord'), - subtitle: Text('discord.gg/revanced'), - url: 'https://discord.gg/rF2YcEjcrT', - ), - SocialMediaItem( - icon: FaIcon(FontAwesomeIcons.telegram), - title: Text('Telegram'), - subtitle: Text('t.me/app_revanced'), - url: 'https://t.me/app_revanced', - ), - SocialMediaItem( - icon: FaIcon(FontAwesomeIcons.reddit), - title: Text('Reddit'), - subtitle: Text('r/revancedapp'), - url: 'https://reddit.com/r/revancedapp', - ), - SocialMediaItem( - icon: FaIcon(FontAwesomeIcons.twitter), - title: Text('Twitter'), - subtitle: Text('@revancedapp'), - url: 'https://twitter.com/revancedapp', - ), - SocialMediaItem( - icon: FaIcon(FontAwesomeIcons.youtube), - title: Text('YouTube'), - subtitle: Text('youtube.com/revanced'), - url: 'https://youtube.com/revanced', - ), - ], - ), - ), - ), - collapsed: const SizedBox(), - ); - } -} diff --git a/lib/ui/widgets/shared/application_item.dart b/lib/ui/widgets/shared/application_item.dart deleted file mode 100644 index 42eee351..00000000 --- a/lib/ui/widgets/shared/application_item.dart +++ /dev/null @@ -1,165 +0,0 @@ -import 'dart:typed_data'; - -import 'package:expandable/expandable.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_i18n/flutter_i18n.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_card.dart'; -import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart'; -import 'package:timeago/timeago.dart'; - -class ApplicationItem extends StatefulWidget { - const ApplicationItem({ - Key? key, - required this.icon, - required this.name, - required this.patchDate, - required this.changelog, - required this.isUpdatableApp, - required this.onPressed, - }) : super(key: key); - final Uint8List icon; - final String name; - final DateTime patchDate; - final List<String> changelog; - final bool isUpdatableApp; - final Function() onPressed; - - @override - State<ApplicationItem> createState() => _ApplicationItemState(); -} - -class _ApplicationItemState extends State<ApplicationItem> - with TickerProviderStateMixin { - late AnimationController _animationController; - - @override - void initState() { - super.initState(); - _animationController = AnimationController( - vsync: this, - duration: const Duration(milliseconds: 300), - ); - } - - @override - void dispose() { - _animationController.dispose(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - final ExpandableController expController = ExpandableController(); - return Container( - margin: const EdgeInsets.only(bottom: 16.0), - child: CustomCard( - onTap: () { - expController.toggle(); - _animationController.isCompleted - ? _animationController.reverse() - : _animationController.forward(); - }, - child: ExpandablePanel( - controller: expController, - theme: const ExpandableThemeData( - inkWellBorderRadius: BorderRadius.all(Radius.circular(16)), - tapBodyToCollapse: false, - tapBodyToExpand: false, - tapHeaderToExpand: false, - hasIcon: false, - animationDuration: Duration(milliseconds: 450), - ), - header: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Flexible( - child: Row( - children: [ - SizedBox( - width: 40, - child: Image.memory(widget.icon, height: 40, width: 40), - ), - const SizedBox(width: 19), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - Text( - widget.name, - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - Text( - format(widget.patchDate), - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), - ), - ], - ), - ), - ], - ), - ), - Row( - children: [ - RotationTransition( - turns: Tween(begin: 0.0, end: 0.50) - .animate(_animationController), - child: const Padding( - padding: EdgeInsets.all(8.0), - child: Icon(Icons.arrow_drop_down), - ), - ), - const SizedBox(width: 8), - Column( - mainAxisAlignment: MainAxisAlignment.center, - crossAxisAlignment: CrossAxisAlignment.end, - children: <Widget>[ - CustomMaterialButton( - label: widget.isUpdatableApp - ? I18nText('applicationItem.patchButton') - : I18nText('applicationItem.infoButton'), - onPressed: widget.onPressed, - ), - ], - ), - ], - ), - ], - ), - collapsed: const SizedBox(), - expanded: Padding( - padding: const EdgeInsets.only( - top: 16.0, - left: 4.0, - right: 4.0, - bottom: 4.0, - ), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: <Widget>[ - I18nText( - 'applicationItem.changelogLabel', - child: const Text( - '', - style: TextStyle(fontWeight: FontWeight.w700), - ), - ), - const SizedBox(height: 4), - Text('\u2022 ${widget.changelog.join('\n\u2022 ')}'), - ], - ), - ), - ), - ), - ); - } -} diff --git a/lib/ui/widgets/shared/custom_card.dart b/lib/ui/widgets/shared/custom_card.dart deleted file mode 100644 index 34b3c728..00000000 --- a/lib/ui/widgets/shared/custom_card.dart +++ /dev/null @@ -1,37 +0,0 @@ -import 'package:flutter/material.dart'; - -class CustomCard extends StatelessWidget { - const CustomCard({ - Key? key, - this.isFilled = true, - required this.child, - this.onTap, - this.padding, - this.backgroundColor, - }) : super(key: key); - final bool isFilled; - final Widget child; - final Function()? onTap; - final EdgeInsetsGeometry? padding; - final Color? backgroundColor; - - @override - Widget build(BuildContext context) { - return Material( - type: isFilled ? MaterialType.card : MaterialType.transparency, - color: isFilled - ? backgroundColor?.withOpacity(0.4) ?? - Theme.of(context).colorScheme.secondaryContainer.withOpacity(0.4) - : backgroundColor ?? Colors.transparent, - borderRadius: BorderRadius.circular(16), - child: InkWell( - onTap: onTap, - borderRadius: BorderRadius.circular(16), - child: Padding( - padding: padding ?? const EdgeInsets.all(20.0), - child: child, - ), - ), - ); - } -} diff --git a/lib/ui/widgets/shared/custom_chip.dart b/lib/ui/widgets/shared/custom_chip.dart deleted file mode 100644 index 8f3bb418..00000000 --- a/lib/ui/widgets/shared/custom_chip.dart +++ /dev/null @@ -1,41 +0,0 @@ -import 'package:flutter/material.dart'; - -class CustomChip extends StatelessWidget { - const CustomChip({ - Key? key, - required this.label, - this.isSelected = false, - this.onSelected, - }) : super(key: key); - final Widget label; - final bool isSelected; - final Function(bool)? onSelected; - - @override - Widget build(BuildContext context) { - return RawChip( - showCheckmark: false, - label: label, - selected: isSelected, - labelStyle: Theme.of(context).textTheme.titleSmall!.copyWith( - color: isSelected - ? Theme.of(context).colorScheme.primary - : Theme.of(context).colorScheme.secondary, - fontWeight: FontWeight.w500, - ), - backgroundColor: Colors.transparent, - selectedColor: Theme.of(context).colorScheme.secondaryContainer, - padding: const EdgeInsets.all(10), - onSelected: onSelected, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(12), - side: isSelected - ? BorderSide.none - : BorderSide( - width: 0.2, - color: Theme.of(context).colorScheme.secondary, - ), - ), - ); - } -} diff --git a/lib/ui/widgets/shared/custom_material_button.dart b/lib/ui/widgets/shared/custom_material_button.dart deleted file mode 100644 index 2ff80e4c..00000000 --- a/lib/ui/widgets/shared/custom_material_button.dart +++ /dev/null @@ -1,126 +0,0 @@ -import 'package:flutter/material.dart'; - -class CustomMaterialButton extends StatelessWidget { - const CustomMaterialButton({ - Key? key, - required this.label, - this.isFilled = true, - this.isExpanded = false, - required this.onPressed, - }) : super(key: key); - final Widget label; - final bool isFilled; - final bool isExpanded; - final Function()? onPressed; - - @override - Widget build(BuildContext context) { - return TextButton( - style: ButtonStyle( - padding: MaterialStateProperty.all( - isExpanded - ? const EdgeInsets.symmetric(horizontal: 24, vertical: 12) - : const EdgeInsets.symmetric(horizontal: 20, vertical: 12), - ), - shape: MaterialStateProperty.all( - StadiumBorder( - side: isFilled - ? BorderSide.none - : BorderSide( - color: Theme.of(context).colorScheme.primary, - ), - ), - ), - backgroundColor: MaterialStateProperty.all( - isFilled ? Theme.of(context).colorScheme.primary : Colors.transparent, - ), - foregroundColor: MaterialStateProperty.all( - isFilled - ? Theme.of(context).colorScheme.surface - : Theme.of(context).colorScheme.primary, - ), - ), - onPressed: onPressed, - child: label, - ); - } -} - -// ignore: must_be_immutable -class TimerButton extends StatefulWidget { - TimerButton({ - Key? key, - required this.seconds, - required this.isRunning, - required this.onTimerEnd, - this.label = const Text(''), - this.isFilled = true, - }) : super(key: key); - Widget label; - bool isFilled; - int seconds; - final bool isRunning; - final Function()? onTimerEnd; - - @override - State<TimerButton> createState() => _TimerButtonState(); -} - -class _TimerButtonState extends State<TimerButton> { - void timer(int seconds) { - Future.delayed(const Duration(seconds: 1), () { - if (seconds > 0) { - setState(() { - seconds--; - }); - timer(seconds); - } else { - widget.onTimerEnd!(); - } - }); - } - - @override - void initState() { - //decrement seconds - if (widget.isRunning) { - timer(widget.seconds); - } - super.initState(); - } - - @override - Widget build(BuildContext build) { - return TextButton( - style: ButtonStyle( - shape: MaterialStateProperty.all( - StadiumBorder( - side: widget.isFilled - ? BorderSide.none - : BorderSide( - color: Theme.of(context).colorScheme.primary, - ), - ), - ), - backgroundColor: MaterialStateProperty.all( - widget.isFilled - ? Theme.of(context).colorScheme.primary - : Colors.transparent, - ), - foregroundColor: MaterialStateProperty.all( - widget.isFilled - ? Theme.of(context).colorScheme.surface - : Theme.of(context).colorScheme.primary, - ), - ), - onPressed: widget.isRunning ? null : widget.onTimerEnd, - child: Text( - widget.isRunning ? '${widget.seconds}' : 'Install', - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w600, - ), - ), - ); - } -} diff --git a/lib/ui/widgets/shared/custom_popup_menu.dart b/lib/ui/widgets/shared/custom_popup_menu.dart deleted file mode 100644 index aaf24125..00000000 --- a/lib/ui/widgets/shared/custom_popup_menu.dart +++ /dev/null @@ -1,39 +0,0 @@ -import 'package:flutter/material.dart'; - -class CustomPopupMenu extends StatelessWidget { - const CustomPopupMenu({ - Key? key, - required this.onSelected, - required this.children, - }) : super(key: key); - final Function(dynamic) onSelected; - final Map<int, Widget> children; - - @override - Widget build(BuildContext context) { - return Theme( - data: Theme.of(context).copyWith(useMaterial3: false), - child: PopupMenuButton<int>( - icon: Icon( - Icons.more_vert, - color: Theme.of(context).colorScheme.secondary, - ), - onSelected: onSelected, - itemBuilder: (context) => children.entries - .map( - (entry) => PopupMenuItem<int>( - padding: const EdgeInsets.all(16.0).copyWith(right: 20), - value: entry.key, - child: entry.value, - ), - ) - .toList(), - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(24), - ), - color: Theme.of(context).colorScheme.secondaryContainer, - position: PopupMenuPosition.under, - ), - ); - } -} diff --git a/lib/ui/widgets/shared/custom_sliver_app_bar.dart b/lib/ui/widgets/shared/custom_sliver_app_bar.dart deleted file mode 100644 index 144bd6ab..00000000 --- a/lib/ui/widgets/shared/custom_sliver_app_bar.dart +++ /dev/null @@ -1,50 +0,0 @@ -import 'package:flutter/material.dart'; - -class CustomSliverAppBar extends StatelessWidget { - const CustomSliverAppBar({ - Key? key, - required this.title, - this.actions, - this.bottom, - this.isMainView = false, - this.onBackButtonPressed, - }) : super(key: key); - final Widget title; - final List<Widget>? actions; - final PreferredSizeWidget? bottom; - final bool isMainView; - final Function()? onBackButtonPressed; - - @override - Widget build(BuildContext context) { - return SliverAppBar( - pinned: true, - expandedHeight: 100.0, - automaticallyImplyLeading: !isMainView, - flexibleSpace: FlexibleSpaceBar( - titlePadding: EdgeInsets.only( - bottom: bottom != null ? 16.0 : 14.0, - left: isMainView ? 20.0 : 55.0, - ), - title: title, - ), - leading: isMainView - ? null - : IconButton( - icon: Icon( - Icons.arrow_back, - color: Theme.of(context).textTheme.titleLarge!.color, - ), - onPressed: - onBackButtonPressed ?? () => Navigator.of(context).pop(), - ), - backgroundColor: MaterialStateColor.resolveWith( - (states) => states.contains(MaterialState.scrolledUnder) - ? Theme.of(context).colorScheme.surface - : Theme.of(context).canvasColor, - ), - actions: actions, - bottom: bottom, - ); - } -} diff --git a/lib/ui/widgets/shared/open_container_wrapper.dart b/lib/ui/widgets/shared/open_container_wrapper.dart deleted file mode 100644 index f5b1c642..00000000 --- a/lib/ui/widgets/shared/open_container_wrapper.dart +++ /dev/null @@ -1,26 +0,0 @@ -import 'package:animations/animations.dart'; -import 'package:flutter/material.dart'; - -class OpenContainerWrapper extends StatelessWidget { - const OpenContainerWrapper({ - Key? key, - required this.openBuilder, - required this.closedBuilder, - }) : super(key: key); - final OpenContainerBuilder openBuilder; - final CloseContainerBuilder closedBuilder; - - @override - Widget build(BuildContext context) { - return OpenContainer( - openBuilder: openBuilder, - closedBuilder: closedBuilder, - transitionDuration: const Duration(milliseconds: 400), - openColor: Theme.of(context).colorScheme.primary, - closedColor: Colors.transparent, - closedShape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(16), - ), - ); - } -} diff --git a/lib/ui/widgets/shared/search_bar.dart b/lib/ui/widgets/shared/search_bar.dart deleted file mode 100644 index e48e3031..00000000 --- a/lib/ui/widgets/shared/search_bar.dart +++ /dev/null @@ -1,84 +0,0 @@ -import 'package:flutter/material.dart'; - -class SearchBar extends StatefulWidget { - const SearchBar({ - Key? key, - required this.hintText, - this.showSelectIcon = false, - this.onSelectAll, - required this.onQueryChanged, - }) : super(key: key); - final String? hintText; - final bool showSelectIcon; - final Function(bool)? onSelectAll; - - final Function(String) onQueryChanged; - - @override - State<SearchBar> createState() => _SearchBarState(); -} - -class _SearchBarState extends State<SearchBar> { - final TextEditingController _textController = TextEditingController(); - bool _toggleSelectAll = false; - - @override - Widget build(BuildContext context) { - return Container( - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(48), - color: Theme.of(context).colorScheme.secondaryContainer, - ), - child: Row( - children: <Widget>[ - Expanded( - child: TextFormField( - onChanged: widget.onQueryChanged, - controller: _textController, - style: TextStyle( - color: Theme.of(context).colorScheme.secondary, - ), - decoration: InputDecoration( - filled: true, - fillColor: Theme.of(context).colorScheme.secondaryContainer, - contentPadding: const EdgeInsets.all(12.0), - hintText: widget.hintText, - prefixIcon: Icon( - Icons.search, - color: Theme.of(context).colorScheme.secondary, - ), - suffixIcon: _textController.text.isNotEmpty - ? IconButton( - icon: const Icon(Icons.clear), - onPressed: () { - _textController.clear(); - widget.onQueryChanged(''); - }, - ) - : widget.showSelectIcon - ? IconButton( - icon: _toggleSelectAll - ? const Icon(Icons.deselect) - : const Icon(Icons.select_all), - onPressed: widget.onSelectAll != null - ? () { - setState(() { - _toggleSelectAll = !_toggleSelectAll; - }); - widget.onSelectAll!(_toggleSelectAll); - } - : () => {}, - ) - : null, - border: OutlineInputBorder( - borderRadius: BorderRadius.circular(100), - borderSide: BorderSide.none, - ), - ), - ), - ), - ], - ), - ); - } -} diff --git a/lib/utils/about_info.dart b/lib/utils/about_info.dart deleted file mode 100644 index 0b7dcffc..00000000 --- a/lib/utils/about_info.dart +++ /dev/null @@ -1,17 +0,0 @@ -import 'package:device_info_plus/device_info_plus.dart'; -import 'package:flutter/foundation.dart'; -import 'package:package_info_plus/package_info_plus.dart'; - -class AboutInfo { - static Future<Map<String, dynamic>> getInfo() async { - final packageInfo = await PackageInfo.fromPlatform(); - final info = await DeviceInfoPlugin().androidInfo; - return { - 'version': packageInfo.version, - 'flavor': kReleaseMode ? 'release' : 'debug', - 'model': info.model, - 'androidVersion': info.version.release, - 'supportedArch': info.supportedAbis, - }; - } -} diff --git a/lib/utils/check_for_supported_patch.dart b/lib/utils/check_for_supported_patch.dart deleted file mode 100644 index 11c665d0..00000000 --- a/lib/utils/check_for_supported_patch.dart +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:revanced_manager/app/app.locator.dart'; -import 'package:revanced_manager/models/patch.dart'; -import 'package:revanced_manager/models/patched_application.dart'; -import 'package:revanced_manager/ui/views/patcher/patcher_viewmodel.dart'; - -bool isPatchSupported(Patch patch) { - final PatchedApplication app = locator<PatcherViewModel>().selectedApp!; - return patch.compatiblePackages.isEmpty || - patch.compatiblePackages.any( - (pack) => - pack.name == app.packageName && - (pack.versions.isEmpty || pack.versions.contains(app.version)), - ); -} diff --git a/lib/utils/string.dart b/lib/utils/string.dart deleted file mode 100644 index 47e54264..00000000 --- a/lib/utils/string.dart +++ /dev/null @@ -1,8 +0,0 @@ -extension StringCasingExtension on String { - String toCapitalized() => - length > 0 ? '${this[0].toUpperCase()}${substring(1).toLowerCase()}' : ''; - String toTitleCase() => replaceAll(RegExp(' +'), ' ') - .split(' ') - .map((str) => str.toCapitalized()) - .join(' '); -} diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 04a34f64..00000000 --- a/package-lock.json +++ /dev/null @@ -1,7179 +0,0 @@ -{ - "name": "revanced-manager", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "devDependencies": { - "@saithodev/semantic-release-backmerge": "^3.1.0", - "@semantic-release/changelog": "^6.0.3", - "@semantic-release/git": "^10.0.1", - "semantic-release": "^21.0.1", - "semantic-release-export-data": "^1.0.1", - "semantic-release-flutter-plugin": "^1.1.2" - } - }, - "node_modules/@actions/core": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.0.tgz", - "integrity": "sha512-2aZDDa3zrrZbP5ZYg159sNoLRb61nQ7awl5pSvIq5Qpj81vwDzdMRKzkWJGJuwVvWpvZKx7vspJALyvaaIQyug==", - "dev": true, - "dependencies": { - "@actions/http-client": "^2.0.1", - "uuid": "^8.3.2" - } - }, - "node_modules/@actions/http-client": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.1.0.tgz", - "integrity": "sha512-BonhODnXr3amchh4qkmjPMUO8mFi/zLaaCeCAJZqch8iQqyDnVIkySjB38VHAC8IJ+bnlgfOqlhpyCUZHlQsqw==", - "dev": true, - "dependencies": { - "tunnel": "^0.0.6" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@octokit/auth-token": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.3.tgz", - "integrity": "sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/core": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.2.0.tgz", - "integrity": "sha512-AgvDRUg3COpR82P7PBdGZF/NNqGmtMq2NiPqeSsDIeCfYFOZ9gddqWNQHnFdEUf+YwOj4aZYmJnlPp7OXmDIDg==", - "dev": true, - "dependencies": { - "@octokit/auth-token": "^3.0.0", - "@octokit/graphql": "^5.0.0", - "@octokit/request": "^6.0.0", - "@octokit/request-error": "^3.0.0", - "@octokit/types": "^9.0.0", - "before-after-hook": "^2.2.0", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/endpoint": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.5.tgz", - "integrity": "sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/graphql": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.5.tgz", - "integrity": "sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ==", - "dev": true, - "dependencies": { - "@octokit/request": "^6.0.0", - "@octokit/types": "^9.0.0", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/openapi-types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", - "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==", - "dev": true - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.0.0.tgz", - "integrity": "sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "@octokit/core": ">=4" - } - }, - "node_modules/@octokit/plugin-request-log": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", - "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", - "dev": true, - "peerDependencies": { - "@octokit/core": ">=3" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.0.1.tgz", - "integrity": "sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0", - "deprecation": "^2.3.1" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "@octokit/core": ">=3" - } - }, - "node_modules/@octokit/request": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.3.tgz", - "integrity": "sha512-TNAodj5yNzrrZ/VxP+H5HiYaZep0H3GU0O7PaF+fhDrt8FPrnkei9Aal/txsN/1P7V3CPiThG0tIvpPDYUsyAA==", - "dev": true, - "dependencies": { - "@octokit/endpoint": "^7.0.0", - "@octokit/request-error": "^3.0.0", - "@octokit/types": "^9.0.0", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.7", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/request-error": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz", - "integrity": "sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0", - "deprecation": "^2.0.0", - "once": "^1.4.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/rest": { - "version": "19.0.7", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.7.tgz", - "integrity": "sha512-HRtSfjrWmWVNp2uAkEpQnuGMJsu/+dBr47dRc5QVgsCbnIc1+GFEaoKBWkYG+zjrsHpSqcAElMio+n10c0b5JA==", - "dev": true, - "dependencies": { - "@octokit/core": "^4.1.0", - "@octokit/plugin-paginate-rest": "^6.0.0", - "@octokit/plugin-request-log": "^1.0.4", - "@octokit/plugin-rest-endpoint-methods": "^7.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/types": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-9.0.0.tgz", - "integrity": "sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^16.0.0" - } - }, - "node_modules/@pnpm/config.env-replace": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.0.0.tgz", - "integrity": "sha512-ZVPVDi1E8oeXlYqkGRtX0CkzLTwE2zt62bjWaWKaAvI8NZqHzlMvGeSNDpW+JB3+aKanYb4UETJOF1/CxGPemA==", - "dev": true, - "engines": { - "node": ">=12.22.0" - } - }, - "node_modules/@pnpm/network.ca-file": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz", - "integrity": "sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==", - "dev": true, - "dependencies": { - "graceful-fs": "4.2.10" - }, - "engines": { - "node": ">=12.22.0" - } - }, - "node_modules/@pnpm/network.ca-file/node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true - }, - "node_modules/@pnpm/npm-conf": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.1.0.tgz", - "integrity": "sha512-Oe6ntvgsMTE3hDIqy6sajqHF+MnzJrOF06qC2QSiUEybLL7cp6tjoKUa32gpd9+KPVl4QyMs3E3nsXrx/Vdnlw==", - "dev": true, - "dependencies": { - "@pnpm/config.env-replace": "^1.0.0", - "@pnpm/network.ca-file": "^1.0.1", - "config-chain": "^1.1.11" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@saithodev/semantic-release-backmerge": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@saithodev/semantic-release-backmerge/-/semantic-release-backmerge-3.1.0.tgz", - "integrity": "sha512-92AN5eI8svpxeUD6cw2JjCrHHZVlWIxQ67SiSSwoI1UP4N5QohCOf9O/W3OUApxKg3C8Y0RpGt7TUpGEwGhXhw==", - "dev": true, - "dependencies": { - "@semantic-release/error": "^3.0.0", - "aggregate-error": "^3.1.0", - "debug": "^4.3.4", - "execa": "^5.1.1", - "lodash": "^4.17.21", - "semantic-release": ">=20.0.0" - } - }, - "node_modules/@semantic-release/changelog": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/@semantic-release/changelog/-/changelog-6.0.3.tgz", - "integrity": "sha512-dZuR5qByyfe3Y03TpmCvAxCyTnp7r5XwtHRf/8vD9EAn4ZWbavUX8adMtXYzE86EVh0gyLA7lm5yW4IV30XUag==", - "dev": true, - "dependencies": { - "@semantic-release/error": "^3.0.0", - "aggregate-error": "^3.0.0", - "fs-extra": "^11.0.0", - "lodash": "^4.17.4" - }, - "engines": { - "node": ">=14.17" - }, - "peerDependencies": { - "semantic-release": ">=18.0.0" - } - }, - "node_modules/@semantic-release/commit-analyzer": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-9.0.2.tgz", - "integrity": "sha512-E+dr6L+xIHZkX4zNMe6Rnwg4YQrWNXK+rNsvwOPpdFppvZO1olE2fIgWhv89TkQErygevbjsZFSIxp+u6w2e5g==", - "dev": true, - "dependencies": { - "conventional-changelog-angular": "^5.0.0", - "conventional-commits-filter": "^2.0.0", - "conventional-commits-parser": "^3.2.3", - "debug": "^4.0.0", - "import-from": "^4.0.0", - "lodash": "^4.17.4", - "micromatch": "^4.0.2" - }, - "engines": { - "node": ">=14.17" - }, - "peerDependencies": { - "semantic-release": ">=18.0.0-beta.1" - } - }, - "node_modules/@semantic-release/error": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-3.0.0.tgz", - "integrity": "sha512-5hiM4Un+tpl4cKw3lV4UgzJj+SmfNIDCLLw0TepzQxz9ZGV5ixnqkzIVF+3tp0ZHgcMKE+VNGHJjEeyFG2dcSw==", - "dev": true, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/@semantic-release/git": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/@semantic-release/git/-/git-10.0.1.tgz", - "integrity": "sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==", - "dev": true, - "dependencies": { - "@semantic-release/error": "^3.0.0", - "aggregate-error": "^3.0.0", - "debug": "^4.0.0", - "dir-glob": "^3.0.0", - "execa": "^5.0.0", - "lodash": "^4.17.4", - "micromatch": "^4.0.0", - "p-reduce": "^2.0.0" - }, - "engines": { - "node": ">=14.17" - }, - "peerDependencies": { - "semantic-release": ">=18.0.0" - } - }, - "node_modules/@semantic-release/github": { - "version": "8.0.7", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-8.0.7.tgz", - "integrity": "sha512-VtgicRIKGvmTHwm//iqTh/5NGQwsncOMR5vQK9pMT92Aem7dv37JFKKRuulUsAnUOIlO4G8wH3gPiBAA0iW0ww==", - "dev": true, - "dependencies": { - "@octokit/rest": "^19.0.0", - "@semantic-release/error": "^3.0.0", - "aggregate-error": "^3.0.0", - "bottleneck": "^2.18.1", - "debug": "^4.0.0", - "dir-glob": "^3.0.0", - "fs-extra": "^11.0.0", - "globby": "^11.0.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "issue-parser": "^6.0.0", - "lodash": "^4.17.4", - "mime": "^3.0.0", - "p-filter": "^2.0.0", - "p-retry": "^4.0.0", - "url-join": "^4.0.0" - }, - "engines": { - "node": ">=14.17" - }, - "peerDependencies": { - "semantic-release": ">=18.0.0-beta.1" - } - }, - "node_modules/@semantic-release/npm": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-10.0.2.tgz", - "integrity": "sha512-Mo0XoBza4pUapxiBhLLYXeSZ9tkuHDUd/WvMbpilwuPRfJDnQXMqx5tBVon8d2mBk8JXmXpqB+ExhlWJmVT40A==", - "dev": true, - "dependencies": { - "@semantic-release/error": "^3.0.0", - "aggregate-error": "^4.0.1", - "execa": "^7.0.0", - "fs-extra": "^11.0.0", - "lodash-es": "^4.17.21", - "nerf-dart": "^1.0.0", - "normalize-url": "^8.0.0", - "npm": "^9.5.0", - "rc": "^1.2.8", - "read-pkg": "^7.0.0", - "registry-auth-token": "^5.0.0", - "semver": "^7.1.2", - "tempy": "^3.0.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "semantic-release": ">=20.1.0" - } - }, - "node_modules/@semantic-release/npm/node_modules/aggregate-error": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", - "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", - "dev": true, - "dependencies": { - "clean-stack": "^4.0.0", - "indent-string": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/clean-stack": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", - "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/crypto-random-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz", - "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==", - "dev": true, - "dependencies": { - "type-fest": "^1.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/crypto-random-string/node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/execa": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", - "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": "^14.18.0 || ^16.14.0 || >=18.0.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/@semantic-release/npm/node_modules/human-signals": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", - "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", - "dev": true, - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/@semantic-release/npm/node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/normalize-url": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz", - "integrity": "sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==", - "dev": true, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/read-pkg": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-7.1.0.tgz", - "integrity": "sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.1", - "normalize-package-data": "^3.0.2", - "parse-json": "^5.2.0", - "type-fest": "^2.0.0" - }, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/tempy": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.0.0.tgz", - "integrity": "sha512-B2I9X7+o2wOaW4r/CWMkpOO9mdiTRCxXNgob6iGvPmfPWgH/KyUD6Uy5crtWBxIBe3YrNZKR2lSzv1JJKWD4vA==", - "dev": true, - "dependencies": { - "is-stream": "^3.0.0", - "temp-dir": "^2.0.0", - "type-fest": "^2.12.2", - "unique-string": "^3.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/type-fest": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", - "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", - "dev": true, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/unique-string": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", - "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", - "dev": true, - "dependencies": { - "crypto-random-string": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/release-notes-generator": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-10.0.3.tgz", - "integrity": "sha512-k4x4VhIKneOWoBGHkx0qZogNjCldLPRiAjnIpMnlUh6PtaWXp/T+C9U7/TaNDDtgDa5HMbHl4WlREdxHio6/3w==", - "dev": true, - "dependencies": { - "conventional-changelog-angular": "^5.0.0", - "conventional-changelog-writer": "^5.0.0", - "conventional-commits-filter": "^2.0.0", - "conventional-commits-parser": "^3.2.3", - "debug": "^4.0.0", - "get-stream": "^6.0.0", - "import-from": "^4.0.0", - "into-stream": "^6.0.0", - "lodash": "^4.17.4", - "read-pkg-up": "^7.0.0" - }, - "engines": { - "node": ">=14.17" - }, - "peerDependencies": { - "semantic-release": ">=18.0.0-beta.1" - } - }, - "node_modules/@semantic-release/release-notes-generator/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@semantic-release/release-notes-generator/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@semantic-release/release-notes-generator/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/release-notes-generator/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@semantic-release/release-notes-generator/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@semantic-release/release-notes-generator/node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/release-notes-generator/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true - }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true - }, - "node_modules/@types/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", - "dev": true - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dev": true, - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-escapes": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-5.0.0.tgz", - "integrity": "sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==", - "dev": true, - "dependencies": { - "type-fest": "^1.0.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansicolors": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", - "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==", - "dev": true - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/argv-formatter": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz", - "integrity": "sha512-F2+Hkm9xFaRg+GkaNnbwXNDV5O6pnCFEmqyhvfC/Ic5LbgOWjJh3L+mN/s91rxVL3znE7DYVpW0GJFT+4YBgWw==", - "dev": true - }, - "node_modules/array-ify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", - "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/before-after-hook": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", - "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", - "dev": true - }, - "node_modules/bottleneck": { - "version": "2.19.5", - "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", - "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", - "dev": true - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cardinal": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz", - "integrity": "sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw==", - "dev": true, - "dependencies": { - "ansicolors": "~0.3.2", - "redeyed": "~2.1.0" - }, - "bin": { - "cdl": "bin/cdl.js" - } - }, - "node_modules/chalk": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", - "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", - "dev": true, - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/cli-table3": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", - "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0" - }, - "engines": { - "node": "10.* || >= 12.*" - }, - "optionalDependencies": { - "@colors/colors": "1.5.0" - } - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/compare-func": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", - "dev": true, - "dependencies": { - "array-ify": "^1.0.0", - "dot-prop": "^5.1.0" - } - }, - "node_modules/config-chain": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", - "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", - "dev": true, - "dependencies": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" - } - }, - "node_modules/conventional-changelog-angular": { - "version": "5.0.13", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", - "dev": true, - "dependencies": { - "compare-func": "^2.0.0", - "q": "^1.5.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-changelog-writer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", - "dev": true, - "dependencies": { - "conventional-commits-filter": "^2.0.7", - "dateformat": "^3.0.0", - "handlebars": "^4.7.7", - "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "semver": "^6.0.0", - "split": "^1.0.0", - "through2": "^4.0.0" - }, - "bin": { - "conventional-changelog-writer": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-changelog-writer/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/conventional-commits-filter": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", - "dev": true, - "dependencies": { - "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-commits-parser": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", - "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", - "dev": true, - "dependencies": { - "is-text-path": "^1.0.1", - "JSONStream": "^1.0.4", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "split2": "^3.0.0", - "through2": "^4.0.0" - }, - "bin": { - "conventional-commits-parser": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true - }, - "node_modules/cosmiconfig": { - "version": "8.1.2", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.2.tgz", - "integrity": "sha512-rmpUFKMZiawLfug8sP4NbpBSOpWftZB6UACOLEiNbnRAYM1TzgQuTWlMYFRuPgmoTCkcOxSMwQJQpJmiXv/eHw==", - "dev": true, - "dependencies": { - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/d-fischer" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decamelize-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", - "dev": true, - "dependencies": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decamelize-keys/node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/deprecation": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", - "dev": true - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dev": true, - "dependencies": { - "is-obj": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", - "dev": true, - "dependencies": { - "readable-stream": "^2.0.2" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/env-ci": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-9.0.0.tgz", - "integrity": "sha512-Q3cjr1tX9xwigprw4G8M3o7PIOO/1LYji6TyGsbD1WfMmD23etZvhgmPXJqkP788yH4dgSSK7oaIMuaayUJIfg==", - "dev": true, - "dependencies": { - "execa": "^7.0.0", - "java-properties": "^1.0.2" - }, - "engines": { - "node": "^16.14 || >=18" - } - }, - "node_modules/env-ci/node_modules/execa": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", - "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": "^14.18.0 || ^16.14.0 || >=18.0.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/env-ci/node_modules/human-signals": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", - "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", - "dev": true, - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/env-ci/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/figures": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-5.0.0.tgz", - "integrity": "sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.2.0" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-6.3.0.tgz", - "integrity": "sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==", - "dev": true, - "dependencies": { - "locate-path": "^7.1.0", - "path-exists": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/find-versions": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.1.0.tgz", - "integrity": "sha512-+iwzCJ7C5v5KgcBuueqVoNiHVoQpwiUK5XFLjf0affFTep+Wcw93tPvmb8tqujDNmzhBDPddnWV/qgWSXgq+Hg==", - "dev": true, - "dependencies": { - "semver-regex": "^4.0.5" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", - "dev": true, - "dependencies": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - } - }, - "node_modules/fs-extra": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", - "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/git-log-parser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.0.tgz", - "integrity": "sha512-rnCVNfkTL8tdNryFuaY0fYiBWEBcgF748O6ZI61rslBvr2o7U65c2/6npCRqH40vuAhtgtDiqLTJjBVdrejCzA==", - "dev": true, - "dependencies": { - "argv-formatter": "~1.0.0", - "spawn-error-forwarder": "~1.0.0", - "split2": "~1.0.0", - "stream-combiner2": "~1.1.1", - "through2": "~2.0.0", - "traverse": "~0.6.6" - } - }, - "node_modules/git-log-parser/node_modules/split2": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", - "integrity": "sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==", - "dev": true, - "dependencies": { - "through2": "~2.0.0" - } - }, - "node_modules/git-log-parser/node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" - }, - "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" - } - }, - "node_modules/hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/hook-std": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hook-std/-/hook-std-3.0.0.tgz", - "integrity": "sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/hosted-git-info": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", - "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/http-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", - "dev": true, - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dev": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/import-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/import-from/-/import-from-4.0.0.tgz", - "integrity": "sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ==", - "dev": true, - "engines": { - "node": ">=12.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true - }, - "node_modules/into-stream": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-6.0.0.tgz", - "integrity": "sha512-XHbaOAvP+uFKUFsOgoNPRjLkwB+I22JFPFe5OjTkQ0nwgj6+pSjb4NmB6VMxaPshLiOf+zcpOCBQuLwC1KHhZA==", - "dev": true, - "dependencies": { - "from2": "^2.3.0", - "p-is-promise": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, - "node_modules/is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-text-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", - "dev": true, - "dependencies": { - "text-extensions": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "node_modules/issue-parser": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-6.0.0.tgz", - "integrity": "sha512-zKa/Dxq2lGsBIXQ7CUZWTHfvxPC2ej0KfO7fIPqLlHB9J2hJ7rGhZ5rilhuufylr4RXYPzJUeFjKxz305OsNlA==", - "dev": true, - "dependencies": { - "lodash.capitalize": "^4.2.1", - "lodash.escaperegexp": "^4.1.2", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.uniqby": "^4.7.0" - }, - "engines": { - "node": ">=10.13" - } - }, - "node_modules/java-properties": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/java-properties/-/java-properties-1.0.2.tgz", - "integrity": "sha512-qjdpeo2yKlYTH7nFdK0vbZWuTCesk4o63v5iVOlhMQPfuIZQfW/HI35SjfhA+4qpg36rnFSvUK5b1m+ckIblQQ==", - "dev": true, - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", - "dev": true, - "engines": [ - "node >= 0.2.0" - ] - }, - "node_modules/JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "dev": true, - "dependencies": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - }, - "bin": { - "JSONStream": "bin.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/load-json-file/node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", - "dev": true, - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/locate-path": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", - "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", - "dev": true, - "dependencies": { - "p-locate": "^6.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "dev": true - }, - "node_modules/lodash.capitalize": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", - "integrity": "sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==", - "dev": true - }, - "node_modules/lodash.escaperegexp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", - "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", - "dev": true - }, - "node_modules/lodash.ismatch": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", - "dev": true - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "dev": true - }, - "node_modules/lodash.uniqby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", - "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", - "dev": true - }, - "node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/marked": { - "version": "4.2.12", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.12.tgz", - "integrity": "sha512-yr8hSKa3Fv4D3jdZmtMMPghgVt6TWbk86WQaWhDloQjRSQhMMYCAro7jP7VDJrjjdV8pxVxMssXS8B8Y5DZ5aw==", - "dev": true, - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/marked-terminal": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-5.1.1.tgz", - "integrity": "sha512-+cKTOx9P4l7HwINYhzbrBSyzgxO2HaHKGZGuB1orZsMIgXYaJyfidT81VXRdpelW/PcHEWxywscePVgI/oUF6g==", - "dev": true, - "dependencies": { - "ansi-escapes": "^5.0.0", - "cardinal": "^2.1.1", - "chalk": "^5.0.0", - "cli-table3": "^0.6.1", - "node-emoji": "^1.11.0", - "supports-hyperlinks": "^2.2.0" - }, - "engines": { - "node": ">=14.13.1 || >=16.0.0" - }, - "peerDependencies": { - "marked": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0" - } - }, - "node_modules/meow": { - "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", - "dev": true, - "dependencies": { - "@types/minimist": "^1.2.0", - "camelcase-keys": "^6.2.2", - "decamelize-keys": "^1.1.0", - "hard-rejection": "^2.1.0", - "minimist-options": "4.1.0", - "normalize-package-data": "^3.0.0", - "read-pkg-up": "^7.0.1", - "redent": "^3.0.0", - "trim-newlines": "^3.0.0", - "type-fest": "^0.18.0", - "yargs-parser": "^20.2.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/read-pkg-up": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", - "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", - "dev": true, - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dev": true, - "dependencies": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/modify-values": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, - "node_modules/nerf-dart": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/nerf-dart/-/nerf-dart-1.0.0.tgz", - "integrity": "sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==", - "dev": true - }, - "node_modules/node-emoji": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", - "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", - "dev": true, - "dependencies": { - "lodash": "^4.17.21" - } - }, - "node_modules/node-fetch": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", - "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", - "dev": true, - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/normalize-package-data/node_modules/hosted-git-info": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", - "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/normalize-package-data/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm": { - "version": "9.6.2", - "resolved": "https://registry.npmjs.org/npm/-/npm-9.6.2.tgz", - "integrity": "sha512-TnXoXhlFkH/9wI4+aXSq0aPLwKG7Ge17t1ME4/rQt+0DZWQCRk9PwhBuX/shqdUiHeKicSLSkzWx+QZgTRE+/A==", - "bundleDependencies": [ - "@isaacs/string-locale-compare", - "@npmcli/arborist", - "@npmcli/config", - "@npmcli/map-workspaces", - "@npmcli/package-json", - "@npmcli/run-script", - "abbrev", - "archy", - "cacache", - "chalk", - "ci-info", - "cli-columns", - "cli-table3", - "columnify", - "fastest-levenshtein", - "fs-minipass", - "glob", - "graceful-fs", - "hosted-git-info", - "ini", - "init-package-json", - "is-cidr", - "json-parse-even-better-errors", - "libnpmaccess", - "libnpmdiff", - "libnpmexec", - "libnpmfund", - "libnpmhook", - "libnpmorg", - "libnpmpack", - "libnpmpublish", - "libnpmsearch", - "libnpmteam", - "libnpmversion", - "make-fetch-happen", - "minimatch", - "minipass", - "minipass-pipeline", - "ms", - "node-gyp", - "nopt", - "npm-audit-report", - "npm-install-checks", - "npm-package-arg", - "npm-pick-manifest", - "npm-profile", - "npm-registry-fetch", - "npm-user-validate", - "npmlog", - "p-map", - "pacote", - "parse-conflict-json", - "proc-log", - "qrcode-terminal", - "read", - "read-package-json", - "read-package-json-fast", - "semver", - "ssri", - "tar", - "text-table", - "tiny-relative-date", - "treeverse", - "validate-npm-package-name", - "which", - "write-file-atomic" - ], - "dev": true, - "dependencies": { - "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^6.2.5", - "@npmcli/config": "^6.1.4", - "@npmcli/map-workspaces": "^3.0.2", - "@npmcli/package-json": "^3.0.0", - "@npmcli/run-script": "^6.0.0", - "abbrev": "^2.0.0", - "archy": "~1.0.0", - "cacache": "^17.0.4", - "chalk": "^4.1.2", - "ci-info": "^3.8.0", - "cli-columns": "^4.0.0", - "cli-table3": "^0.6.3", - "columnify": "^1.6.0", - "fastest-levenshtein": "^1.0.16", - "fs-minipass": "^3.0.1", - "glob": "^8.1.0", - "graceful-fs": "^4.2.10", - "hosted-git-info": "^6.1.1", - "ini": "^3.0.1", - "init-package-json": "^5.0.0", - "is-cidr": "^4.0.2", - "json-parse-even-better-errors": "^3.0.0", - "libnpmaccess": "^7.0.2", - "libnpmdiff": "^5.0.13", - "libnpmexec": "^5.0.13", - "libnpmfund": "^4.0.13", - "libnpmhook": "^9.0.3", - "libnpmorg": "^5.0.3", - "libnpmpack": "^5.0.13", - "libnpmpublish": "^7.1.2", - "libnpmsearch": "^6.0.2", - "libnpmteam": "^5.0.3", - "libnpmversion": "^4.0.2", - "make-fetch-happen": "^11.0.3", - "minimatch": "^6.2.0", - "minipass": "^4.2.4", - "minipass-pipeline": "^1.2.4", - "ms": "^2.1.2", - "node-gyp": "^9.3.1", - "nopt": "^7.0.0", - "npm-audit-report": "^4.0.0", - "npm-install-checks": "^6.0.0", - "npm-package-arg": "^10.1.0", - "npm-pick-manifest": "^8.0.1", - "npm-profile": "^7.0.1", - "npm-registry-fetch": "^14.0.3", - "npm-user-validate": "^2.0.0", - "npmlog": "^7.0.1", - "p-map": "^4.0.0", - "pacote": "^15.1.1", - "parse-conflict-json": "^3.0.0", - "proc-log": "^3.0.0", - "qrcode-terminal": "^0.12.0", - "read": "^2.0.0", - "read-package-json": "^6.0.0", - "read-package-json-fast": "^3.0.2", - "semver": "^7.3.8", - "ssri": "^10.0.1", - "tar": "^6.1.13", - "text-table": "~0.2.0", - "tiny-relative-date": "^1.3.0", - "treeverse": "^3.0.0", - "validate-npm-package-name": "^5.0.0", - "which": "^3.0.0", - "write-file-atomic": "^5.0.0" - }, - "bin": { - "npm": "bin/npm-cli.js", - "npx": "bin/npx-cli.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/@colors/colors": { - "version": "1.5.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.1.90" - } - }, - "node_modules/npm/node_modules/@gar/promisify": { - "version": "1.1.3", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/@isaacs/string-locale-compare": { - "version": "1.1.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "6.2.5", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/fs": "^3.1.0", - "@npmcli/installed-package-contents": "^2.0.2", - "@npmcli/map-workspaces": "^3.0.2", - "@npmcli/metavuln-calculator": "^5.0.0", - "@npmcli/name-from-folder": "^2.0.0", - "@npmcli/node-gyp": "^3.0.0", - "@npmcli/package-json": "^3.0.0", - "@npmcli/query": "^3.0.0", - "@npmcli/run-script": "^6.0.0", - "bin-links": "^4.0.1", - "cacache": "^17.0.4", - "common-ancestor-path": "^1.0.1", - "hosted-git-info": "^6.1.1", - "json-parse-even-better-errors": "^3.0.0", - "json-stringify-nice": "^1.1.4", - "minimatch": "^6.1.6", - "nopt": "^7.0.0", - "npm-install-checks": "^6.0.0", - "npm-package-arg": "^10.1.0", - "npm-pick-manifest": "^8.0.1", - "npm-registry-fetch": "^14.0.3", - "npmlog": "^7.0.1", - "pacote": "^15.0.8", - "parse-conflict-json": "^3.0.0", - "proc-log": "^3.0.0", - "promise-all-reject-late": "^1.0.0", - "promise-call-limit": "^1.0.1", - "read-package-json-fast": "^3.0.2", - "semver": "^7.3.7", - "ssri": "^10.0.1", - "treeverse": "^3.0.0", - "walk-up-path": "^1.0.0" - }, - "bin": { - "arborist": "bin/index.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/config": { - "version": "6.1.4", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/map-workspaces": "^3.0.2", - "ini": "^3.0.0", - "nopt": "^7.0.0", - "proc-log": "^3.0.0", - "read-package-json-fast": "^3.0.2", - "semver": "^7.3.5", - "walk-up-path": "^1.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/disparity-colors": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "ansi-styles": "^4.3.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/fs": { - "version": "3.1.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "semver": "^7.3.5" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/git": { - "version": "4.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/promise-spawn": "^6.0.0", - "lru-cache": "^7.4.4", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^8.0.0", - "proc-log": "^3.0.0", - "promise-inflight": "^1.0.1", - "promise-retry": "^2.0.1", - "semver": "^7.3.5", - "which": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/installed-package-contents": { - "version": "2.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-bundled": "^3.0.0", - "npm-normalize-package-bin": "^3.0.0" - }, - "bin": { - "installed-package-contents": "lib/index.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/map-workspaces": { - "version": "3.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/name-from-folder": "^2.0.0", - "glob": "^8.0.1", - "minimatch": "^6.1.6", - "read-package-json-fast": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "cacache": "^17.0.0", - "json-parse-even-better-errors": "^3.0.0", - "pacote": "^15.0.0", - "semver": "^7.3.5" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/move-file": { - "version": "2.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/name-from-folder": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/node-gyp": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/package-json": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "json-parse-even-better-errors": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/promise-spawn": { - "version": "6.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "which": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/query": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "postcss-selector-parser": "^6.0.10" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/run-script": { - "version": "6.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/node-gyp": "^3.0.0", - "@npmcli/promise-spawn": "^6.0.0", - "node-gyp": "^9.0.0", - "read-package-json-fast": "^3.0.0", - "which": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@sigstore/protobuf-specs": { - "version": "0.1.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@tootallnate/once": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/npm/node_modules/@tufjs/models": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minimatch": "^6.1.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/abbrev": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/abort-controller": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/npm/node_modules/agent-base": { - "version": "6.0.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/npm/node_modules/agentkeepalive": { - "version": "4.3.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.0", - "depd": "^2.0.0", - "humanize-ms": "^1.2.1" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/npm/node_modules/aggregate-error": { - "version": "3.1.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/ansi-regex": { - "version": "5.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/npm/node_modules/aproba": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/archy": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/are-we-there-yet": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^4.1.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/base64-js": { - "version": "1.5.1", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/bin-links": { - "version": "4.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "cmd-shim": "^6.0.0", - "npm-normalize-package-bin": "^3.0.0", - "read-cmd-shim": "^4.0.0", - "write-file-atomic": "^5.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/binary-extensions": { - "version": "2.2.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/brace-expansion": { - "version": "2.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/npm/node_modules/buffer": { - "version": "6.0.3", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "inBundle": true, - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/npm/node_modules/builtins": { - "version": "5.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "semver": "^7.0.0" - } - }, - "node_modules/npm/node_modules/cacache": { - "version": "17.0.4", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/fs": "^3.1.0", - "fs-minipass": "^3.0.0", - "glob": "^8.0.1", - "lru-cache": "^7.7.1", - "minipass": "^4.0.0", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "ssri": "^10.0.0", - "tar": "^6.1.11", - "unique-filename": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/npm/node_modules/chownr": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/ci-info": { - "version": "3.8.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/cidr-regex": { - "version": "3.1.1", - "dev": true, - "inBundle": true, - "license": "BSD-2-Clause", - "dependencies": { - "ip-regex": "^4.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/clean-stack": { - "version": "2.2.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/npm/node_modules/cli-columns": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/npm/node_modules/cli-table3": { - "version": "0.6.3", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "string-width": "^4.2.0" - }, - "engines": { - "node": "10.* || >= 12.*" - }, - "optionalDependencies": { - "@colors/colors": "1.5.0" - } - }, - "node_modules/npm/node_modules/clone": { - "version": "1.0.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/npm/node_modules/cmd-shim": { - "version": "6.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/color-convert": { - "version": "2.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/npm/node_modules/color-name": { - "version": "1.1.4", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/color-support": { - "version": "1.1.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "bin": { - "color-support": "bin.js" - } - }, - "node_modules/npm/node_modules/columnify": { - "version": "1.6.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "strip-ansi": "^6.0.1", - "wcwidth": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/npm/node_modules/common-ancestor-path": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/concat-map": { - "version": "0.0.1", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/console-control-strings": { - "version": "1.1.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/cssesc": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm/node_modules/debug": { - "version": "4.3.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/npm/node_modules/debug/node_modules/ms": { - "version": "2.1.2", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/defaults": { - "version": "1.0.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm/node_modules/delegates": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/depd": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/npm/node_modules/diff": { - "version": "5.1.0", - "dev": true, - "inBundle": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/npm/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/encoding": { - "version": "0.1.13", - "dev": true, - "inBundle": true, - "license": "MIT", - "optional": true, - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/npm/node_modules/env-paths": { - "version": "2.2.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/npm/node_modules/err-code": { - "version": "2.0.3", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/event-target-shim": { - "version": "5.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/npm/node_modules/events": { - "version": "3.3.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/npm/node_modules/fastest-levenshtein": { - "version": "1.0.16", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 4.9.1" - } - }, - "node_modules/npm/node_modules/fs-minipass": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/fs.realpath": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/function-bind": { - "version": "1.1.1", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/gauge": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.3", - "console-control-strings": "^1.1.0", - "has-unicode": "^2.0.1", - "signal-exit": "^3.0.7", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.5" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/glob": { - "version": "8.1.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/glob/node_modules/minimatch": { - "version": "5.1.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/graceful-fs": { - "version": "4.2.10", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/has": { - "version": "1.0.3", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/npm/node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/has-unicode": { - "version": "2.0.1", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/hosted-git-info": { - "version": "6.1.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/http-cache-semantics": { - "version": "4.1.1", - "dev": true, - "inBundle": true, - "license": "BSD-2-Clause" - }, - "node_modules/npm/node_modules/http-proxy-agent": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/npm/node_modules/https-proxy-agent": { - "version": "5.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/npm/node_modules/humanize-ms": { - "version": "1.2.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "ms": "^2.0.0" - } - }, - "node_modules/npm/node_modules/iconv-lite": { - "version": "0.6.3", - "dev": true, - "inBundle": true, - "license": "MIT", - "optional": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm/node_modules/ieee754": { - "version": "1.2.1", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "inBundle": true, - "license": "BSD-3-Clause" - }, - "node_modules/npm/node_modules/ignore-walk": { - "version": "6.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minimatch": "^6.1.6" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/imurmurhash": { - "version": "0.1.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/npm/node_modules/indent-string": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/infer-owner": { - "version": "1.0.4", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/inflight": { - "version": "1.0.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/npm/node_modules/inherits": { - "version": "2.0.4", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/ini": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/init-package-json": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-package-arg": "^10.0.0", - "promzard": "^1.0.0", - "read": "^2.0.0", - "read-package-json": "^6.0.0", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4", - "validate-npm-package-name": "^5.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/ip": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/ip-regex": { - "version": "4.3.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/is-cidr": { - "version": "4.0.2", - "dev": true, - "inBundle": true, - "license": "BSD-2-Clause", - "dependencies": { - "cidr-regex": "^3.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/is-core-module": { - "version": "2.11.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/npm/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/is-lambda": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/isexe": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/json-parse-even-better-errors": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/json-stringify-nice": { - "version": "1.1.4", - "dev": true, - "inBundle": true, - "license": "ISC", - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/jsonparse": { - "version": "1.3.1", - "dev": true, - "engines": [ - "node >= 0.2.0" - ], - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/just-diff": { - "version": "5.2.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/just-diff-apply": { - "version": "5.5.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/libnpmaccess": { - "version": "7.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-package-arg": "^10.1.0", - "npm-registry-fetch": "^14.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmdiff": { - "version": "5.0.13", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/arborist": "^6.2.5", - "@npmcli/disparity-colors": "^3.0.0", - "@npmcli/installed-package-contents": "^2.0.2", - "binary-extensions": "^2.2.0", - "diff": "^5.1.0", - "minimatch": "^6.1.6", - "npm-package-arg": "^10.1.0", - "pacote": "^15.0.8", - "tar": "^6.1.13" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmexec": { - "version": "5.0.13", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/arborist": "^6.2.5", - "@npmcli/run-script": "^6.0.0", - "chalk": "^4.1.0", - "ci-info": "^3.7.1", - "npm-package-arg": "^10.1.0", - "npmlog": "^7.0.1", - "pacote": "^15.0.8", - "proc-log": "^3.0.0", - "read": "^2.0.0", - "read-package-json-fast": "^3.0.2", - "semver": "^7.3.7", - "walk-up-path": "^1.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmfund": { - "version": "4.0.13", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/arborist": "^6.2.5" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmhook": { - "version": "9.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmorg": { - "version": "5.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmpack": { - "version": "5.0.13", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/arborist": "^6.2.5", - "@npmcli/run-script": "^6.0.0", - "npm-package-arg": "^10.1.0", - "pacote": "^15.0.8" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmpublish": { - "version": "7.1.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "ci-info": "^3.6.1", - "normalize-package-data": "^5.0.0", - "npm-package-arg": "^10.1.0", - "npm-registry-fetch": "^14.0.3", - "proc-log": "^3.0.0", - "semver": "^7.3.7", - "sigstore": "^1.0.0", - "ssri": "^10.0.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmsearch": { - "version": "6.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-registry-fetch": "^14.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmteam": { - "version": "5.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "aproba": "^2.0.0", - "npm-registry-fetch": "^14.0.3" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/libnpmversion": { - "version": "4.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/git": "^4.0.1", - "@npmcli/run-script": "^6.0.0", - "json-parse-even-better-errors": "^3.0.0", - "proc-log": "^3.0.0", - "semver": "^7.3.7" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/lru-cache": { - "version": "7.18.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/npm/node_modules/make-fetch-happen": { - "version": "11.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^17.0.0", - "http-cache-semantics": "^4.1.1", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^4.0.0", - "minipass-fetch": "^3.0.0", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^10.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/minimatch": { - "version": "6.2.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/minipass": { - "version": "4.2.4", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minipass-collect": { - "version": "1.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/minipass-collect/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minipass-fetch": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^4.0.0", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" - } - }, - "node_modules/npm/node_modules/minipass-flush": { - "version": "1.0.5", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/minipass-flush/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minipass-json-stream": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "jsonparse": "^1.3.1", - "minipass": "^3.0.0" - } - }, - "node_modules/npm/node_modules/minipass-json-stream/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minipass-pipeline": { - "version": "1.2.4", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minipass-pipeline/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minipass-sized": { - "version": "1.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minipass-sized/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/minizlib": { - "version": "2.1.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/mkdirp": { - "version": "1.0.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/ms": { - "version": "2.1.3", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/mute-stream": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/negotiator": { - "version": "0.6.3", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/npm/node_modules/node-gyp": { - "version": "9.3.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.6", - "make-fetch-happen": "^10.0.3", - "nopt": "^6.0.0", - "npmlog": "^6.0.0", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.2", - "which": "^2.0.2" - }, - "bin": { - "node-gyp": "bin/node-gyp.js" - }, - "engines": { - "node": "^12.13 || ^14.13 || >=16" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/@npmcli/fs": { - "version": "2.1.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@gar/promisify": "^1.1.3", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/abbrev": { - "version": "1.1.1", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/node-gyp/node_modules/are-we-there-yet": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/brace-expansion": { - "version": "1.1.11", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/cacache": { - "version": "16.1.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/fs": "^2.1.0", - "@npmcli/move-file": "^2.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "glob": "^8.0.1", - "infer-owner": "^1.0.4", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "mkdirp": "^1.0.4", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11", - "unique-filename": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/cacache/node_modules/brace-expansion": { - "version": "2.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/cacache/node_modules/glob": { - "version": "8.1.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/cacache/node_modules/minimatch": { - "version": "5.1.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/fs-minipass": { - "version": "2.1.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/gauge": { - "version": "4.0.4", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.3", - "console-control-strings": "^1.1.0", - "has-unicode": "^2.0.1", - "signal-exit": "^3.0.7", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/make-fetch-happen": { - "version": "10.2.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^16.1.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^2.0.3", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^9.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/minimatch": { - "version": "3.1.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/minipass-fetch": { - "version": "2.1.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "minipass": "^3.1.6", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/nopt": { - "version": "6.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "abbrev": "^1.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/npmlog": { - "version": "6.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "are-we-there-yet": "^3.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^4.0.3", - "set-blocking": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/readable-stream": { - "version": "3.6.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/ssri": { - "version": "9.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/unique-filename": { - "version": "2.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^3.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/unique-slug": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/node-gyp/node_modules/which": { - "version": "2.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/nopt": { - "version": "7.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "abbrev": "^2.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/normalize-package-data": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "BSD-2-Clause", - "dependencies": { - "hosted-git-info": "^6.0.0", - "is-core-module": "^2.8.1", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-audit-report": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "chalk": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-bundled": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-normalize-package-bin": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-install-checks": { - "version": "6.0.0", - "dev": true, - "inBundle": true, - "license": "BSD-2-Clause", - "dependencies": { - "semver": "^7.1.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-normalize-package-bin": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-package-arg": { - "version": "10.1.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "hosted-git-info": "^6.0.0", - "proc-log": "^3.0.0", - "semver": "^7.3.5", - "validate-npm-package-name": "^5.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-packlist": { - "version": "7.0.4", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "ignore-walk": "^6.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-pick-manifest": { - "version": "8.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-install-checks": "^6.0.0", - "npm-normalize-package-bin": "^3.0.0", - "npm-package-arg": "^10.0.0", - "semver": "^7.3.5" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-profile": { - "version": "7.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-registry-fetch": "^14.0.0", - "proc-log": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-registry-fetch": { - "version": "14.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "make-fetch-happen": "^11.0.0", - "minipass": "^4.0.0", - "minipass-fetch": "^3.0.0", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.1.2", - "npm-package-arg": "^10.0.0", - "proc-log": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npm-user-validate": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "BSD-2-Clause", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/npmlog": { - "version": "7.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "are-we-there-yet": "^4.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^5.0.0", - "set-blocking": "^2.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/once": { - "version": "1.4.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/npm/node_modules/p-map": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm/node_modules/pacote": { - "version": "15.1.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/git": "^4.0.0", - "@npmcli/installed-package-contents": "^2.0.1", - "@npmcli/promise-spawn": "^6.0.1", - "@npmcli/run-script": "^6.0.0", - "cacache": "^17.0.0", - "fs-minipass": "^3.0.0", - "minipass": "^4.0.0", - "npm-package-arg": "^10.0.0", - "npm-packlist": "^7.0.0", - "npm-pick-manifest": "^8.0.0", - "npm-registry-fetch": "^14.0.0", - "proc-log": "^3.0.0", - "promise-retry": "^2.0.1", - "read-package-json": "^6.0.0", - "read-package-json-fast": "^3.0.0", - "sigstore": "^1.0.0", - "ssri": "^10.0.0", - "tar": "^6.1.11" - }, - "bin": { - "pacote": "lib/bin.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/parse-conflict-json": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "json-parse-even-better-errors": "^3.0.0", - "just-diff": "^5.0.1", - "just-diff-apply": "^5.2.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/path-is-absolute": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm/node_modules/postcss-selector-parser": { - "version": "6.0.11", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm/node_modules/proc-log": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/process": { - "version": "0.11.10", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/npm/node_modules/promise-all-reject-late": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/promise-call-limit": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/promise-inflight": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/promise-retry": { - "version": "2.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "err-code": "^2.0.2", - "retry": "^0.12.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/promzard": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "read": "^2.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/qrcode-terminal": { - "version": "0.12.0", - "dev": true, - "inBundle": true, - "bin": { - "qrcode-terminal": "bin/qrcode-terminal.js" - } - }, - "node_modules/npm/node_modules/read": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "mute-stream": "~1.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/read-cmd-shim": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/read-package-json": { - "version": "6.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "glob": "^8.0.1", - "json-parse-even-better-errors": "^3.0.0", - "normalize-package-data": "^5.0.0", - "npm-normalize-package-bin": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/read-package-json-fast": { - "version": "3.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "json-parse-even-better-errors": "^3.0.0", - "npm-normalize-package-bin": "^3.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/readable-stream": { - "version": "4.3.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/npm/node_modules/retry": { - "version": "0.12.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/npm/node_modules/rimraf": { - "version": "3.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.11", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/npm/node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/npm/node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/npm/node_modules/safe-buffer": { - "version": "5.1.2", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/safer-buffer": { - "version": "2.1.2", - "dev": true, - "inBundle": true, - "license": "MIT", - "optional": true - }, - "node_modules/npm/node_modules/semver": { - "version": "7.3.8", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/set-blocking": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/signal-exit": { - "version": "3.0.7", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/sigstore": { - "version": "1.1.1", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/protobuf-specs": "^0.1.0", - "make-fetch-happen": "^11.0.1", - "tuf-js": "^1.0.0" - }, - "bin": { - "sigstore": "bin/sigstore.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/smart-buffer": { - "version": "4.2.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/npm/node_modules/socks": { - "version": "2.7.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "ip": "^2.0.0", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.13.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/npm/node_modules/socks-proxy-agent": { - "version": "7.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/npm/node_modules/spdx-correct": { - "version": "3.2.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/npm/node_modules/spdx-exceptions": { - "version": "2.3.0", - "dev": true, - "inBundle": true, - "license": "CC-BY-3.0" - }, - "node_modules/npm/node_modules/spdx-expression-parse": { - "version": "3.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/npm/node_modules/spdx-license-ids": { - "version": "3.0.12", - "dev": true, - "inBundle": true, - "license": "CC0-1.0" - }, - "node_modules/npm/node_modules/ssri": { - "version": "10.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/string_decoder": { - "version": "1.1.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/npm/node_modules/string-width": { - "version": "4.2.3", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/strip-ansi": { - "version": "6.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/supports-color": { - "version": "7.2.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/tar": { - "version": "6.1.13", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^4.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/tar/node_modules/fs-minipass": { - "version": "2.1.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npm/node_modules/text-table": { - "version": "0.2.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/tiny-relative-date": { - "version": "1.3.0", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/treeverse": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/tuf-js": { - "version": "1.1.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "@tufjs/models": "1.0.0", - "make-fetch-happen": "^11.0.1" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/unique-filename": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/unique-slug": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/util-deprecate": { - "version": "1.0.2", - "dev": true, - "inBundle": true, - "license": "MIT" - }, - "node_modules/npm/node_modules/validate-npm-package-license": { - "version": "3.0.4", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/npm/node_modules/validate-npm-package-name": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "builtins": "^5.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/walk-up-path": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/wcwidth": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/npm/node_modules/which": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/wide-align": { - "version": "1.1.5", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, - "node_modules/npm/node_modules/wrappy": { - "version": "1.0.2", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/write-file-atomic": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-each-series": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-3.0.0.tgz", - "integrity": "sha512-lastgtAdoH9YaLyDa5i5z64q+kzOcQHsQ5SsZJD3q0VEyI8mq872S3geuNbRUQLVAE9siMfgKrpj7MloKFHruw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-filter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz", - "integrity": "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==", - "dev": true, - "dependencies": { - "p-map": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-is-promise": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", - "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-limit": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^1.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", - "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", - "dev": true, - "dependencies": { - "p-limit": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/p-reduce": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", - "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-retry": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", - "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", - "dev": true, - "dependencies": { - "@types/retry": "0.12.0", - "retry": "^0.13.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-exists": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", - "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", - "integrity": "sha512-C+VUP+8jis7EsQZIhDYmS5qlNtjv2yP4SNtjXK9AP1ZcTRlnSfuumaTnRfYZnYgUUYVIKqL0fRvmUGDV2fmp6g==", - "dev": true, - "dependencies": { - "find-up": "^2.0.0", - "load-json-file": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf/node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", - "dev": true, - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf/node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", - "dev": true, - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf/node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf/node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", - "dev": true, - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-conf/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true - }, - "node_modules/proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true - }, - "node_modules/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", - "dev": true, - "engines": { - "node": ">=0.6.0", - "teleport": ">=0.2.0" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/rc": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", - "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", - "dev": true, - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/read-pkg-up": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-9.1.0.tgz", - "integrity": "sha512-vaMRR1AC1nrd5CQM0PhlRsO5oc2AAigqr7cCrZ/MW/Rsaflz4RlgzkpL4qoU/z1F6wrbd85iFv1OQj/y5RdGvg==", - "dev": true, - "dependencies": { - "find-up": "^6.3.0", - "read-pkg": "^7.1.0", - "type-fest": "^2.5.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/read-pkg": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-7.1.0.tgz", - "integrity": "sha512-5iOehe+WF75IccPc30bWTbpdDQLOCc3Uu8bi3Dte3Eueij81yx1Mrufk8qBx/YAbR4uL1FdUr+7BKXDwEtisXg==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.1", - "normalize-package-data": "^3.0.2", - "parse-json": "^5.2.0", - "type-fest": "^2.0.0" - }, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", - "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", - "dev": true, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, - "node_modules/read-pkg/node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/read-pkg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/readable-stream": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", - "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", - "dev": true, - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dev": true, - "dependencies": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/redeyed": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", - "integrity": "sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==", - "dev": true, - "dependencies": { - "esprima": "~4.0.0" - } - }, - "node_modules/registry-auth-token": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.0.2.tgz", - "integrity": "sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==", - "dev": true, - "dependencies": { - "@pnpm/npm-conf": "^2.1.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/retry": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", - "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/semantic-release": { - "version": "21.0.1", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-21.0.1.tgz", - "integrity": "sha512-UhGxTUXHJQCBFgEQRZszLOHDpMduDSHGq3Q+30Bu+g0GbXh/EW508+kuFHezP5m0mN8xINW8hooiR3dzSV5ZLA==", - "dev": true, - "dependencies": { - "@semantic-release/commit-analyzer": "^9.0.2", - "@semantic-release/error": "^3.0.0", - "@semantic-release/github": "^8.0.0", - "@semantic-release/npm": "^10.0.2", - "@semantic-release/release-notes-generator": "^10.0.0", - "aggregate-error": "^4.0.1", - "cosmiconfig": "^8.0.0", - "debug": "^4.0.0", - "env-ci": "^9.0.0", - "execa": "^7.0.0", - "figures": "^5.0.0", - "find-versions": "^5.1.0", - "get-stream": "^6.0.0", - "git-log-parser": "^1.2.0", - "hook-std": "^3.0.0", - "hosted-git-info": "^6.0.0", - "lodash-es": "^4.17.21", - "marked": "^4.1.0", - "marked-terminal": "^5.1.1", - "micromatch": "^4.0.2", - "p-each-series": "^3.0.0", - "p-reduce": "^3.0.0", - "read-pkg-up": "^9.1.0", - "resolve-from": "^5.0.0", - "semver": "^7.3.2", - "semver-diff": "^4.0.0", - "signale": "^1.2.1", - "yargs": "^17.5.1" - }, - "bin": { - "semantic-release": "bin/semantic-release.js" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/semantic-release-export-data": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/semantic-release-export-data/-/semantic-release-export-data-1.0.1.tgz", - "integrity": "sha512-6vlgrrzzcMi/REhQd65Bh4dfSKmgwXOJ/Q2RVlT9WsU4Ya1T2qGpkSrMfG/n6oFRrqBdbDlyZgxNd94ziW+vSg==", - "dev": true, - "dependencies": { - "@actions/core": "^1.10.0" - }, - "peerDependencies": { - "semantic-release": ">=18" - } - }, - "node_modules/semantic-release-flutter-plugin": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/semantic-release-flutter-plugin/-/semantic-release-flutter-plugin-1.1.2.tgz", - "integrity": "sha512-z0TcuNwaF9kzPXHIxGNFm/aasRJr5th1e6mf33xxAMnD2mBT55JIohguP7o01mGJEVFoc2ftbfvdtcE1+esSEA==", - "dev": true, - "dependencies": { - "semantic-release": "^21.0.1", - "semver": "^7.5.0", - "yaml": "^2.2.1" - } - }, - "node_modules/semantic-release-flutter-plugin/node_modules/yaml": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.2.2.tgz", - "integrity": "sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA==", - "dev": true, - "engines": { - "node": ">= 14" - } - }, - "node_modules/semantic-release/node_modules/aggregate-error": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", - "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", - "dev": true, - "dependencies": { - "clean-stack": "^4.0.0", - "indent-string": "^5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/clean-stack": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", - "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "5.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/execa": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.1.1.tgz", - "integrity": "sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^3.0.7", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": "^14.18.0 || ^16.14.0 || >=18.0.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/semantic-release/node_modules/human-signals": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.0.tgz", - "integrity": "sha512-zyzVyMjpGBX2+6cDVZeFPCdtOtdsxOeseRhB9tkQ6xXmGUNrcnBzdEKPy3VPNYz+4gy1oukVOXcrJCunSyc6QQ==", - "dev": true, - "engines": { - "node": ">=14.18.0" - } - }, - "node_modules/semantic-release/node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/npm-run-path": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", - "integrity": "sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/p-reduce": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-3.0.0.tgz", - "integrity": "sha512-xsrIUgI0Kn6iyDYm9StOpOeK29XM1aboGji26+QEortiFST1hGZaUQOLhtEbqHErPpGW/aSz6allwK2qcptp0Q==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-4.0.0.tgz", - "integrity": "sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==", - "dev": true, - "dependencies": { - "semver": "^7.3.5" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semver-regex": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-4.0.5.tgz", - "integrity": "sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/signale": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/signale/-/signale-1.4.0.tgz", - "integrity": "sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w==", - "dev": true, - "dependencies": { - "chalk": "^2.3.2", - "figures": "^2.0.0", - "pkg-conf": "^2.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/signale/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/signale/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/signale/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/signale/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/signale/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/signale/node_modules/figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/signale/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/signale/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/spawn-error-forwarder": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", - "integrity": "sha512-gRjMgK5uFjbCvdibeGJuy3I5OYz6VLoVdsOJdA6wV0WlfQVLFueoqMxwwYD9RODdgb6oUIvlRlsyFSiQkMKu0g==", - "dev": true - }, - "node_modules/spdx-correct": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", - "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", - "dev": true, - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.13", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", - "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", - "dev": true - }, - "node_modules/split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "dev": true, - "dependencies": { - "through": "2" - }, - "engines": { - "node": "*" - } - }, - "node_modules/split2": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", - "dev": true, - "dependencies": { - "readable-stream": "^3.0.0" - } - }, - "node_modules/split2/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/stream-combiner2": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", - "integrity": "sha512-3PnJbYgS56AeWgtKF5jtJRT6uFJe56Z0Hc5Ngg/6sI6rIt8iiMBTa9cvdyFfpMQjaVHr8dusbNeFGIIonxOvKw==", - "dev": true, - "dependencies": { - "duplexer2": "~0.1.0", - "readable-stream": "^2.0.2" - } - }, - "node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-hyperlinks": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", - "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/temp-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", - "integrity": "sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/text-extensions": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true - }, - "node_modules/through2": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", - "dev": true, - "dependencies": { - "readable-stream": "3" - } - }, - "node_modules/through2/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true - }, - "node_modules/traverse": { - "version": "0.6.7", - "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.7.tgz", - "integrity": "sha512-/y956gpUo9ZNCb99YjxG7OaslxZWHfCHAUUfshwqOXmxUIvqLjVO581BT+gM59+QV9tFe6/CGG53tsA1Y7RSdg==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "dev": true, - "engines": { - "node": ">=0.6.11 <=0.7.0 || >=0.7.3" - } - }, - "node_modules/type-fest": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", - "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", - "dev": true, - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/url-join": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", - "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", - "dev": true - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true, - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/yargs": { - "version": "17.7.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", - "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", - "dev": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/yocto-queue": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", - "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", - "dev": true, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - } -} diff --git a/package.json b/package.json deleted file mode 100644 index 9641fca8..00000000 --- a/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "devDependencies": { - "@saithodev/semantic-release-backmerge": "^3.1.0", - "@semantic-release/changelog": "^6.0.3", - "@semantic-release/git": "^10.0.1", - "semantic-release": "^21.0.1", - "semantic-release-export-data": "^1.0.1", - "semantic-release-flutter-plugin": "^1.1.2" - } -} diff --git a/pubspec.yaml b/pubspec.yaml deleted file mode 100644 index d902b206..00000000 --- a/pubspec.yaml +++ /dev/null @@ -1,93 +0,0 @@ -name: revanced_manager -description: Patch your favorite apps, right on your device. -homepage: https://github.com/revanced/revanced-manager - -publish_to: 'none' - -version: 1.8.0+100800000 - -environment: - sdk: '>=3.0.0 <4.0.0' - -dependencies: - animations: ^2.0.7 - collection: ^1.17.0 - cross_connectivity: ^3.0.5 - cr_file_saver: - git: - url: https://github.com/dhruvanbhalara/cr_file_saver - ref: "fix/incorrect_file_name" - device_apps: - git: - url: https://github.com/ponces/flutter_plugin_device_apps - ref: revanced-manager - device_info_plus: ^8.1.0 - dynamic_color: ^1.6.3 - dio: ^5.0.0 - dynamic_themes: ^1.1.0 - expandable: ^5.0.1 - file_picker: - git: - url: https://github.com/alexmercerind/flutter_file_picker - ref: master - flex_color_scheme: ^7.0.1 - flutter: - sdk: flutter - flutter_background: ^1.2.0 - flutter_cache_manager: ^3.3.0 - flutter_i18n: ^0.33.0 - flutter_local_notifications: ^13.0.0 - flutter_localizations: - sdk: flutter - flutter_svg: ^2.0.4 - fluttertoast: ^8.2.1 - font_awesome_flutter: ^10.4.0 - get_it: 7.2.0 - google_fonts: ^4.0.3 - http: ^0.13.5 - injectable: ^2.1.1 - intl: ^0.18.0 - json_annotation: ^4.8.0 - logcat: - git: - url: https://github.com/SuaMusica/logcat - ref: feature/nullSafe - package_info_plus: ^3.0.3 - path_provider: ^2.0.14 - permission_handler: ^10.2.0 - pull_to_refresh: ^2.0.0 - root: - git: - url: https://github.com/EvadeMaster/root - ref: 82803aa40f63cddff81c3e4d27ce8ce3e7c83f60 - share_extend: ^2.0.0 - shared_preferences: ^2.1.0 - skeletons: ^0.0.3 - stacked: ^3.2.0 - stacked_generator: ^1.1.0 - stacked_services: ^1.0.0 - stacked_themes: ^0.3.10 - timeago: ^3.3.0 - timezone: ^0.9.0 - url_launcher: ^6.1.10 - wakelock: ^0.6.2 - flutter_dotenv: ^5.0.2 - flutter_markdown: ^0.6.14 - dio_cache_interceptor: ^3.4.0 - install_plugin: ^2.1.0 - -dev_dependencies: - json_serializable: ^6.6.1 - build_runner: any - flutter_launcher_icons: ^0.13.0 - flutter_lints: ^2.0.1 - flutter_test: - sdk: flutter - injectable_generator: ^2.1.5 - - - -flutter: - uses-material-design: true - assets: - - assets/i18n/