@loki/browser
Advanced tools
Comparing version 0.29.0 to 0.30.0
{ | ||
"name": "@loki/browser", | ||
"version": "0.29.0", | ||
"version": "0.30.0", | ||
"description": "Loki browser integration", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@loki/integration-core": "^0.29.0" | ||
"@loki/integration-core": "^0.30.0" | ||
}, | ||
@@ -29,3 +29,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "4be00352e8554d7aff69c49f670fc247a9d22e6e" | ||
"gitHead": "3ad5b47e681013aeaa9a21f6b5465807262b9f29" | ||
} |
@@ -12,2 +12,12 @@ /* eslint-disable no-underscore-dangle */ | ||
} | ||
const blockedParams = [ | ||
'actions', | ||
'argTypes', | ||
'backgrounds', | ||
'controls', | ||
'docs', | ||
'framework', | ||
'storySource', | ||
]; | ||
return getStorybook() | ||
@@ -18,7 +28,11 @@ .map((component) => ({ | ||
story: component.story, | ||
parameters: component.parameters.loki || {}, | ||
parameters: Object.fromEntries( | ||
Object.entries(component.parameters || {}).filter( | ||
([key]) => !key.startsWith('__') && !blockedParams.includes(key) | ||
) | ||
), | ||
})) | ||
.filter(({ parameters }) => !parameters.skip); | ||
.filter(({ parameters }) => !parameters.loki || !parameters.loki.skip); | ||
}; | ||
module.exports = getStories; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20531
574
+ Added@loki/integration-core@0.30.0(transitive)
- Removed@loki/integration-core@0.29.0(transitive)