Socket
Socket
Sign inDemoInstall

@storybook/channels

Package Overview
Dependencies
Maintainers
10
Versions
1901
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/channels - npm Package Compare versions

Comparing version 3.2.15 to 3.2.16

5

package.json
{
"name": "@storybook/channels",
"version": "3.2.15",
"version": "3.2.16",
"description": "",

@@ -9,6 +9,3 @@ "license": "MIT",

"prepare": "node ../../scripts/prepare.js"
},
"devDependencies": {
"shelljs": "^0.7.8"
}
}

8

src/index.test.js

@@ -103,4 +103,4 @@ /* eslint no-underscore-dangle: 0 */

channel.once('type-2', 22);
expect(channel._listeners['type-1'].length).toEqual(1);
expect(channel._listeners['type-2'].length).toEqual(2);
expect(channel._listeners['type-1']).toHaveLength(1);
expect(channel._listeners['type-2']).toHaveLength(2);
});

@@ -135,4 +135,4 @@

channel.prependOnceListener('type-2', 22);
expect(channel._listeners['type-1'].length).toEqual(1);
expect(channel._listeners['type-2'].length).toEqual(2);
expect(channel._listeners['type-1']).toHaveLength(1);
expect(channel._listeners['type-2']).toHaveLength(2);
});

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