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

jest-styled-components

Package Overview
Dependencies
Maintainers
2
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-styled-components - npm Package Compare versions

Comparing version 4.9.0 to 4.10.0

native/.DS_Store

11

CHANGELOG.md

@@ -7,4 +7,13 @@ # Changelog

## [4.9.0](https://github.com/styled-components/jest-styled-components/compare/v4.8.0...v4.9.0) - 2017-10-22
### Changed
- [toHaveStyleRule (Native)] Full rewrite to support Styled Components v2.
- Update dependencies.
- Improve README.
### Fixed
- [toHaveStyleRule (React)] Support styled components wrapped with `styled`.
## [4.8.0](https://github.com/styled-components/jest-styled-components/compare/v4.7.1...v4.8.0) - 2017-10-21
### Fixed
### Changed
- [toMatchSnapshot] Support Preact.

@@ -11,0 +20,0 @@

4

package.json
{
"name": "jest-styled-components",
"version": "4.9.0",
"version": "4.10.0",
"description": "Jest utilities for Styled Components",

@@ -30,3 +30,3 @@ "main": "./src/index.js",

"enzyme-adapter-react-16": "^1.0.0",
"enzyme-to-json": "^3.0.1",
"enzyme-to-json": "^3.3.0",
"eslint": "^3.17.1",

@@ -33,0 +33,0 @@ "eslint-config-airbnb": "^14.1.0",

@@ -14,3 +14,3 @@ const { getCSS } = require('./utils')

if (received.$$typeof === Symbol.for('react.test.json')) {
className = received.props.className
className = received.props.className || received.props.class
} else if (typeof received.findWhere === 'function') {

@@ -17,0 +17,0 @@ const tree = shouldDive(received) ? received.dive() : received

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