
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
hyperapp-loadable
Advanced tools
Experimental package to provide react-loadable like behavior to hyperapp
WIP This package is inspired be react-loadable. The main difference between the two packages is that this package targets hyperapp instead of react and thus does not have stateful components.
To work around this difference we use a mixin to provide a { loadable: {} } in the state as well as add actions: { loadable: { loaded: () => any }} for triggering an update/re-render after lazy-loaded module is available.
/* src/Test.js */
import { h } from "hyperapp";
export function Test(state, actions) {
return (
<div>{"Testing lazy-loaded component!"}</div>
);
}
import { h, app } from "hyperapp";
import Loadable from "hyperapp-loadable";
const Loading = (state, actions) => <div>{"Loading..."}</div>;
app({
view: (state, actions) => {
return (<Loadable
state={state}
actions={actions}
name={"/Test"}
loader={() => import("./Test")}
loading={Loading}
loaded={actions.loadable.loaded} /* not required defaults too actions.loadable.loaded */
/>);
},
mixins: [Loadable]
});
hyperapp-loadable is MIT licensed. See LICENSE.
FAQs
Experimental package to provide react-loadable like behavior to hyperapp
The npm package hyperapp-loadable receives a total of 2 weekly downloads. As such, hyperapp-loadable popularity was classified as not popular.
We found that hyperapp-loadable 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.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.