6

"This happens because ES module import statements result in an object with immutable properties while CommonJS require calls result in an object with mutable properties (for the reasons already described above)." 🤮

Comments
  • 3
    Solution: Don't use cjs.
  • 2
    Yeah, i had to upgrade my library as well. I had to do await load library IN a function or smth to fix it. The implementation went well after throwing up. I still have to fix some issue before it's compatible for Deno's package server. RJS/JSR or smth? It's on the todo list. My package is awesome and should be shared with dem world. Sadly, someone later than I was with better marketing became marked leader on that category. My library is a port from the python dataset module. A kinda ORM. Well tested / covered.
  • 2
    yeah they really fucked everything up with that

    people complained about node.js until the complainers made it worse

    turns out just because you can complain doesn't mean anyone should give you any authority over decisions just because of it
Add Comment