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

happo-plugin-storybook

Package Overview
Dependencies
Maintainers
0
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happo-plugin-storybook - npm Package Compare versions

Comparing version 4.3.1 to 4.3.2

11

package.json
{
"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`,

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