Giter VIP home page Giter VIP logo

Comments (8)

scttcper avatar scttcper commented on August 18, 2024 4

@steezeburger since it sounds like you're using yarn you can use resolutions https://classic.yarnpkg.com/en/docs/selective-version-resolutions/

Adding a resolution to your package.json and then running yarn install should fix it until they release a new version.

// package.json
{
  "resolutions": {
    "@ant-design/colors": "5.0.0"
  }
}

You might also be able to add @ant-design/colors to your dependencies pinned to "5.0.0" and get that specific version instead of 5.1.0

see also - ant-design/ant-design-colors#77

from tinycolor.

scttcper avatar scttcper commented on August 18, 2024 2

🎉 This issue has been resolved in version 3.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

from tinycolor.

pgsteven avatar pgsteven commented on August 18, 2024

same issue, revert 3.3.0 please!

from tinycolor.

smddzcy avatar smddzcy commented on August 18, 2024

@scttcper Thanks a lot for the hotfix

from tinycolor.

xXAvoraXx avatar xXAvoraXx commented on August 18, 2024

same issue 3.3.1

from tinycolor.

steezeburger avatar steezeburger commented on August 18, 2024

I'm also having this issue again, but my yarn.lock shows the latest for ant-design-color, which is using 3.3.1 of tinycolor. Did something else happen recently to start causing this issue again?

from tinycolor.

scttcper avatar scttcper commented on August 18, 2024

@steezeburger i think its ant-design-color this time, I would use 5.0.0 instead. 5.1.0 changed something with imports that was then reverted without a patch version yet. https://github.com/ant-design/ant-design-colors/releases/tag/v5.1.0

unreleased revert commit - ant-design/ant-design-colors#75

from tinycolor.

steezeburger avatar steezeburger commented on August 18, 2024

@scttcper thanks for the quick reply!

I will try to use 5.0.0. Unfortunately I am not using ant-design-colors directly. I am using antd, which requires ant-design-colors, which requires your library. antd's package.json specifies ^5.0.0 for ant-design-colors, so it installs 5.1.0. I am not a front end guy, is it possible to define sub dependency versions so I can explicitly install 5.0.1?

I of course could fork antd, but I do not want to begin maintaining that fork.

from tinycolor.

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.