Socket
Socket
Sign inDemoInstall

@emotion/cache

Package Overview
Dependencies
Maintainers
4
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emotion/cache - npm Package Compare versions

Comparing version 11.10.8 to 11.11.0

dist/emotion-cache.cjs.d.mts

4

dist/emotion-cache.browser.esm.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc