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

@theme-ui/core

Package Overview
Dependencies
Maintainers
3
Versions
427
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theme-ui/core - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

28

dist/index.modern.js

@@ -1,7 +0,25 @@

import { jsx as jsx$1, ThemeContext } from '@emotion/core';
import { jsx as jsx$1, ThemeContext } from '@emotion/react';
import { css } from '@theme-ui/css';
import { createContext, useContext } from 'react';
import deepmerge from 'deepmerge';
import packageInfo from '@emotion/core/package.json';
import packageInfo from '@emotion/react/package.json';
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
const __EMOTION_VERSION__ = packageInfo.version;

@@ -84,9 +102,9 @@

if (outer.__EMOTION_VERSION__ !== __EMOTION_VERSION__) {
console.warn('Multiple versions of Emotion detected,', 'and theming might not work as expected.', 'Please ensure there is only one copy of @emotion/core installed in your application.');
console.warn('Multiple versions of Emotion detected,', 'and theming might not work as expected.', 'Please ensure there is only one copy of @emotion/react installed in your application.');
}
}
const context = typeof theme === 'function' ? { ...outer,
const context = typeof theme === 'function' ? _extends({}, outer, {
theme: theme(outer.theme)
} : merge.all({}, outer, {
}) : merge.all({}, outer, {
theme

@@ -93,0 +111,0 @@ });

6

package.json
{
"name": "@theme-ui/core",
"version": "0.3.3",
"version": "0.3.4",
"main": "dist/index.js",

@@ -19,3 +19,3 @@ "module": "dist/index.esm.js",

"@emotion/core": "^10.0.0",
"@theme-ui/css": "^0.3.3",
"@theme-ui/css": "^0.3.4",
"deepmerge": "^4.2.2"

@@ -29,3 +29,3 @@ },

},
"gitHead": "bfba2df8fdd01119c3af6a233355db1955c54ba0"
"gitHead": "7840f829dea27b554c5cd1cb00470770fceca2eb"
}

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