Move to wow.js fork (#2210)
## Description wow.js got relicensed. Switch to the MIT fork (the old license) ## Does this PR need a docs update or release note? - [x] ⛔ No ## Type of change - [x] 🐛 Bugfix ## Test Plan - [x] 💪 Manual
This commit is contained in:
parent
b3d4b4687b
commit
7872201f73
25
website/package-lock.json
generated
25
website/package-lock.json
generated
@ -26,7 +26,7 @@
|
|||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"sass": "^1.57.1",
|
"sass": "^1.57.1",
|
||||||
"tw-elements": "^1.0.0-alpha13",
|
"tw-elements": "^1.0.0-alpha13",
|
||||||
"wowjs": "^1.1.3"
|
"wow.js": "^1.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "2.2.0",
|
"@docusaurus/module-type-aliases": "2.2.0",
|
||||||
@ -14543,13 +14543,11 @@
|
|||||||
"integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==",
|
"integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/wowjs": {
|
"node_modules/wow.js": {
|
||||||
"version": "1.1.3",
|
"version": "1.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/wowjs/-/wowjs-1.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/wow.js/-/wow.js-1.2.2.tgz",
|
||||||
"integrity": "sha512-HQp1gi56wYmjOYYOMZ08TnDGpT+AO21RJVa0t1NJ3jU8l3dMyP+sY7TO/lilzVp4JFjW88bBY87RnpxdpSKofA==",
|
"integrity": "sha512-YTW9eiZimHCJDWofsiz2507txaPteUiQD461I/D8533AiRAn3+Y68/1LDuQ3OTgPjagGZLPYKrpoSgjzeQrO6A==",
|
||||||
"dependencies": {
|
"deprecated": "deprecated in favour of aos (Animate On Scroll)"
|
||||||
"animate.css": "latest"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"node_modules/wrap-ansi": {
|
"node_modules/wrap-ansi": {
|
||||||
"version": "8.0.1",
|
"version": "8.0.1",
|
||||||
@ -24231,13 +24229,10 @@
|
|||||||
"resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz",
|
||||||
"integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw=="
|
"integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw=="
|
||||||
},
|
},
|
||||||
"wowjs": {
|
"wow.js": {
|
||||||
"version": "1.1.3",
|
"version": "1.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/wowjs/-/wowjs-1.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/wow.js/-/wow.js-1.2.2.tgz",
|
||||||
"integrity": "sha512-HQp1gi56wYmjOYYOMZ08TnDGpT+AO21RJVa0t1NJ3jU8l3dMyP+sY7TO/lilzVp4JFjW88bBY87RnpxdpSKofA==",
|
"integrity": "sha512-YTW9eiZimHCJDWofsiz2507txaPteUiQD461I/D8533AiRAn3+Y68/1LDuQ3OTgPjagGZLPYKrpoSgjzeQrO6A=="
|
||||||
"requires": {
|
|
||||||
"animate.css": "latest"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"wrap-ansi": {
|
"wrap-ansi": {
|
||||||
"version": "8.0.1",
|
"version": "8.0.1",
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"sass": "^1.57.1",
|
"sass": "^1.57.1",
|
||||||
"tw-elements": "^1.0.0-alpha13",
|
"tw-elements": "^1.0.0-alpha13",
|
||||||
"wowjs": "^1.1.3"
|
"wow.js": "^1.2.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@docusaurus/module-type-aliases": "2.2.0",
|
"@docusaurus/module-type-aliases": "2.2.0",
|
||||||
|
|||||||
@ -5,12 +5,12 @@ export default function KeyLoveFAQ() {
|
|||||||
const jarallaxRef = useRef(null);
|
const jarallaxRef = useRef(null);
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (typeof window !== "undefined") {
|
if (typeof window !== "undefined") {
|
||||||
const WOW = require("wowjs");
|
const WOW = require("wow.js");
|
||||||
const father = require("feather-icons");
|
const father = require("feather-icons");
|
||||||
const jarallax = require("jarallax");
|
const jarallax = require("jarallax");
|
||||||
require("tw-elements");
|
require("tw-elements");
|
||||||
|
|
||||||
new WOW.WOW({
|
new WOW({
|
||||||
live: false,
|
live: false,
|
||||||
}).init();
|
}).init();
|
||||||
father.replace();
|
father.replace();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user