Comments (8)
@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.
🎉 This issue has been resolved in version 3.3.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
from tinycolor.
same issue, revert 3.3.0 please!
from tinycolor.
@scttcper Thanks a lot for the hotfix
from tinycolor.
same issue 3.3.1
from tinycolor.
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.
@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.
@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)
- Add a function to compute how a semi-transparent color would appear on a background HOT 2
- build fail error with ctrl_tinycolor HOT 6
- Implement modern exports HOT 1
- Unable to extend TinyColor class and chaine methods HOT 2
- Running error on AWS Elastic Beanstalk HOT 1
- 3.4.0: Cannot use import statement outside a module on version HOT 2
- import { bound01, pad2 } from './util' HOT 1
- Support alpha in from Ratio HOT 1
- [Feature request]: toRgbRatio HOT 1
- webpack can't find import entry HOT 4
- Feature request: ability to control the brightness value at which a color is considerd dark or light HOT 1
- Space-separated color params and aliases aren't parsed correctly HOT 1
- Support Lab color HOT 1
- Add file extensions to imports in module directory HOT 5
- v4: warning when installed with yarn HOT 4
- Which method corresponds to `scale` in scss?
- the version 4.x has es11 code after build in dist HOT 2
- [Bug] Next.js 14.0.4 every operation on TinyColor returns black #000000 HOT 7
- Saturation (HSV) values not reflected properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinycolor.