Socket
Socket
Sign inDemoInstall

@storybook/addon-backgrounds

Package Overview
Dependencies
Maintainers
10
Versions
1861
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/addon-backgrounds - npm Package Compare versions

Comparing version 3.2.15 to 3.2.16

2

package.json
{
"name": "@storybook/addon-backgrounds",
"version": "3.2.15",
"version": "3.2.16",
"description": "A storybook addon to show different backgrounds for your preview",

@@ -5,0 +5,0 @@ "keywords": [

@@ -30,3 +30,3 @@ import React from 'react';

expect(backgroundPanel.state().backgrounds.length).toBe(0);
expect(backgroundPanel.state().backgrounds).toHaveLength(0);
});

@@ -76,3 +76,3 @@

const headings = backgroundPanel.find('h4');
expect(headings.length).toBe(8);
expect(headings).toHaveLength(8);
});

@@ -95,3 +95,3 @@

const headings = backgroundPanel.find('h4');
expect(headings.length).toBe(8);
expect(headings).toHaveLength(8);
});

@@ -98,0 +98,0 @@

@@ -34,3 +34,3 @@ import React from 'react';

expect(backgroundDecorator.html().match(/background:transparent/gim).length).toBe(1);
expect(backgroundDecorator.html().match(/background:transparent/gim)).toHaveLength(1);
});

@@ -91,4 +91,4 @@

backgroundDecorator.setProps({ randomProp: true });
expect(story.mock.calls.length).toBe(1);
expect(story.mock.calls).toHaveLength(1);
});
});

@@ -20,3 +20,3 @@ import React from 'react';

expect(markup.match(/foo/gim).length).toBe(1);
expect(markup.match(/foo/gim)).toHaveLength(1);
});

@@ -29,4 +29,4 @@

expect(markup.match(/background:bar/gim).length).toBe(1);
expect(markup.match(/bar/gim).length).toBe(2);
expect(markup.match(/background:bar/gim)).toHaveLength(1);
expect(markup.match(/bar/gim)).toHaveLength(2);
});

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