Git Product home page Git Product logo

Comments (4)

tmcw avatar tmcw commented on June 1, 2024 1

Hahaha, wow, okay - thank you for the heads-up. One of these days we'll have a JavaScript packaging spec that lasts longer than a year 😆

from simple-statistics.

altearius avatar altearius commented on June 1, 2024

This issue is affecting me. Would it be helpful if I generate a PR to implement @Huolju 's proposed fix? I have verified that the suggested fix resolves the problem in my case.

from simple-statistics.

tmcw avatar tmcw commented on June 1, 2024

Sure. Fwiw, what tool is already requiring this format, and how is it doing that without breaking… basically every npm module?

from simple-statistics.

altearius avatar altearius commented on June 1, 2024

Thanks, I've submitted a PR for this.

It works on my machine, but of course, please test it on yours!

Without this fix, I found that React Native would issue warnings when using this package. I do not know why this package gets singled out. I have 13 other dependencies. I did a quick sample of about half of them and none that I looked at had an "exports" section in their package.json at all.

from simple-statistics.

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.