question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support patching side dependency

See original GitHub issue

for example, I have package a, and I want to patch package b once a installed in c.

  packageC
  ___________node_modules/
  __________________________/packageA
  __________________________/packageB

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Alonskicommented, Feb 17, 2020

Would love to have this functionality. Maybe ask the user to opt into this after install?

0reactions
lifeartcommented, Dec 19, 2019

yes, it could break, but you can write this warning into console like package a has been patched by package b.

It’s very useful feature if you implementing addon (for ember/angular/webpack) or so, and trying to hack/extend original functionality to get extra control on it.

my case - add one more line of code to original implementation https://github.com/lifeart/ember-fast-cli#usage

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix .NET Dependencies With Monkey Patching
Let's look at the issue and how monkey patching might be the solution to help ease some of the tension in .NET OSS....
Read more >
Fourth Recommended Patch Collection for EBS 12.1.3 Now ...
The EBS 12.1.3+ RPC4 patchset includes the latest recommended patches and their dependencies for the following Oracle E-Business Suite ...
Read more >
Monkey Patching vs. Simple Dependency Injection in modern ...
Let's compare monkey patching and Dependency Injection in Python and see if we can come up with an improved modern pattern for Dependency...
Read more >
Unit Testing in Python — Patching, Mocks and Dependency ...
A dependency of the function we want to test can have an effect in three different ways: By side-effects, return values or exceptions....
Read more >
Dependencies dependencies `package.json` patch will fail ...
I'm using npm and would like to patch package.json, but the generated patch cannot be applied after either installing for the first time...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found