Don't forget to pass { fetchFn: GM_fetch }
option to getVideoID and getVideoData
Casual:
- Install new version of
@vot.js/...
with
npm install @vot.js/...
If patches broken after casual:
- Remove "postinstall" script from package.json
- Remove
@vot.js/...
package with
npm uninstall @vot.js/...
- Install new version of
@vot.js/...
with
npm install @vot.js/...
- Restore "postinstall" script in package.json
- Run patch-package
npx patch-package
- If it ended with an error run
npx patch-package --partial
- Fix errors from patch-package-errors.log
- Run patch-package update
npx patch-package @vot.js/...
- Repeat 5-7 steps before success applying patches