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

create-emotion

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-emotion - npm Package Compare versions

Comparing version 10.0.14 to 11.0.0-next.0

14

CHANGELOG.md
# 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

2

dist/create-emotion.browser.cjs.js

@@ -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([])

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