@emotion/cache
Advanced tools
Comparing version 11.10.8 to 11.11.0
@@ -460,3 +460,3 @@ import { StyleSheet } from '@emotion/sheet'; | ||
if ( key === 'css') { | ||
if (key === 'css') { | ||
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration | ||
@@ -584,2 +584,2 @@ // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be) | ||
export default createCache; | ||
export { createCache as default }; |
export * from "./declarations/src/index"; | ||
export { default } from "./declarations/src/index"; | ||
//# sourceMappingURL=emotion-cache.cjs.d.ts.map |
@@ -461,4 +461,4 @@ 'use strict'; | ||
var isBrowser = typeof document !== 'undefined'; | ||
var getServerStylisCache = isBrowser ? undefined : weakMemoize__default['default'](function () { | ||
return memoize__default['default'](function () { | ||
var getServerStylisCache = isBrowser ? undefined : weakMemoize__default["default"](function () { | ||
return memoize__default["default"](function () { | ||
var cache = {}; | ||
@@ -658,2 +658,2 @@ return function (name) { | ||
exports.default = createCache; | ||
exports["default"] = createCache; |
@@ -353,4 +353,4 @@ 'use strict'; | ||
var isBrowser = typeof document !== 'undefined'; | ||
var getServerStylisCache = isBrowser ? undefined : weakMemoize__default['default'](function () { | ||
return memoize__default['default'](function () { | ||
var getServerStylisCache = isBrowser ? undefined : weakMemoize__default["default"](function () { | ||
return memoize__default["default"](function () { | ||
var cache = {}; | ||
@@ -417,3 +417,3 @@ return function (name) { | ||
var currentSheet; | ||
var finalizingPlugins = [stylis.stringify, stylis.rulesheet(function (rule) { | ||
var finalizingPlugins = [stylis.stringify, stylis.rulesheet(function (rule) { | ||
currentSheet.insert(rule); | ||
@@ -507,2 +507,2 @@ })]; | ||
exports.default = createCache; | ||
exports["default"] = createCache; |
@@ -648,2 +648,2 @@ import { StyleSheet } from '@emotion/sheet'; | ||
export default createCache; | ||
export { createCache as default }; |
@@ -451,3 +451,3 @@ import { StyleSheet } from '@emotion/sheet'; | ||
var getServerStylisCache = weakMemoize(function () { | ||
var getServerStylisCache = weakMemoize(function () { | ||
return memoize(function () { | ||
@@ -572,2 +572,2 @@ var cache = {}; | ||
export default createCache; | ||
export { createCache as default }; |
{ | ||
"name": "@emotion/cache", | ||
"version": "11.10.8", | ||
"version": "11.11.0", | ||
"description": "emotion's cache", | ||
@@ -17,2 +17,3 @@ "main": "dist/emotion-cache.cjs.js", | ||
}, | ||
"import": "./dist/emotion-cache.cjs.mjs", | ||
"default": "./dist/emotion-cache.cjs.js" | ||
@@ -29,7 +30,7 @@ }, | ||
"dependencies": { | ||
"@emotion/memoize": "^0.8.0", | ||
"@emotion/sheet": "^1.2.1", | ||
"@emotion/utils": "^1.2.0", | ||
"@emotion/weak-memoize": "^0.3.0", | ||
"stylis": "4.1.4" | ||
"@emotion/memoize": "^0.8.1", | ||
"@emotion/sheet": "^1.2.2", | ||
"@emotion/utils": "^1.2.1", | ||
"@emotion/weak-memoize": "^0.3.1", | ||
"stylis": "4.2.0" | ||
}, | ||
@@ -36,0 +37,0 @@ "devDependencies": { |
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
129544
25
3356
+ Addedstylis@4.2.0(transitive)
- Removedstylis@4.1.4(transitive)
Updated@emotion/memoize@^0.8.1
Updated@emotion/sheet@^1.2.2
Updated@emotion/utils@^1.2.1
Updated@emotion/weak-memoize@^0.3.1
Updatedstylis@4.2.0