
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
@times-stories/page
Advanced tools
The page container for the
@times-storiessuite of packages
$ yarn add @times-stories/page
<Page> is the core primitive, and should be used as the children of the
<Story /> component. It takes a function as its children passing on useful
props:
props = {
pageIndex // Number - the index of the current page
isActive // Boolean - if this page is active
isOutbound // Boolean - if this page is outbound
isInbound // Boolean - if this page is inbound
isUpcoming // Boolean - if this page is up next
isMuted // Boolean - if the Story is muted
withAnimations // Boolean - if animations are enabled in the Story
handlers.setActivePage // Function(Number) - can be used to set the Story's active page
handlers.toggleMuteState // Function - can be used to toggle the Story's mute state
}
This is required to map between the context-aware <Story> component, and a
context-unaware template component such as <IntroductionPage>. You can also
use this to create your own custom templates.
import Story from "@times-stories/story";
import Page from "@times-stories/page";
export default () => (
<Story>
<Page>
{props => <IntroductionPage {...props} {...introductionProps} />}
</Page>
<Page>{props => <div>Your custom template that can use props</div>}</Page>
</Story>
);
FAQs
> The page container for the `@times-stories` suite of packages
We found that @times-stories/page demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.