Scan your whole stack
Are you using @alien6-studio/elea-media?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.6
@alien6-studio/elea-media was last scanned on 30 Nov 2026 at version 0.1.6. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.6 LATEST | 30 Nov 2026 | No rules fired |
| 0.1.5 | 28 Nov 2026 | No rules fired |
| 0.1.4 | 27 Nov 2026 | No rules fired |
| 0.1.3 | 27 Nov 2026 | Not shown |
| 0.1.2 | 26 Nov 2026 | Not shown |
Findings for v0.1.6. 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.1.6; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Media components for React on Elea tokens: a drop zone for files and an image cropper with
zoom and rotation. Labels come from the host; styles come from styles.css and read
--elea-* variables only.
This package ships ES modules only. For Jest with next/jest, add @alien6-studio/elea-media to transpilePackages. Include @alien6-studio/elea-ui when testing the crop format controls.
"use client";
import { createCropFormats, DropZone, ImageCropper } from "@alien6-studio/elea-media";
import "@alien6-studio/elea-media/bundle.css"; // the tokens, then styles.css
<DropZone accept="image/*" label="Click to add an image" hint="or drop one here" onFiles={([file]) => setFile(file)} />
<ImageCropper
file={file}
aspect={16 / 9}
labels={{ zoom: "Zoom", rotation: "Rotation", confirm: "Use this image", cancel: "Cancel", image: "Picture to frame" }}
onConfirm={(blob) => {
if (blob) upload(blob);
else setError("The cropped image could not be exported.");
}}
/>
The geometry (cropRect, coverScale, exportCrop) is exported on its own for hosts that draw
their own frame.
Pass export={{ outputSize: { width: 1200, height: 800 } }} for an exact pixel size, including
upscaling. The preview uses that ratio. Exact dimensions take precedence over aspect and
maxWidth. Each side accepts 1–8192 whole pixels, up to 16,777,216 pixels in total.
Pass formats={createCropFormats(options)} to let people move and resize a crop area on the photo.
The move and resize controls accept arrow keys. Include the four labels.corners below to show a handle
at each corner and a composition grid during adjustment. Choose the original ratio, a square
(1080 × 1080), landscape (1600 × 900), portrait (1080 × 1350), custom pixel dimensions or
a free ratio.
With formats enabled, the confirm button stays disabled until the source image has loaded.
Free crops export the selected source pixels at their natural resolution.
The media bundle.css includes the format controls. When importing individual styles,
load the media styles.css and crop-adjustments.css alongside the UI styles for Field,
Select, Slider and Button.
<ImageCropper file={file} labels={labels} onConfirm={saveCrop}
formats={createCropFormats({
defaultValue: "cover",
presets: [
{ value: "cover", label: "Article cover · 1600 × 900", outputSize: { width: 1600, height: 900 } },
{ value: "card", label: "Story card · 4:5", aspect: 4 / 5 },
],
labels: {
format: "Crop format", original: "Original ratio", free: "Free ratio",
custom: "Custom dimensions", width: "Width (px)", height: "Height (px)",
move: "Move crop area", resize: "Resize crop area",
corners: {
topLeft: "Resize from top left", topRight: "Resize from top right",
bottomLeft: "Resize from bottom left", bottomRight: "Resize from bottom right",
},
invalidSize: "Use whole pixels from 1 to 8192 per side, up to 16,777,216 pixels in total.",
},
})}
/>
To adjust an exported crop, retain its original file or URL and the recipe from the
fourth argument of onConfirm. Mount a new cropper for each edit, pass the same
original, the same format definitions and the saved initialCrop. A recipe contains
only JSON data. Its coordinates scale to the current viewport. Each placement of an
image can keep its own recipe.
<ImageCropper
file={original}
formats={formats}
initialCrop={savedRecipe}
labels={labels}
onConfirm={(blob, _rect, _state, recipe) => {
if (blob && recipe) savePlacement({ blob, recipe });
}}
/> 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.