New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@storyblok/astro

Package Overview
Dependencies
Maintainers
7
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storyblok/astro - npm Package Compare versions

Comparing version 2.0.15 to 2.0.16

8

package.json
{
"name": "@storyblok/astro",
"version": "2.0.15",
"version": "2.0.16",
"description": "Official Astro integration for the Storyblok Headless CMS",

@@ -31,3 +31,3 @@ "main": "./dist/storyblok-astro.js",

"dependencies": {
"@storyblok/js": "^2.1.2",
"@storyblok/js": "^2.1.3",
"camelcase": "^7.0.1"

@@ -39,3 +39,3 @@ },

"@types/node": "18.15.11",
"astro": "2.1.0",
"astro": "2.1.8",
"cypress": "^12.9.0",

@@ -45,3 +45,3 @@ "eslint-plugin-cypress": "^2.12.1",

"typescript": "4.9.5",
"vite": "^4.1.4",
"vite": "^4.2.1",
"vite-plugin-dts": "^2.1.0"

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

@@ -66,3 +66,3 @@ <div align="center">

When you initialize the integration, you can pass all [_@storyblok/js_ options](https://github.com/storyblok/storyblok-js#features-and-api). For spaces created in the United States, you have to set the `region` parameter accordingly `{ apiOptions: { region: 'us' } }`.
When you initialize the integration, you can pass all [_@storyblok/js_ options](https://github.com/storyblok/storyblok-js#features-and-api).

@@ -75,2 +75,3 @@ ```js

apiOptions: {}, // storyblok-js-client options
components: {},
useCustomApi: false,

@@ -82,2 +83,20 @@ });

#### Region parameter
Possible values:
- `eu` (default): For spaces created in the EU
- `us`: For spaces created in the US
- `cn`: For spaces created in China
Full example for a space created in the US:
```js
storyblok({
accessToken: "<your-access-token>",
apiOptions: {
region: 'us'
},
});
```
> Note: For spaces created in the United States or China, the `region` parameter **must** be specified.
## Getting started

@@ -268,2 +287,5 @@

## The Storyblok JavaScript SDK Ecosystem
![A visual representation of the Storyblok JavaScript SDK Ecosystem](https://a.storyblok.com/f/88751/2400x1350/be4a4a4180/sdk-ecosystem.png/m/1200x0)
## Acknowledgements

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