Giter VIP home page Giter VIP logo

Comments (4)

rbren avatar rbren commented on May 20, 2024

Thanks! Fix is published as 2.10.5.

Out of curiosity, how are you using this in-browser? dist/rss-parser.js should have const removed after going through webpack.

from rss-parser.

rbren avatar rbren commented on May 20, 2024

Also, if you have any ideas on how best to test for this, let me know.

from rss-parser.

arist0tl3 avatar arist0tl3 commented on May 20, 2024

You are right! I'm using it in Meteor, in a method. Not sure if you know Meteor, but methods are made available to both client and server (so that the client can do optimistic updates). Things were working out of the box, so I didn't write any code to specifically limit the function to the server side. But then this latest update obviously caused a problem, as the client-side evaluation on safari was complaining.

What I'd normally do is wrap code like this in a server-only block if the client complains. But in 2.10.2 (where I started), things were working so I didn't think a wrap was necessary.

Let me know if you have any questions -- I think this is probably an edge case, as typically the client wouldn't be evaluating server-side code.

from rss-parser.

rbren avatar rbren commented on May 20, 2024

Ahh that makes sense. I'd been considering rewriting index.js with ES6 features since dist/ files will be translated using babel, but it's good to know that it'd break some workflows. If I do go that route I'll release it as a major version so it won't break Meteor builds.

Thanks for reporting/fixing!

from rss-parser.

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.