Giter VIP home page Giter VIP logo

Comments (6)

jdecked avatar jdecked commented on August 13, 2024 1

@jdecked Some jsDelivr links are still for the package on npm controlled by Twitter, namely:

<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js"></script>

twemoji/README.md

Lines 18 to 25 in c69a9fd

<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
```
This guarantees that you will always use the latest version of the library.
If, instead, you'd like to include the latest version explicitly, you can add the following tag:
```html
<script src="https://cdn.jsdelivr.net/npm/@twemoji/[email protected]/dist/twemoji.min.js" integrity="sha384-D6GSzpW7fMH86ilu73eB95ipkfeXcMPoOGVst/L04yqSSe+RTUY0jXcuEIZk0wrT" crossorigin="anonymous"></script>

const newScript = `<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@${version}/dist/twemoji.min.js" integrity="${integrityHash}"`;

<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@{{version}}/dist/twemoji.min.js" integrity="{{integrityHash}}"crossorigin="anonymous"></script>

<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>

<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>

(can't reopen myself though πŸ˜…)

Thanks! All of those reference @twemoji/api though, which is indeed what this package is published on NPM as.

from twemoji.

jdecked avatar jdecked commented on August 13, 2024

Thank you! I hastily changed like half of these when setting up the fork but it appears I missed many. Feel free to PR to fix these. (For any you're not sure what to change it to, just ask in the PR and we'll figure it out.)

from twemoji.

BurAndBY avatar BurAndBY commented on August 13, 2024

For build status part, a Travis page needs to be created by the repository author

from twemoji.

jdecked avatar jdecked commented on August 13, 2024

FYI @pointydev I couldn't find any references to Twitter in the jsDelivr script URLs. If you can find otherwise, please reopen and LMK where.

from twemoji.

pointydev avatar pointydev commented on August 13, 2024

@jdecked Some jsDelivr links are still for the package on npm controlled by Twitter, namely:

<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js"></script>

twemoji/README.md

Lines 18 to 25 in c69a9fd

<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
```
This guarantees that you will always use the latest version of the library.
If, instead, you'd like to include the latest version explicitly, you can add the following tag:
```html
<script src="https://cdn.jsdelivr.net/npm/@twemoji/[email protected]/dist/twemoji.min.js" integrity="sha384-D6GSzpW7fMH86ilu73eB95ipkfeXcMPoOGVst/L04yqSSe+RTUY0jXcuEIZk0wrT" crossorigin="anonymous"></script>
const newScript = `<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@${version}/dist/twemoji.min.js" integrity="${integrityHash}"`;
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@{{version}}/dist/twemoji.min.js" integrity="{{integrityHash}}"crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js" crossorigin="anonymous"></script>

(can't reopen myself though πŸ˜…)

from twemoji.

pointydev avatar pointydev commented on August 13, 2024

Ah, I missed the @ and /api, seems good!

from twemoji.

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.