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:
Niraj Tolia 2023-01-20 12:13:25 -08:00 committed by GitHub
parent b3d4b4687b
commit 7872201f73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 18 deletions

View File

@ -26,7 +26,7 @@
"react-dom": "^17.0.2",
"sass": "^1.57.1",
"tw-elements": "^1.0.0-alpha13",
"wowjs": "^1.1.3"
"wow.js": "^1.2.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.2.0",
@ -14543,13 +14543,11 @@
"integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==",
"license": "MIT"
},
"node_modules/wowjs": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/wowjs/-/wowjs-1.1.3.tgz",
"integrity": "sha512-HQp1gi56wYmjOYYOMZ08TnDGpT+AO21RJVa0t1NJ3jU8l3dMyP+sY7TO/lilzVp4JFjW88bBY87RnpxdpSKofA==",
"dependencies": {
"animate.css": "latest"
}
"node_modules/wow.js": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/wow.js/-/wow.js-1.2.2.tgz",
"integrity": "sha512-YTW9eiZimHCJDWofsiz2507txaPteUiQD461I/D8533AiRAn3+Y68/1LDuQ3OTgPjagGZLPYKrpoSgjzeQrO6A==",
"deprecated": "deprecated in favour of aos (Animate On Scroll)"
},
"node_modules/wrap-ansi": {
"version": "8.0.1",
@ -24231,13 +24229,10 @@
"resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz",
"integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw=="
},
"wowjs": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/wowjs/-/wowjs-1.1.3.tgz",
"integrity": "sha512-HQp1gi56wYmjOYYOMZ08TnDGpT+AO21RJVa0t1NJ3jU8l3dMyP+sY7TO/lilzVp4JFjW88bBY87RnpxdpSKofA==",
"requires": {
"animate.css": "latest"
}
"wow.js": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/wow.js/-/wow.js-1.2.2.tgz",
"integrity": "sha512-YTW9eiZimHCJDWofsiz2507txaPteUiQD461I/D8533AiRAn3+Y68/1LDuQ3OTgPjagGZLPYKrpoSgjzeQrO6A=="
},
"wrap-ansi": {
"version": "8.0.1",

View File

@ -32,7 +32,7 @@
"react-dom": "^17.0.2",
"sass": "^1.57.1",
"tw-elements": "^1.0.0-alpha13",
"wowjs": "^1.1.3"
"wow.js": "^1.2.2"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.2.0",

View File

@ -5,12 +5,12 @@ export default function KeyLoveFAQ() {
const jarallaxRef = useRef(null);
useEffect(() => {
if (typeof window !== "undefined") {
const WOW = require("wowjs");
const WOW = require("wow.js");
const father = require("feather-icons");
const jarallax = require("jarallax");
require("tw-elements");
new WOW.WOW({
new WOW({
live: false,
}).init();
father.replace();