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

gatsby-source-storyblok

Package Overview
Dependencies
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-storyblok - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

gatsby-node.js

@@ -17,3 +17,3 @@ const StoryblokClient = require('storyblok-js-client')

const space = await Sync.getSpace()
const languages = (options.languages ? options.languages : space.language_codes).map((lang) => { return lang + '/*' })
const languages = options.languages ? options.languages : space.language_codes
languages.push('')

@@ -20,0 +20,0 @@

{
"name": "gatsby-source-storyblok",
"description": "Gatsby source plugin for building websites using the Storyblok headless CMS as a data source.",
"version": "3.0.0",
"version": "3.0.1",
"author": "Alexander Feiglstorfer <af@storyblok.com>",
"dependencies": {
"json-stringify-safe": "^5.0.1",
"storyblok-js-client": "^4.0.5"
"storyblok-js-client": "^4.0.6"
},

@@ -10,0 +10,0 @@ "scripts": {

# Introduction
This is a Gatsby source plugin for building websites using the [Storyblok](https://www.storyblok.com) headless CMS with true visual preview as a data source.
This is a Gatsby source plugin for building websites using the [Storyblok](https://www.storyblok.com) headless CMS with true visual preview as a data source.

@@ -5,0 +5,0 @@ ## Install

@@ -25,3 +25,3 @@ /**

if (language.length > 0) {
params.starts_with = language
params.language = language
}

@@ -28,0 +28,0 @@

@@ -13,3 +13,3 @@ const getStoryParams = require('../src/getStoryParams')

expect(getStoryParams('en', options)).toEqual({
starts_with: 'en',
language: 'en',
resolve_links: 'story'

@@ -24,3 +24,3 @@ })

expect(getStoryParams('en', options)).toEqual({
starts_with: 'en',
language: 'en',
resolve_links: 'url'

@@ -35,3 +35,3 @@ })

expect(getStoryParams('en', options)).toEqual({
starts_with: 'en',
language: 'en',
version: 'draft'

@@ -47,3 +47,3 @@ })

expect(getStoryParams('en', options)).toEqual({
starts_with: 'en',
language: 'en',
version: 'draft',

@@ -50,0 +50,0 @@ resolve_relations: 'page.author,page.categories'

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