create-emotion
Advanced tools
Comparing version 10.0.14 to 10.0.27
# create-emotion | ||
## 10.0.27 | ||
### Patch Changes | ||
- [`4c62ae9`](https://github.com/emotion-js/emotion/commit/4c62ae9447959d438928e1a26f76f1487983c968) [#1698](https://github.com/emotion-js/emotion/pull/1698) Thanks [@Andarist](https://github.com/Andarist)! - Add LICENSE file | ||
- Updated dependencies [[`4c62ae9`](https://github.com/emotion-js/emotion/commit/4c62ae9447959d438928e1a26f76f1487983c968)]: | ||
- @emotion/cache@10.0.27 | ||
- create-emotion-server@10.0.27 | ||
- @emotion/serialize@0.11.15 | ||
- @emotion/sheet@0.9.4 | ||
- @emotion/utils@0.11.3 | ||
## 10.0.14 | ||
@@ -7,2 +19,2 @@ | ||
- [c0eb604d](https://github.com/emotion-js/emotion/commit/c0eb604d) [#1419](https://github.com/emotion-js/emotion/pulls/1419) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Update build tool | ||
- [c0eb604d](https://github.com/emotion-js/emotion/commit/c0eb604d) [#1419](https://github.com/emotion-js/emotion/pull/1419) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Update build tool |
@@ -46,3 +46,3 @@ 'use strict'; | ||
var serialized = serialize.serializeStyles(args, cache.registered, this !== undefined ? this.mergedProps : undefined); | ||
var serialized = serialize.serializeStyles(args, cache.registered, undefined); | ||
utils.insertStyles(cache, serialized, false); | ||
@@ -49,0 +49,0 @@ return cache.key + "-" + serialized.name; |
@@ -40,3 +40,3 @@ import createCache from '@emotion/cache'; | ||
var serialized = serializeStyles(args, cache.registered, this !== undefined ? this.mergedProps : undefined); | ||
var serialized = serializeStyles(args, cache.registered, undefined); | ||
insertStyles(cache, serialized, false); | ||
@@ -43,0 +43,0 @@ return cache.key + "-" + serialized.name; |
@@ -46,3 +46,3 @@ 'use strict'; | ||
var serialized = serialize.serializeStyles(args, cache.registered, this !== undefined ? this.mergedProps : undefined); | ||
var serialized = serialize.serializeStyles(args, cache.registered, undefined); | ||
utils.insertStyles(cache, serialized, false); | ||
@@ -49,0 +49,0 @@ return cache.key + "-" + serialized.name; |
@@ -29,3 +29,3 @@ "use strict"; | ||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key]; | ||
var serialized = serialize.serializeStyles(args, cache.registered, void 0 !== this ? this.mergedProps : void 0); | ||
var serialized = serialize.serializeStyles(args, cache.registered, void 0); | ||
return utils.insertStyles(cache, serialized, !1), cache.key + "-" + serialized.name; | ||
@@ -32,0 +32,0 @@ }; |
@@ -40,3 +40,3 @@ import createCache from '@emotion/cache'; | ||
var serialized = serializeStyles(args, cache.registered, this !== undefined ? this.mergedProps : undefined); | ||
var serialized = serializeStyles(args, cache.registered, undefined); | ||
insertStyles(cache, serialized, false); | ||
@@ -43,0 +43,0 @@ return cache.key + "-" + serialized.name; |
{ | ||
"name": "create-emotion", | ||
"version": "10.0.14", | ||
"version": "10.0.27", | ||
"description": "The Next Generation of CSS-in-JS.", | ||
@@ -17,10 +17,10 @@ "main": "dist/create-emotion.cjs.js", | ||
"dependencies": { | ||
"@emotion/cache": "^10.0.14", | ||
"@emotion/serialize": "^0.11.8", | ||
"@emotion/sheet": "0.9.3", | ||
"@emotion/utils": "0.11.2" | ||
"@emotion/cache": "^10.0.27", | ||
"@emotion/serialize": "^0.11.15", | ||
"@emotion/sheet": "0.9.4", | ||
"@emotion/utils": "0.11.3" | ||
}, | ||
"devDependencies": { | ||
"babel-plugin-transform-define": "^1.3.0", | ||
"create-emotion-server": "10.0.14", | ||
"create-emotion-server": "10.0.27", | ||
"dtslint": "^0.3.0" | ||
@@ -46,2 +46,2 @@ }, | ||
} | ||
} | ||
} |
@@ -78,8 +78,4 @@ // @flow | ||
let css = function(...args) { | ||
let serialized = serializeStyles( | ||
args, | ||
cache.registered, | ||
this !== undefined ? this.mergedProps : undefined | ||
) | ||
let css = (...args) => { | ||
let serialized = serializeStyles(args, cache.registered, undefined) | ||
insertStyles(cache, serialized, false) | ||
@@ -86,0 +82,0 @@ return `${cache.key}-${serialized.name}` |
@@ -23,3 +23,3 @@ // Definitions by: Junyoung Clare Jang <https://github.com/Ailrun> | ||
| boolean | ||
| { [className: string]: boolean } | ||
| { [className: string]: boolean | null | undefined } | ||
| ArrayClassNamesArg | ||
@@ -26,0 +26,0 @@ |
@@ -50,3 +50,5 @@ import createEmotion from 'create-emotion' | ||
abc: false, | ||
fp: true | ||
fp: true, | ||
opt1: null, | ||
opt2: undefined | ||
}) | ||
@@ -53,0 +55,0 @@ cx([]) |
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
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
31477
16
948
- Removed@emotion/sheet@0.9.3(transitive)
- Removed@emotion/utils@0.11.2(transitive)
Updated@emotion/cache@^10.0.27
Updated@emotion/serialize@^0.11.15
Updated@emotion/sheet@0.9.4
Updated@emotion/utils@0.11.3