Socket
Socket
Sign inDemoInstall

druxt-router

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

druxt-router - npm Package Compare versions

Comparing version 0.29.1 to 0.30.0

4

package.json
{
"name": "druxt-router",
"version": "0.29.1",
"version": "0.30.0",
"description": "Drupal router for Nuxt, powered by the Drupal Decoupled Router module.",

@@ -45,3 +45,3 @@ "keywords": [

"dependencies": {
"druxt": "^0.22.0",
"druxt": "^0.23.0",
"url-parse": "^1.5.10"

@@ -48,0 +48,0 @@ },

import { DruxtRouter } from 'druxt-router'
export default (context, inject) => {
export default ({ app }, inject) => {
const baseUrl = '<%= options.baseUrl %>'

@@ -27,2 +27,5 @@ const options = {}

options.axios = <%= JSON.stringify(options.axios) %>
<% } else { %>
// Use the @nuxtjs/axios module Axios instance.
options.axios = app.$axios
<% } %>

@@ -29,0 +32,0 @@

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