
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@wide/pageflip
Advanced tools
Handle page transition when navigating, based on pjax.
npm install @wide/pageflip --save
import pageflip from '@wide/pageflip'
pageflip({
container: 'main',
transition: 'fadeUp',
transitions: {
fadeUp: {
from: el => fadeUpOut(el),
to: el => fadeUpIn(el)
}
}
})
container: selector of the element to update when the next page is loaded, default maintransition: default transition to apply, default nooptransitions: collection of available transitions
enter: called when the next page is loading, must return a Promiseleave: called when enter is resolved and the next page is loaded, ready to swapPageflip comme with 2 defaults transitions:
noop do absolutely nothing, swap directly the next pagefade a simple fade in/out of the pagePageflip apply the following process:
click -> onLoad() -> transition.enter() -> page is -> onSwap() -> transition.leave()
on link loaded
You can interact around onLoad() and onSwap() with these hooks :
pageflip({
beforeLoad(),
afterLoad(),
beforeSwap(),
afterSwap()
})
This package uses :
This project is licensed under the MIT License - see the licence file for details
FAQs
Handle page transition when navigating
We found that @wide/pageflip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.