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

storyblok

Package Overview
Dependencies
Maintainers
7
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storyblok - npm Package Compare versions

Comparing version 3.24.2 to 3.25.0

4

package.json
{
"name": "storyblok",
"version": "3.24.2",
"version": "3.25.0",
"description": "A simple CLI to start Storyblok from your command line.",

@@ -45,3 +45,3 @@ "repository": {

"simple-uuid": "^0.0.1",
"storyblok-js-client": "^4.5.6",
"storyblok-js-client": "^5.12.0",
"update-notifier": "^5.1.0",

@@ -48,0 +48,0 @@ "xml-js": "^1.6.11"

@@ -31,2 +31,7 @@ const API_URL = 'https://api.storyblok.com/v1/'

const DEFAULT_AGENT = {
SB_Agent: 'SB-CLI',
SB_Agent_Version: process.env.npm_package_version || '3.0.0'
}
module.exports = {

@@ -39,3 +44,4 @@ LOGIN_URL,

CN_API_URL,
COMMANDS
COMMANDS,
DEFAULT_AGENT
}

@@ -8,3 +8,3 @@ const chalk = require('chalk')

const getQuestions = require('./get-questions')
const { SIGNUP_URL, API_URL, US_API_URL, CN_API_URL } = require('../constants')
const { SIGNUP_URL, API_URL, US_API_URL, CN_API_URL, DEFAULT_AGENT } = require('../constants')

@@ -24,3 +24,6 @@ module.exports = {

oauthToken: this.oauthToken,
region: this.region
region: this.region,
headers: {
...DEFAULT_AGENT
}
}, this.apiSwitcher(region))

@@ -282,3 +285,6 @@ } catch (error) {

oauthToken: this.oauthToken,
region
region,
headers: {
...DEFAULT_AGENT
}
}, this.apiSwitcher(region))

@@ -285,0 +291,0 @@ return await customClient

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