Coder Social home page Coder Social logo

Comments (7)

Marak avatar Marak commented on August 19, 2024

Nope

from colors.js.

Almad avatar Almad commented on August 19, 2024

@Marak Yep.

How to reproduce: please clone https://github.com/Almad/colors-dependency-bug-test & run node index.js

from colors.js.

Marak avatar Marak commented on August 19, 2024

You are using unpublished version on MASTER.

Use the tagged release or the npm version.

from colors.js.

Almad avatar Almad commented on August 19, 2024

@Marak to the best of my knowledge, "color" : "" in package.json uses latest published version from npm.

I have encountered this bug on stable, but I may define fixed version there too.

However, I think that synopsis is clear: colors is extending global objects and as color from second subdependency is not fetched from cache and color is extending String on import-time, it just tries to extend String again and fails.

from colors.js.

Almad avatar Almad commented on August 19, 2024

...and apparently, I was mistaken.

Will report to the deps though, thanks.

from colors.js.

Marak avatar Marak commented on August 19, 2024

It's because of this stupidity, I'll fix it when I feel like it. Published
version is not broken.

adf06f0

On Tue, Oct 23, 2012 at 1:05 PM, Almad [email protected] wrote:

@Marak https://github.com/Marak to the best of my knowledge, "color" :
"" in package.json uses latest published version from npm.

I have encountered this bug on stable, but I may define fixed version
there too.

However, I think that synopsis is clear: colors is extending global
objects and as color from second subdependency is not fetched from cache
and color is extending String on import-time, it just tries to extend
String again and fails.

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-9716110.

from colors.js.

Almad avatar Almad commented on August 19, 2024

yup, thanks.

After further investigation I found I am using devel version indeed, because published one was leaking.

Sorry for bothering.

from colors.js.

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.