
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).
Deprecated nuxt-mq is deprecated. If you wan't to create Vue logic based on the screen size, I recommend using a solution that uses hooks instead. Personally, I would recommend VueUse useMediqQuery hook. VueUse has support for both Nuxt 2 and Nuxt 3 projects. Thanks for all the support! ✌️
vue-mq module for Nuxt.js.
nuxt-mq
dependency using yarn or npm to your projectnuxt-mq
to modules
section of nuxt.config.js
{
modules: [
// Simple usage
[
'nuxt-mq',
{
// Default breakpoint for SSR
defaultBreakpoint: 'sm',
breakpoints: {
sm: 450,
md: 1250,
lg: Infinity
}
}
]
];
}
using top level options
{
modules: [
['nuxt-mq']
],
'mq': {
defaultBreakpoint: 'sm',
breakpoints: {
sm: 450,
md: 1250,
lg: Infinity,
}
}
}
Click here for all options and features of vue-mq.
yarn install
or npm install
npm run dev
or with Node debugging on npm run dev-debug
Copyright (c) Maarten Van Hoof
FAQs
vue-mq module for Nuxt.js
The npm package nuxt-mq receives a total of 3,781 weekly downloads. As such, nuxt-mq popularity was classified as popular.
We found that nuxt-mq demonstrated a not healthy version release cadence and project activity because the last version was released 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.