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

@instructure/emotion

Package Overview
Dependencies
Maintainers
22
Versions
916
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/emotion - npm Package Compare versions

Comparing version 8.4.1-snapshot.46 to 8.4.1-snapshot.49

2

es/useTheme.js

@@ -37,3 +37,3 @@ /*

export const useTheme = () => {
let theme = useEmotionTheme();
let theme = useEmotionTheme(); // TODO type theme properly, then this cast might not be needed.

@@ -40,0 +40,0 @@ if (isEmpty(theme)) {

@@ -47,3 +47,3 @@ "use strict";

const useTheme = () => {
let theme = (0, _react.useTheme)();
let theme = (0, _react.useTheme)(); // TODO type theme properly, then this cast might not be needed.

@@ -50,0 +50,0 @@ if ((0, _isEmpty.isEmpty)(theme)) {

{
"name": "@instructure/emotion",
"version": "8.4.1-snapshot.46+cfa4acd30",
"version": "8.4.1-snapshot.49+89d2ea80f",
"description": "A UI component library made by Instructure Inc.",

@@ -29,7 +29,7 @@ "author": "Instructure, Inc. Engineering and Product Design",

"@emotion/react": "11.0.0",
"@instructure/console": "8.4.1-snapshot.46+cfa4acd30",
"@instructure/ui-decorator": "8.4.1-snapshot.46+cfa4acd30",
"@instructure/ui-i18n": "8.4.1-snapshot.46+cfa4acd30",
"@instructure/ui-themes": "8.4.1-snapshot.46+cfa4acd30",
"@instructure/ui-utils": "8.4.1-snapshot.46+cfa4acd30",
"@instructure/console": "8.4.1-snapshot.49+89d2ea80f",
"@instructure/ui-decorator": "8.4.1-snapshot.49+89d2ea80f",
"@instructure/ui-i18n": "8.4.1-snapshot.49+89d2ea80f",
"@instructure/ui-themes": "8.4.1-snapshot.49+89d2ea80f",
"@instructure/ui-utils": "8.4.1-snapshot.49+89d2ea80f",
"emotion-theming": "^10.0.27",

@@ -41,4 +41,4 @@ "hoist-non-react-statics": "^3.3.2",

"devDependencies": {
"@instructure/ui-babel-preset": "8.4.1-snapshot.46+cfa4acd30",
"@instructure/ui-test-utils": "8.4.1-snapshot.46+cfa4acd30"
"@instructure/ui-babel-preset": "8.4.1-snapshot.49+89d2ea80f",
"@instructure/ui-test-utils": "8.4.1-snapshot.49+89d2ea80f"
},

@@ -52,3 +52,3 @@ "peerDependencies": {

"sideEffects": false,
"gitHead": "cfa4acd30733e1b74f71cdb0b00f8a1f53b1afe1"
"gitHead": "89d2ea80f110dc1c9c8cbd7e88bb920e3edbc079"
}

@@ -39,4 +39,4 @@ /*

let theme = useEmotionTheme()
if (isEmpty(theme)) {
// TODO type theme properly, then this cast might not be needed.
if (isEmpty(theme as Record<string, unknown>)) {
if (process.env.NODE_ENV !== 'production') {

@@ -47,7 +47,5 @@ console.warn(

}
theme = canvas
}
return theme
}

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