Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxtjs/auth

Package Overview
Dependencies
Maintainers
4
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/auth - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

lib/core/auth.js

13

CHANGELOG.md

@@ -5,2 +5,15 @@ # Change Log

<a name="4.0.1"></a>
## [4.0.1](https://github.com/nuxt-community/auth-module/compare/v4.0.0...v4.0.1) (2018-04-03)
### Bug Fixes
* **local-scheme-token:** avoid token type duplicata on Axios requests ([3908563](https://github.com/nuxt-community/auth-module/commit/3908563))
* **local-scheme-token:** removed token type from axios setToken ([c64e7f1](https://github.com/nuxt-community/auth-module/commit/c64e7f1)), closes [#113](https://github.com/nuxt-community/auth-module/issues/113)
* **scheme-resolution:** fix problem with backslashes in path to schemes on windows ([77161b8](https://github.com/nuxt-community/auth-module/commit/77161b8))
* no token exception when tokenRequired is set to false ([#118](https://github.com/nuxt-community/auth-module/issues/118)) ([56265a7](https://github.com/nuxt-community/auth-module/commit/56265a7))
<a name="4.0.0"></a>

@@ -7,0 +20,0 @@ # [4.0.0](https://github.com/nuxt-community/auth-module/compare/v4.0.0-rc.3...v4.0.0) (2018-04-02)

2

lib/module/index.js

@@ -63,3 +63,3 @@ const { resolve, join, basename } = require('path')

function copyCore (options) {
const coreRoot = resolve(libRoot, 'auth')
const coreRoot = resolve(libRoot, 'core')

@@ -66,0 +66,0 @@ for (const file of readdirSync(coreRoot)) {

@@ -6,3 +6,3 @@ import Auth from './auth'

// Active chemes
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path}'`).join('\n') %>
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path.replace(/\\/g,'/')}'`).join('\n') %>

@@ -9,0 +9,0 @@ export default function (ctx, inject) {

@@ -12,3 +12,3 @@ export default class LocalScheme {

// Set Authorization token for all axios requests
this.$auth.ctx.app.$axios.setToken(token, this.options.tokenType)
this.$auth.ctx.app.$axios.setToken(token)
}

@@ -15,0 +15,0 @@ }

{
"name": "@nuxtjs/auth",
"version": "4.0.0",
"version": "4.0.1",
"description": "Authentication module for Nuxt.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -1,6 +0,4 @@

# 🔑 Auth Module
<h1 align="center" >🔑 Auth Module</h1>
<p align="center">Authentication module for Nuxt.js</p>
> Authentication module for Nuxt.js
<p align="center">

@@ -28,6 +26,11 @@ <a href="https://david-dm.org/nuxt-community/auth-module">

📖 [**Read Documentation**](https://auth.nuxtjs.org)
<p align="center">
<a href="https://auth.nuxtjs.org">Read Documentation</a>
</p>
**Running demo for development:**
## Development
Running demo for development:
```bash

@@ -38,4 +41,4 @@ $ yarn install

## 📑 License
## License
[MIT License](./LICENSE) - Copyright (c) Nuxt Community
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