Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch deprecation fix for fastboot #190

Merged
merged 1 commit into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
}
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
}
},
"devDependencies": {
Expand Down
11 changes: 11 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/src/fastboot-info.js b/src/fastboot-info.js
index 50b181be8fc3a3dbc00efae10469ff20767e48cf..f330596368c5c70d480960ec0970f897992941ff 100644
--- a/src/fastboot-info.js
+++ b/src/fastboot-info.js
@@ -38,6 +38,5 @@ module.exports = class FastBootInfo {
*/
register(instance) {
instance.register('info:-fastboot', this, { instantiate: false });
- instance.inject('service:fastboot', '_fastbootInfo', 'info:-fastboot');
}
};
16 changes: 12 additions & 4 deletions pnpm-lock.yaml

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