GithubHelp home page GithubHelp logo

Comments (13)

gusbemacbe avatar gusbemacbe commented on May 29, 2024 3

Done, @akollegger and @joshgoebel.

from highlightjs-cypher.

joshgoebel avatar joshgoebel commented on May 29, 2024

@akollegger Could I get a link to a GitHub issue or a thread of this problem? Minor versions don't typically "break" themes - though sometimes highlighting does change slightly - which could require a theme to be updated. Otherwise I'm also not sure how bumping a dependency here would have any effect on your theme at all?

from highlightjs-cypher.

joshgoebel avatar joshgoebel commented on May 29, 2024
  "highlightjs": "^9.10.0",

Ok, that is OLD... all bets are off... I take back what I said. :-) it's possible something may indeed need to change if this hasn't been updated since version 9.

from highlightjs-cypher.

gusbemacbe avatar gusbemacbe commented on May 29, 2024

I'll fix it this afternoon. Please forgive us for the inconvenience.

from highlightjs-cypher.

joshgoebel avatar joshgoebel commented on May 29, 2024

Still quite curious how a theme was broken though, grammar itself looks pretty clean - so surprises.

from highlightjs-cypher.

akollegger avatar akollegger commented on May 29, 2024

The break surfaced as an unsatisfied dependency. It appeared that highlightjs-cypher requires highlightjs but the newer version is highlight.js.

from highlightjs-cypher.

joshgoebel avatar joshgoebel commented on May 29, 2024

It appeared that highlightjs-cypher requires highlightjs but the newer version is highlight.js.

Ah yes the correct package name is now highlight.js, the older name was deprecated a year or more ago.

from highlightjs-cypher.

ggrossetie avatar ggrossetie commented on May 29, 2024

Thanks @gusbemacbe !
I think we should probably release version 2.0.0 since it's a major bump? What do you think?

from highlightjs-cypher.

gusbemacbe avatar gusbemacbe commented on May 29, 2024

Thanks @gusbemacbe !
I think we should probably release version 2.0.0 since it's a major bump? What do you think?

Do you mean to create a new release here?

from highlightjs-cypher.

ggrossetie avatar ggrossetie commented on May 29, 2024

Do you mean to create a new release here?

Actually, it's a development dependency so I'm a bit confused...

The break surfaced as an unsatisfied dependency. It appeared that highlightjs-cypher requires highlightjs but the newer version is highlight.js.

@akollegger could you please post the complete error message?

from highlightjs-cypher.

akollegger avatar akollegger commented on May 29, 2024

Apologies, you're right that the dependency was not the root cause for my theme. The theme initialization api changed, which incidentally failed on requiring highlightjs-cypher but had to do with asset loading and not a problem with highlightjs-cypher itself.

-ABK

from highlightjs-cypher.

joshgoebel avatar joshgoebel commented on May 29, 2024

The theme initialization api changed,

I wasn't aware we have any sort of API for themes?

from highlightjs-cypher.

AdamRaichu avatar AdamRaichu commented on May 29, 2024

Outdated issue.

from highlightjs-cypher.

Related Issues (9)

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.