Comments (9)
If it's any help you can use https://gist.github.com/desbo/906326b08c05aa09e2fe to replace any occurrences of ansi-styles
at 2.2.0 with 2.2.1 in npm-shrinkwrap.json
.
from ansi-styles.
Manual search/replace of [email protected]
to [email protected]
in npm-shrinkwrap.json
does work.
from ansi-styles.
@xcatliu We're aware of the problems with unpublish 👍 Checkout the post mortem.
from ansi-styles.
Without knowing anything about npm-shrinkwrap, I would imagine manually adjusting the version to 2.2.1
would be the ideal method.
Would love to have a definitive answer.
from ansi-styles.
Thank you @dr-nafanya.
from ansi-styles.
Keeping open for discovery.
from ansi-styles.
Yes, manually editing works in this case, however it leaves the color-convert
dependency that was added in 2.2.0 in npm-shrinkwrap.json
, which I think is harmless (aside from a little bit of wasted bandwidth), but if a dependency were added rather than removed this probably wouldn't work.
from ansi-styles.
It shouldn't be a problem. The new version of color-convert
was designed to work with the existing chalk API.
If it becomes a problem, let me know.
Good catch though 👍
from ansi-styles.
Thanks @dr-nafanya
Problem fixed when I manually replaced [email protected]
to [email protected]
in npm-shrinkwarp.json
ansi-styles
is an awesome module to control styles in terminal, but please known It is generally considered bad behavior to remove versions of a library that others are depending on! Consider using the deprecate command instead, if your intent is to encourage users to upgrade.
Anyway, many thanks to @Qix- for the awesome library!
from ansi-styles.
Related Issues (20)
- blackBright is mentioned in README but is not implemented HOT 17
- NPM install error HOT 7
- Ambiguous error when keyword doesn't exist HOT 10
- Did the 2.2.0 release disappear? HOT 3
- Unable to install the package HOT 1
- missing module => 'color-convert' HOT 1
- Why the open/close API HOT 6
- No greenBright open and close HOT 1
- blackBright doesn't exist
- Uncaught SyntaxError: Use of const in strict mode. HOT 2
- Syntax error in IE11 due to arrow function currying HOT 4
- IE11 syntax error HOT 3
- Why is @types/color-name a production dependency? HOT 4
- Provide es5 lib output HOT 2
- Add support for overline HOT 6
- Can't import into TypeScript node project HOT 2
- Add support for superscript and subscript HOT 2
- Problem from version`5+` to Regex when using ReactNative Hermes engine HOT 1
- '[email protected]' is not in the npm registry. HOT 1
- Blinking text HOT 1
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 ansi-styles.