Giter Club home page Giter Club logo

Comments (6)

katlim-br avatar katlim-br commented on July 17, 2024

It seems it relates to the RE2 dependency. I tried url-regex and it passed ok.

from url-regex-safe.

katlim-br avatar katlim-br commented on July 17, 2024

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.

niftylettuce avatar niftylettuce commented on July 17, 2024

Do you have multiple re2 installations? See uhop/node-re2#73.

from url-regex-safe.

katlim-br avatar katlim-br commented on July 17, 2024

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.

niftylettuce avatar niftylettuce commented on July 17, 2024

See v3.0.0 https://github.com/spamscanner/url-regex-safe/releases/tag/v3.0.0

from url-regex-safe.

katlim-br avatar katlim-br commented on July 17, 2024

it does solve the issue!!! big thanks!

from url-regex-safe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.