Socket
Socket
Sign inDemoInstall

@emotion/styled

Package Overview
Dependencies
66
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.0.0-next.5 to 11.0.0-next.6

10

CHANGELOG.md
# @emotion/styled
## 11.0.0-next.6
### Patch Changes
- [`923ded01`](https://github.com/emotion-js/emotion/commit/923ded01e2399a242206d590f6646f13aba110e4) [#1600](https://github.com/emotion-js/emotion/pull/1600) Thanks [@JakeGinnivan](https://github.com/JakeGinnivan)! - Relaxed types for `shouldForwardProp` as it needs to be able to filter props for a generic argument of the resulting function.
- Updated dependencies [[`923ded01`](https://github.com/emotion-js/emotion/commit/923ded01e2399a242206d590f6646f13aba110e4), [`0a4a22ff`](https://github.com/emotion-js/emotion/commit/0a4a22ffcfaa49d09a88856ef2d51e0d53e31b6d), [`828111cd`](https://github.com/emotion-js/emotion/commit/828111cd32d3fe8c984231201e518d1b6000bffd), [`843bfb11`](https://github.com/emotion-js/emotion/commit/843bfb1153ee0dbe33d005fdd5c5be185daa5c41), [`828111cd`](https://github.com/emotion-js/emotion/commit/828111cd32d3fe8c984231201e518d1b6000bffd), [`cbb8b796`](https://github.com/emotion-js/emotion/commit/cbb8b7965c2923cf1922d724de556374323bff61)]:
- @emotion/is-prop-valid@0.9.0-next.1
- babel-plugin-emotion@11.0.0-next.6
- @emotion/core@11.0.0-next.6
## 11.0.0-next.5

@@ -4,0 +14,0 @@

6

macro.js

@@ -1,5 +0,1 @@

module.exports = require('babel-plugin-emotion').macros.createStyledMacro({
importPath: '@emotion/styled/base',
originalImportPath: '@emotion/styled',
isWeb: true
})
module.exports = require('babel-plugin-emotion').macros.webStyled
{
"name": "@emotion/styled",
"version": "11.0.0-next.5",
"version": "11.0.0-next.6",
"description": "styled API for emotion",

@@ -15,10 +15,10 @@ "main": "dist/styled.cjs.js",

"@babel/runtime": "^7.7.2",
"@emotion/is-prop-valid": "0.8.6-next.0",
"@emotion/is-prop-valid": "0.9.0-next.1",
"@emotion/serialize": "^0.11.15-next.1",
"@emotion/utils": "0.11.2",
"babel-plugin-emotion": "^11.0.0-next.4"
"babel-plugin-emotion": "^11.0.0-next.6"
},
"peerDependencies": {
"@babel/core": "^7.0.0",
"@emotion/core": "^11.0.0-next.5",
"@emotion/core": "^11.0.0-next.6",
"react": ">=16.8.0"

@@ -33,3 +33,3 @@ },

"@babel/core": "^7.7.2",
"@emotion/core": "^11.0.0-next.5",
"@emotion/core": "^11.0.0-next.6",
"dtslint": "^0.3.0",

@@ -36,0 +36,0 @@ "react": "^16.11.0"

@@ -17,3 +17,3 @@ // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>

import { ComponentSelector, Interpolation } from '@emotion/serialize'
import { PropsOf, DistributiveOmit } from './helper'
import { PropsOf, DistributiveOmit } from '@emotion/core'

@@ -27,3 +27,3 @@ export {

export { ComponentSelector, Interpolation, PropsOf, DistributiveOmit }
export { ComponentSelector, Interpolation }

@@ -36,3 +36,3 @@ /** Same as StyledOptions but shouldForwardProp must be a type guard */

label?: string
shouldForwardProp?(propName: keyof Props): propName is ForwardedProps
shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps
target?: string

@@ -43,3 +43,3 @@ }

label?: string
shouldForwardProp?(propName: keyof Props): boolean
shouldForwardProp?(propName: PropertyKey): boolean
target?: string

@@ -46,0 +46,0 @@ }

@@ -18,4 +18,2 @@ // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>

export { PropsOf, DistributiveOmit } from './helper'
export type StyledTags<Theme extends {} = any> = {

@@ -22,0 +20,0 @@ [Tag in keyof JSX.IntrinsicElements]: CreateStyledComponent<

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc