
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
inline-style-editor
Advanced tools
Tool to graphically change CSS (on classes of inline) using a graphical interface.
See demo.
Manual opening of editor:
const editor = new InlineStyleEditor();
document.body.addEventListener('click', (e) => {
const target = e.target;
editor.open(target, e.pageX, e.pageY);
});
Or automatic (in which case it automatically listen to the element for clicks):
new InlineStyleEditor({
listenOnClick: true,
});
option | type | Description |
---|---|---|
listenOnClick | Boolean | Default to false. If true, click events will be listened on the element, and the editor opened where clicked |
getAdditionalElems | Function | A function called everytime the editor is opened. Should return a list of HTMLElement, that will be editable as well |
FAQs
Update CSS rules or add inline style to elements visualy
The npm package inline-style-editor receives a total of 6 weekly downloads. As such, inline-style-editor popularity was classified as not popular.
We found that inline-style-editor demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.