🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@nuxt/generator

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/generator - npm Package Compare versions

Comparing version
2.14.0
to
2.14.1
+2
-2
dist/generator.js
/*!
* @nuxt/generator v2.14.0 (c) 2016-2020
* @nuxt/generator v2.14.1 (c) 2016-2020

@@ -380,3 +380,3 @@ * - All the amazing contributors

if (route.startsWith('/') && !path.extname(route) && this.shouldGenerateRoute(route) && !this.generatedRoutes.has(route)) {
if (route.startsWith('/') && !route.startsWith('//') && !path.extname(route) && this.shouldGenerateRoute(route) && !this.generatedRoutes.has(route)) {
this.generatedRoutes.add(route);

@@ -383,0 +383,0 @@ this.routes.push({ route });

{
"name": "@nuxt/generator",
"version": "2.14.0",
"version": "2.14.1",
"repository": "nuxt/nuxt.js",

@@ -11,3 +11,3 @@ "license": "MIT",

"dependencies": {
"@nuxt/utils": "2.14.0",
"@nuxt/utils": "2.14.1",
"chalk": "^3.0.0",

@@ -14,0 +14,0 @@ "consola": "^2.14.0",