
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.
@ajces/router
Advanced tools
The main difference being the addition of meta tag diffing on route changes, using array of route objects [{path, view, meta}] instead of array of arrays which I feel is clearer in the code and I will also be adding async routing soon via an async view helper function which will provide functionality similar to react-loadable...
The defaultMeta provided to the Router mixin will allow defaults for routes that choose not to specify a meta value, anything supplied to a route meta object will be merged with defaultMeta via Object.assign({}, defaultMeta, view.meta)
There are meta tags that cause bugs in certain browsers if modified after page load, these are skipped in our meta dom diff to avoid issues: origin, referrer, viewport. ( any other key value pair should work in the meta object )
import { router, Link } from "@ajces/router"
app({
view: [
{
path: "/",
view: (state, actions) =>
<Link to="/test" go={actions.router.go}>
Test
</Link>,
meta: {
title: "Idiom - Router",
description: "SEO description for Idiom Router"
}
},
{
path: "/test",
view: (state, actions) =>
<Link to="/" go={actions.router.go}>
Back
</Link>,
meta: {
title: "Test",
description: "SEO test",
keywords: "comma,delimited,list"
}
}
],
mixins: [router({
title: "AJCES - Router",
description: "AJCES customized fork of @hyperapp/router",
author: "Andy Johnson",
keywords: "idiom,router,hyperapp,meta,async"
})]
})
@ajces/router is MIT licensed. See LICENSE.
FAQs
Utilities for routing client-side pages.
The npm package @ajces/router receives a total of 2 weekly downloads. As such, @ajces/router popularity was classified as not popular.
We found that @ajces/router 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.