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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in dependency [email protected] #1247

Open
MelanieW97 opened this issue Apr 18, 2024 · 0 comments
Open

Bug in dependency [email protected] #1247

MelanieW97 opened this issue Apr 18, 2024 · 0 comments

Comments

@MelanieW97
Copy link

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.

The version 0.14.0 of class-validator causes an error for me.
According to a post I found on GitHub, it's a bug in class-validator which is being fixed in version 0.14.1.
You can read about it right here: typestack/class-validator#2370 (comment)

Here is the diff that solved my problem:

diff --git a/node_modules/javascript-obfuscator/package.json b/node_modules/javascript-obfuscator/package.json
index f629417..a563577 100644
--- a/node_modules/javascript-obfuscator/package.json
+++ b/node_modules/javascript-obfuscator/package.json
@@ -27,7 +27,7 @@
     "assert": "2.0.0",
     "chalk": "4.1.2",
     "chance": "1.1.9",
-    "class-validator": "0.14.0",
+    "class-validator": "0.14.1",
     "commander": "10.0.0",
     "eslint-scope": "7.1.1",
     "eslint-visitor-keys": "3.3.0",

This issue body was partially generated by patch-package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant