1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-16 04:34:56 +02:00

npm: Use tippy.js via npm instead of CDN

This commit is contained in:
Henrik Hautakoski 2022-01-25 13:44:57 +01:00
parent 8f4314fefc
commit afc71d7184
No known key found for this signature in database
GPG key ID: 608414D93E862CCD
6 changed files with 45 additions and 4 deletions

View file

@ -7,8 +7,5 @@
integrity="sha256-FR7X8I31WIyoJaQLE4STF1bYEoOncTwxTLPPgJVLXVs="
crossorigin="anonymous"></script>
<script src="https://unpkg.com/popper.js@1"></script>
<script src="https://unpkg.com/tippy.js@5"></script>
<script src="{{ "/assets/package_data.js?v=" | append: site.github.build_revision | relative_url }}"></script>
<script src="{{ "/assets/scripts.js?v=" | append: site.github.build_revision | relative_url }}"></script>

View file

@ -3,6 +3,7 @@ import AnchorJS from 'anchor-js'
import Alpine from 'alpinejs'
import alpine_search from './modules/alpine_search'
import ClipboardJS from 'clipboard'
import tippy from 'tippy.js'
// -------------------
// Anchor

File diff suppressed because one or more lines are too long

View file

@ -66,3 +66,9 @@
* Copyright (C) 2020 Oliver Nightingale
* @license MIT
*/
/**!
* tippy.js v5.2.1
* (c) 2017-2020 atomiks
* MIT License
*/

36
package-lock.json generated
View file

@ -13,6 +13,7 @@
"anchor-js": "^4.1.0",
"clipboard": "^2.0.4",
"lunr": "^2.3.9",
"tippy.js": "^5.2.1",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.2"
}
@ -954,6 +955,17 @@
"node": ">=8"
}
},
"node_modules/popper.js": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz",
"integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==",
"deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1",
"dev": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/popperjs"
}
},
"node_modules/punycode": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
@ -1252,6 +1264,15 @@
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==",
"dev": true
},
"node_modules/tippy.js": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-5.2.1.tgz",
"integrity": "sha512-66UT6JRVn3dXNCORE+0UvUK3JZqV/VhLlU6HTDm3FmrweUUFUxUGvT8tUQ7ycMp+uhuLAwQw6dBabyC+iKf/MA==",
"dev": true,
"dependencies": {
"popper.js": "^1.16.0"
}
},
"node_modules/uri-js": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
@ -2175,6 +2196,12 @@
"find-up": "^4.0.0"
}
},
"popper.js": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz",
"integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==",
"dev": true
},
"punycode": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
@ -2368,6 +2395,15 @@
"integrity": "sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==",
"dev": true
},
"tippy.js": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-5.2.1.tgz",
"integrity": "sha512-66UT6JRVn3dXNCORE+0UvUK3JZqV/VhLlU6HTDm3FmrweUUFUxUGvT8tUQ7ycMp+uhuLAwQw6dBabyC+iKf/MA==",
"dev": true,
"requires": {
"popper.js": "^1.16.0"
}
},
"uri-js": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",

View file

@ -8,6 +8,7 @@
"anchor-js": "^4.1.0",
"clipboard": "^2.0.4",
"lunr": "^2.3.9",
"tippy.js": "^5.2.1",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.2"
},