Comments (6)
It seems it relates to the RE2 dependency. I tried url-regex and it passed ok.
from url-regex-safe.
Also, I tried to create a new package with that dependency only url-regex-safe, jest, yarn. And it didn't fail :(.
As background, we work in a monorepo, and we have around 170 tests (in 36 suites).
So, I give in the fact that it seems like the sum of many things (although we can't exactly identify them), but do note that when I comment out the code that references this library, the error goes away.
Any help would be appreciated.
from url-regex-safe.
Do you have multiple re2 installations? See uhop/node-re2#73.
from url-regex-safe.
I just found that issue some minutes ago, indeed we use two libraries email-forward-parser and url-regex-safe, both use re2.
We created this repo https://github.com/blastradius-ai/re2-malloc-error to start documenting it, and also to easily reproduce it.
Any ideas how to solve it?
from url-regex-safe.
See v3.0.0 https://github.com/spamscanner/url-regex-safe/releases/tag/v3.0.0
from url-regex-safe.
it does solve the issue!!! big thanks!
from url-regex-safe.
Related Issues (20)
- Regex not matching URLS HOT 1
- Invalid port HOT 2
- Issue with Email Addresses Getting pulled In HOT 4
- Not working with TypeScript HOT 3
- trailingPeriod setting not honored on subdomains HOT 7
- re2 breaks builds HOT 2
- Capture group support?
- url regex unsafe HOT 1
- Install fails because "re2" dependency can't find Python HOT 3
- Extra characters at the end HOT 3
- Add option to not use `re2` even if it's in the dependency tree HOT 3
- Support closing parentheses in URLs do not match HOT 3
- [fix] Invalid protocols are matched HOT 2
- Grab safe-url-regex to prevent type-squatting HOT 1
- Matches email addresses (within a larger string) with default options HOT 3
- High CPU usage compared to 'url-regex' HOT 1
- Fails to install on MacOS with M1 processors HOT 2
- closing bracket on wikipedia links is ignored HOT 2
- Browser support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from url-regex-safe.