Socket
Socket
Sign inDemoInstall

eslint-plugin-storybook

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-storybook - npm Package Compare versions

Comparing version 0.6.13 to 0.6.14--canary.5447e45.0

4

dist/rules/use-storybook-expect.js

@@ -33,3 +33,5 @@ "use strict";

const isExpectFromStorybookImported = (node) => {
return (node.source.value === '@storybook/jest' &&
const { value: packageName } = node.source;
const usesExpectFromStorybook = packageName === '@storybook/jest' || packageName === '@storybook/test';
return (usesExpectFromStorybook &&
node.specifiers.find((spec) => (0, ast_1.isImportSpecifier)(spec) && spec.imported.name === 'expect'));

@@ -36,0 +38,0 @@ };

{
"name": "eslint-plugin-storybook",
"version": "0.6.13",
"version": "0.6.14--canary.5447e45.0",
"description": "Best practice rules for Storybook",

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

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