New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/router

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/router - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

dist/index.js

@@ -13,3 +13,5 @@ 'use strict';

// Disable parsing `pages/`
this.nuxt.options.build.createRoutes = function () {};
this.nuxt.options.build.createRoutes = function () {
return [];
};

@@ -16,0 +18,0 @@ // Add ${srcDir}/router.js as the main template for routing

{
"name": "@nuxtjs/router",
"version": "1.0.0",
"version": "1.0.1",
"description": "Nuxt module to use router.js instead of pages/ directory",

@@ -44,4 +44,5 @@ "license": "MIT",

"devDependencies": {
"jest-cli": "^21.0.2",
"nuxt-module-builder": "latest"
}
}

@@ -6,5 +6,3 @@ # Nuxt Router Module

[![Codecov](https://img.shields.io/codecov/c/github/nuxt-community/router-module.svg?style=flat-square)](https://codecov.io/gh/nuxt-community/router-module)
[![Dependencies](https://david-dm.org/nuxt-community/router-module/status.svg?style=flat-square)](https://david-dm.org/nuxt-community/router-module)
[![js-standard-style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)

@@ -14,7 +12,7 @@

[📖 **Release Notes**](./CHANGELOG.md)
[📖 **Release Notes**](https://github.com/nuxt-community/router-module/releases)
## Features
The module features
Use your own `router.js` to handle your routes into your [Nuxt.js](https://nuxtjs.org) application.

@@ -21,0 +19,0 @@ ## Setup

@@ -11,3 +11,5 @@ import { resolve } from 'path'

// Disable parsing `pages/`
this.nuxt.options.build.createRoutes = () => {}
this.nuxt.options.build.createRoutes = () => {
return []
}

@@ -14,0 +16,0 @@ // Add ${srcDir}/router.js as the main template for routing

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc