Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emotion-utils

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emotion-utils - npm Package Compare versions

Comparing version 8.0.12 to 9.0.0-0

dist/emotion.umd.min.js

5

dist/index.cjs.js

@@ -966,4 +966,3 @@ 'use strict';

// weak
function memoize(fn) {
var memoize = function memoize(fn) {
var cache = {};

@@ -974,3 +973,3 @@ return function (arg) {

};
}
};
var STYLES_KEY = '__emotion_styles';

@@ -977,0 +976,0 @@ var TARGET_KEY = '__emotion_target';

@@ -962,4 +962,3 @@ // murmurhash2 via https://gist.github.com/raycmorgan/588423

// weak
function memoize(fn) {
var memoize = function memoize(fn) {
var cache = {};

@@ -970,3 +969,3 @@ return function (arg) {

};
}
};
var STYLES_KEY = '__emotion_styles';

@@ -973,0 +972,0 @@ var TARGET_KEY = '__emotion_target';

8

package.json
{
"name": "emotion-utils",
"version": "8.0.12",
"version": "9.0.0-0",
"description": "Shared utilities used by emotion, The Next Generation of CSS-in-JS.",

@@ -18,5 +18,5 @@ "main": "dist/index.cjs.js",

"author": "Kye Hohenberger",
"homepage": "https://github.com/tkh44/emotion#readme",
"homepage": "https://emotion.sh",
"license": "MIT",
"repository": "https://github.com/tkh44/emotion/tree/master/packages/emotion-utils",
"repository": "https://github.com/emotion-js/emotion/tree/master/packages/emotion-utils",
"keywords": [

@@ -30,3 +30,3 @@ "styles",

"bugs": {
"url": "https://github.com/tkh44/emotion/issues"
"url": "https://github.com/emotion-js/emotion/issues"
},

@@ -33,0 +33,0 @@ "devDependencies": {

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

// @flow weak
export function memoize(fn) {
// @flow
export const memoize = (fn: string => any) => {
const cache = {}
return arg => {
return (arg: string) => {
if (cache[arg] === undefined) cache[arg] = fn(arg)

@@ -13,3 +14,3 @@ return cache[arg]

export const unitless = {
export const unitless: { [string]: 1 } = {
animationIterationCount: 1,

@@ -16,0 +17,0 @@ borderImageOutset: 1,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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