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

@nuxtjs/strapi

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/strapi - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [0.1.4](https://github.com/nuxt-community/strapi-module/compare/v0.1.3...v0.1.4) (2020-08-18)
### [0.1.3](https://github.com/nuxt-community/strapi-module/compare/v0.1.2...v0.1.3) (2020-07-28)

@@ -7,0 +9,0 @@

@@ -17,2 +17,3 @@ import Vue from 'vue'

this.$http = ctx.$http.create({})
this.$http.setToken(this.getToken (), 'Bearer')
this.$http.setBaseURL(runtimeConfig.url || '<%= options.url %>')

@@ -128,2 +129,7 @@ this.$http.onError((err) => {

async graphql(data) {
const request = await this.$http.$post(`/graphql`, data)
return request.data;
}
getToken () {

@@ -130,0 +136,0 @@ return this.$cookies.get(TOKEN_KEY)

7

package.json
{
"name": "@nuxtjs/strapi",
"version": "0.1.3",
"version": "0.1.4",
"description": "Strapi module for NuxtJS",

@@ -19,2 +19,3 @@ "repository": "nuxt-community/strapi-module",

"dev": "nuxt example",
"docs": "nuxt docs",
"lint": "eslint --ext .js,.vue .",

@@ -27,3 +28,3 @@ "release": "yarn test && standard-version && git push --follow-tags && npm publish",

"cookie-universal-nuxt": "^2.1.4",
"defu": "^2.0.4",
"defu": "^3.1.0",
"hookable": "^4.1.1"

@@ -43,3 +44,3 @@ },

"jest": "latest",
"nuxt-edge": "^2.14.1-26598267.60f68638",
"nuxt": "2.14.3",
"standard-version": "latest"

@@ -46,0 +47,0 @@ },

@@ -1,2 +0,2 @@

[![@nuxtjs/strapi](https://user-images.githubusercontent.com/904724/86623081-3eb71280-bfc1-11ea-9ddd-c9e731e0f3e7.png)](https://strapi.nuxtjs.org)
[![@nuxtjs/strapi](https://strapi.nuxtjs.org/preview.png)](https://strapi.nuxtjs.org)

@@ -3,0 +3,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