
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).
dev-filterjs
Advanced tools
A versatile and developer-friendly JavaScript utility for filtering arrays, objects, and nested data structures with custom, chainable logic.
js-log-print is a robust and extensible logging utility for Vite and JavaScript projects. It supports structured logging formats and integrates seamlessly with popular tools like Bunyan and Winston.
Using npm:
npm install js-log-print --save-dev
Using Yarn:
yarn add js-log-print -D
Add the plugin to your vite.config.js
or vite.config.ts
:
import { defineConfig } from "vite";
import jsLogPrint from "js-log-print";
export default defineConfig({
plugins: [
jsLogPrint({
logLevel: "info",
format: "json",
output: "console",
}),
],
});
Option | Type | Default | Description |
---|---|---|---|
logLevel | 'info' | 'warn' | 'error' | 'debug' | 'info' | Minimum log level to output |
format | 'json' | 'pretty' | 'bunyan' | 'pretty' | Log message format |
output | 'console' | 'file' | 'console' | Output destination |
outputPath | string | undefined | Path to log file if output is 'file' |
includeTimestamp | boolean | true | Whether to include timestamps in logs |
[js-log-print] [INFO] Server started on http://localhost:5173
[js-log-print] [DEBUG] Resolved config: ...
{
"level": "info",
"timestamp": "2025-06-07T14:32:00.000Z",
"message": "Server started on http://localhost:5173"
}
MIT © [dmytryi]
Contributions are welcome! Feel free to open issues or pull requests.
FAQs
security holding package
The npm package dev-filterjs receives a total of 0 weekly downloads. As such, dev-filterjs popularity was classified as not popular.
We found that dev-filterjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.