Scan your whole stack
From OX Research Newsroom
Are you using @unmap/next?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.36.0
@unmap/next was last scanned on 23 Nov 2026 at version 0.36.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.36.0 LATEST | 23 Nov 2026 | No rules fired |
| 0.35.0 | 23 Nov 2026 | No rules fired |
| 0.34.0 | 20 Nov 2026 | No rules fired |
| 0.33.0 | 18 Nov 2026 | Not shown |
| 0.32.1 | 16 Nov 2026 | Not shown |
Findings for v0.36.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 score describes 0.36.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Next.js App Router integration for unmap. Ships a <Map> Client
Component and re-exports every hook from @unmap/react, so this is the only unmap package a
Next.js app needs to install.
npm i @unmap/next
The whole package is a client boundary, so a Server Component page can render the map directly
with no 'use client' file of its own:
// app/page.tsx
import { Map } from '@unmap/next'
export default function Page() {
return (
<Map
apiKey={process.env.NEXT_PUBLIC_UNMAP_KEY!}
center={[-114.07, 51.05]}
zoom={11}
containerStyle={{ height: 480 }}
/>
)
}
// app/layout.tsx
import 'maplibre-gl/dist/maplibre-gl.css'
<Map> takes the useUnmap() options as props (apiKey, gateway, style,
mode, lang, theme, center, zoom, projection, controls) plus className, containerStyle, children
(overlays, rendered above the canvas inside a position: relative container), and onReady(map).
onReady is a function, so pass it from a Client Component; functions cannot cross the Server
Component boundary.
Put UnmapProvider in the root layout and drop apiKey from every <Map> and hook below it:
// app/layout.tsx
import { UnmapProvider } from '@unmap/next'
export default function RootLayout({ children }) {
return (
<html>
<body>
<UnmapProvider apiKey={process.env.NEXT_PUBLIC_UNMAP_KEY!}>{children}</UnmapProvider>
</body>
</html>
)
}
useUnmap, useGeocoder, and useDirections are re-exported from
@unmap/react for Client Components that need
the MapLibre instance or the geocoding and routing clients with loading and error state.
Import maplibre-gl/dist/maplibre-gl.css once in the root layout. maplibre-gl arrives as a
transitive dependency; under pnpm's strict layout add it as a direct dependency so the import
resolves.
Requires Next.js 13.4 or later (App Router). Docs: unmap.dev/docs.
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.