@storybook/addon-svelte-csf 5.0.4 → 5.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ export const emitCode = (params) => {
33
33
  const skipSourceRender = (context) => {
34
34
  const sourceParams = context?.parameters.docs?.source;
35
35
  const isArgsStory = context?.parameters.__isArgsStory;
36
- const rawCode = context?.parameters.__svelteCsf.rawCode;
36
+ const rawCode = context?.parameters.__svelteCsf?.rawCode;
37
37
  if (!rawCode) {
38
38
  return true;
39
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-svelte-csf",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "description": "Allows to write stories in Svelte syntax",
5
5
  "keywords": [
6
6
  "storybook-addons",