jest-styled-components
Advanced tools
Comparing version 4.9.0 to 4.10.0
@@ -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 @@ |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38416
13
2