create-emotion
Advanced tools
Comparing version 10.0.14 to 11.0.0-next.0
# create-emotion | ||
## 11.0.0-next.0 | ||
### Major Changes | ||
- [`302bdba1`](https://github.com/emotion-js/emotion/commit/302bdba1a6b793484c09edeb668815c5e31ea555) [#1600](https://github.com/emotion-js/emotion/pull/1600) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Ensure packages are major bumped so that pre-release versions of the linked packages are consistent in the major number | ||
### Patch Changes | ||
- Updated dependencies [[`302bdba1`](https://github.com/emotion-js/emotion/commit/302bdba1a6b793484c09edeb668815c5e31ea555)]: | ||
- @emotion/cache@11.0.0-next.0 | ||
- create-emotion-server@11.0.0-next.0 | ||
## 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": "11.0.0-next.0", | ||
"description": "The Next Generation of CSS-in-JS.", | ||
@@ -17,3 +17,3 @@ "main": "dist/create-emotion.cjs.js", | ||
"dependencies": { | ||
"@emotion/cache": "^10.0.14", | ||
"@emotion/cache": "^11.0.0-next.0", | ||
"@emotion/serialize": "^0.11.8", | ||
@@ -25,3 +25,3 @@ "@emotion/sheet": "0.9.3", | ||
"babel-plugin-transform-define": "^1.3.0", | ||
"create-emotion-server": "10.0.14", | ||
"create-emotion-server": "11.0.0-next.0", | ||
"dtslint": "^0.3.0" | ||
@@ -47,2 +47,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
30484
948
1
1
+ Added@emotion/cache@11.13.1(transitive)
+ Added@emotion/memoize@0.9.0(transitive)
+ Added@emotion/sheet@1.4.0(transitive)
+ Added@emotion/utils@1.4.1(transitive)
+ Added@emotion/weak-memoize@0.4.0(transitive)
+ Addedstylis@4.2.0(transitive)
- Removed@emotion/cache@10.0.29(transitive)
- Removed@emotion/sheet@0.9.4(transitive)
- Removed@emotion/stylis@0.8.5(transitive)
- Removed@emotion/weak-memoize@0.2.5(transitive)