happo-plugin-storybook
Advanced tools
Comparing version 4.3.1 to 4.3.2
{ | ||
"name": "happo-plugin-storybook", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"description": "A happo.io plugin for projects using Storybook", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/enduire/happo-plugin-storybook.git" | ||
"url": "git+https://github.com/happo/happo-plugin-storybook.git" | ||
}, | ||
@@ -37,5 +37,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/enduire/happo-plugin-storybook/issues" | ||
"url": "https://github.com/happo/happo-plugin-storybook/issues" | ||
}, | ||
"homepage": "https://github.com/enduire/happo-plugin-storybook#readme", | ||
"homepage": "https://github.com/happo/happo-plugin-storybook#readme", | ||
"prettier": { | ||
@@ -70,3 +70,3 @@ "trailingComma": "all", | ||
"file-loader": "^3.0.1", | ||
"happo.io": "^10.1.1", | ||
"happo.io": "^10.1.2", | ||
"jest": "^29.7.0", | ||
@@ -76,2 +76,3 @@ "raw-loader": "^1.0.0", | ||
"react-dom": "^18.2.0", | ||
"react-error-boundary": "^4.0.13", | ||
"react-tether": "^2.0.0", | ||
@@ -78,0 +79,0 @@ "storybook": "^8.0.0", |
# happo-plugin-storybook | ||
A [happo.io](https://github.com/enduire/happo.io) plugin for Storybook. | ||
A [Happo](https://happo.io) plugin for Storybook. | ||
*Documentation is available at | ||
[docs.happo.io](https://docs.happo.io/docs/storybook)* | ||
_Documentation is available at | ||
[docs.happo.io](https://docs.happo.io/docs/storybook)_ | ||
## https://docs.happo.io/docs/storybook |
@@ -179,4 +179,4 @@ "use strict"; | ||
}, []).sort(function (a, b) { | ||
var aCompare = "".concat(a.theme, "-").concat(a.storyId); | ||
var bCompare = "".concat(b.theme, "-").concat(b.storyId); | ||
var aCompare = "".concat(a.component, "-").concat(a.theme, "-").concat(a.storyId); | ||
var bCompare = "".concat(b.component, "-").concat(b.theme, "-").concat(b.storyId); | ||
if (aCompare === bCompare) { | ||
@@ -435,3 +435,3 @@ return 0; | ||
function forceHappoScreenshot(stepLabel) { | ||
if (!currentIndex) { | ||
if (!examples) { | ||
console.log("Ignoring forceHappoScreenshot with step label \"".concat(stepLabel, "\" since we are not currently rendering for Happo")); | ||
@@ -438,0 +438,0 @@ return; |
@@ -106,4 +106,4 @@ const { SB_ROOT_ELEMENT_SELECTOR } = require('./constants'); | ||
.sort((a, b) => { | ||
const aCompare = `${a.theme}-${a.storyId}`; | ||
const bCompare = `${b.theme}-${b.storyId}`; | ||
const aCompare = `${a.component}-${a.theme}-${a.storyId}`; | ||
const bCompare = `${b.component}-${b.theme}-${b.storyId}`; | ||
if (aCompare === bCompare) { | ||
@@ -301,3 +301,3 @@ return 0; | ||
export function forceHappoScreenshot(stepLabel) { | ||
if (!currentIndex) { | ||
if (!examples) { | ||
console.log( | ||
@@ -304,0 +304,0 @@ `Ignoring forceHappoScreenshot with step label "${stepLabel}" since we are not currently rendering for Happo`, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
60637
1
32