Giter Club home page Giter Club logo

Comments (12)

MichalCz avatar MichalCz commented on May 25, 2024

Hey, thanks for the comment, we're on it. :)

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

@AndrewGrachov can you extract a simple repo for instance with a single file that causes the above issue? We'd check if we can reproduce this.

Or at least share the code that uses scramjet?

from scramjet.

AndrewGrachov avatar AndrewGrachov commented on May 25, 2024

https://github.com/AndrewGrachov/scramjet-error

here you are, I suspect yarn

from scramjet.

AndrewGrachov avatar AndrewGrachov commented on May 25, 2024

dockerfile build should fail

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

Thanks, I'll check - I believe I'll need to redo the pipeline method override in all streams - I don't know why it's like that in ts since pipeline is not a method of Readable or Writable or any other Node.js stream, but worst case scenario I'll just allow any there...

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

I'm trying to fix this - but this is taking some extra time, as I don't really know how to make Typescript ok with overriding of some of Duplex/PassThrough stream methods (pipeline mostly).

I'll try to solve it in such a way that this will be compatible - I'll create a PR over the weekend and perhaps you could help me with getting the definitions right.

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

Still working on this - it's a bit annoying since I added the pipeline method before it was added to Transform stream and then the method was made incompatible which doesn't go well with Typescript.

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

Another update - we're focusing on Scramjet v5.x branch now, as we're trying to pass a tipping point there - still we'll return to this asap.

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

Ok, fix underway - I needed to remove the pipe method altogether and use node's own one. There's a possible compatibility issue, but if that occurs for anyone - it's most likely to be a bug (so you'd need to fix that in your own code).

@AndrewGrachov tell me if it's now working for you with 4.34.0 - I'll publish this in a couple minutes.

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

@AndrewGrachov shall we close this?

from scramjet.

AndrewGrachov avatar AndrewGrachov commented on May 25, 2024

Build is ok, thank you!

from scramjet.

MichalCz avatar MichalCz commented on May 25, 2024

Brilliant. 👍

from scramjet.

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.