Scan your whole stack
From OX Research Newsroom
Are you using @janus-scheduler/app?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.2.0
@janus-scheduler/app was last scanned on 3 Sep 2026 at version 2.2.0. Risk score 85 of 100 (high). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 2.2.0 LATEST | 3 Sep 2026 | 1 rule fired |
| 2.1.0 | 2 Sep 2026 | No rules fired |
| 2.0.0 | 2 Sep 2026 | No rules fired |
Findings for v2.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The package's main entry point re-exports code from a dependency that its README never mentions, and the package is newly published with few versions. Users of such a package run the dependency's code without knowing it is there. Established packages sometimes do this for ordinary reasons.
HIGHThe score describes 2.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The batteries-included Janus Scheduler. One element — <janus-app> — mounts the
topbar, all five views and the event editor, and wires every drag, resize,
create, save, delete and undo to a SchedulerManager for you.
This is the simple tier. If you want to lay the pieces out yourself, use your
framework package instead (@janus-scheduler/react, /angular, /solid) and
compose <janus-timeline>, <janus-month-grid>, … directly.
npm install @janus-scheduler/app
import { JanusApp } from "@janus-scheduler/app/react";
const resources = [
{ id: "r1", name: "Alice", type: "person", email: "alice@example.com" },
{ id: "r2", name: "Room A", type: "room", email: "" },
];
const events = [
{
id: "e1",
title: "Standup",
startTime: "2026-09-02T09:00:00.000Z",
endTime: "2026-09-02T09:30:00.000Z",
resourceIds: ["r1"],
status: "confirmed",
},
];
export default function App() {
return (
<div style={{ height: "100vh" }}>
<JanusApp
events={events}
resources={resources}
onChange={({ type, id, event }) => {
// Persist however you like.
console.log(type, id, event?.title);
}}
/>
</div>
);
}
That is the whole integration. Drag, resize, click-to-create, the editor modal, view switching, prev/next/today and Ctrl+Z all work with no further code.
<janus-app> is a plain custom element, so Vue, Angular, Solid and vanilla use
it directly.
<script type="module">
import "@janus-scheduler/app";
</script>
<janus-app id="app" style="height: 100vh"></janus-app>
<script type="module">
const app = document.getElementById("app");
app.resources = [
{ id: "r1", name: "Alice", type: "person", email: "alice@example.com" },
];
app.events = [];
app.addEventListener("change", (e) => console.log(e.detail));
</script>
Vue needs isCustomElement so it does not warn about the tag, and .prop
bindings for arrays/objects:
// vite.config.ts
vue({
template: {
compilerOptions: { isCustomElement: (t) => t.startsWith("janus-") },
},
});
<janus-app
:events.prop="events"
:resources.prop="resources"
@change="onChange"
/>
Angular needs CUSTOM_ELEMENTS_SCHEMA on the component, then [events] /
(change) bindings work as usual.
| Prop | Type | Default | Notes |
|---|---|---|---|
events |
EventData[] |
[] |
Seeded once, on mount. Use load() afterwards. |
resources |
ResourceData[] |
[] |
Same one-shot seeding rule. |
view |
ViewType |
"Timeline" |
Timeline \| Day \| Week \| Month \| Year |
views |
ViewType[] |
all five | Which views the topbar offers. |
preventConflicts |
boolean |
false |
true hard-blocks conflicting actions instead of warning. |
resourceTypeConfig |
ResourceTypeConfig |
— | Groups and labels timeline resource rows. |
timezone |
string |
store's | IANA zone for display. |
googleConnected |
boolean |
false |
Renders the Google button as connected. |
hooks |
SchedulerHooks |
{} |
Forwarded to the internal manager — where you persist. |
manager |
SchedulerManager |
— | Bring your own instead of letting <janus-app> create one. |
| Event | Detail | Fires when |
|---|---|---|
janus-change |
{ type: "add" \| "update" \| "delete", id, event? } |
An event was written to the store. |
change |
same as above | Deprecated — removed in 3.0.0. See the note below. |
app-error |
{ operation, error, reverted } |
A lifecycle hook rejected; the store was rolled back. |
view-change |
{ view } |
The active view changed. |
connect-calendar |
{} |
The topbar's Google Calendar button was clicked. |
In React these arrive as onChange, onError, onViewChange and
onConnectCalendar, already unwrapped — you get the detail, never a raw
CustomEvent.
Prefer
janus-changeoverchange.changeis a native DOM event name: it bubbles into an ancestor<form>and collides with React's root-delegated syntheticonChange. Both fire identically today;changeis removed in 3.0.0.
Only these four events cross the element boundary. The components inside fire
many more (event-move, save, prev-click, …) but those are contained — you
will not receive them by listening on <janus-app>.
janus-change is a notification. To persist with rollback on failure, use
hooks —
if a hook throws or rejects, the optimistic store write is reverted and
app-error fires:
<JanusApp
hooks={{
onEventAdd: (event) => api.create(event), // reverted if this rejects
onEventUpdate: (event) => api.update(event),
onEventDelete: (id) => api.remove(id),
}}
onError={({ operation, error }) => toast(`${operation} failed`)}
/>
events and resources seed the store once. To swap the dataset later, call
load() on the element:
const ref = useRef(null);
ref.current?.load({ events: nextEvents, resources: nextResources });
<janus-app> elements on one
page share the same events and resources. One per page.--janus-* CSS custom properties (see docs/THEMING_GUIDE.md).display: block; height: 100%, so its
parent needs a real height or it collapses.connect-calendar just tells you the
button was clicked; wire @janus-scheduler/integrations yourself if you want
sync — it also needs the Node backend that package ships.ISC
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.