We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected] for the project I'm working on.
[email protected]
Here is the diff that solved my problem:
diff --git a/node_modules/dot-prop/index.js b/node_modules/dot-prop/index.js index aa9c5bb..57a49b5 100644 --- a/node_modules/dot-prop/index.js +++ b/node_modules/dot-prop/index.js @@ -134,5 +134,9 @@ module.exports = { } return true; + }, + + escape(prop) { + return prop.replace(/\./g, '\\.') } };
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered:
A good pull request with docs, tests, and types would be welcome. I think the method should be called escapeKeyPath.
escapeKeyPath
Sorry, something went wrong.
To futureproof this, it would be a good idea to segment the path and then reassemble an escaped version from there. Especially with #82.
Add escapePath()
escapePath()
052d273
Fixes sindresorhus#83 Signed-off-by: Richie Bendall <[email protected]>
Successfully merging a pull request may close this issue.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: