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

Nodejs14 and Nodejs16 "Bug" #8533

Closed
Glog78 opened this issue Apr 27, 2023 · 3 comments
Closed

Nodejs14 and Nodejs16 "Bug" #8533

Glog78 opened this issue Apr 27, 2023 · 3 comments
Labels

Comments

@Glog78
Copy link

Glog78 commented Apr 27, 2023

while testing different things i stumbled across this "bug"

bash-language-server --version
/boot/home/config/non-packaged/data/yarn/global/node_modules/zod/lib/types.js:325
const emojiRegex = /^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u;
^

SyntaxError: Invalid regular expression: /^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/: Invalid property name
at Object. (/boot/home/config/non-packaged/data/yarn/global/node_modules/zod/lib/types.js:325:20)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/boot/home/config/non-packaged/data/yarn/global/node_modules/zod/lib/external.js:17:14)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

@korli
Copy link
Contributor

korli commented Apr 27, 2023

Isn't it like colinhacks/zod#2302 or colinhacks/zod#2269 ?

@Glog78
Copy link
Author

Glog78 commented Apr 27, 2023

yeah seems like it

@korli
Copy link
Contributor

korli commented May 5, 2023

Thanks, closing

@korli korli closed this as completed May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants