Socket
Socket
Sign inDemoInstall

@instructure/theme-registry

Package Overview
Dependencies
Maintainers
22
Versions
446
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.24.1 to 8.24.2-snapshot.0

LICENSE.md

2

es/ThemeRegistry.js

@@ -41,3 +41,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";

const DEFAULT_THEME_KEY = '@@themeRegistryDefaultTheme';
const GLOBAL_THEME_REGISTRY = 'GLOBAL_THEME_REGISTRY'; // initialize the registry:
const GLOBAL_THEME_REGISTRY = '__GLOBAL_THEME_REGISTRY__'; // initialize the registry:

@@ -44,0 +44,0 @@ if (globalThis[GLOBAL_THEME_REGISTRY]) {

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

const DEFAULT_THEME_KEY = '@@themeRegistryDefaultTheme';
const GLOBAL_THEME_REGISTRY = 'GLOBAL_THEME_REGISTRY'; // initialize the registry:
const GLOBAL_THEME_REGISTRY = '__GLOBAL_THEME_REGISTRY__'; // initialize the registry:

@@ -30,0 +30,0 @@ if (globalThis[GLOBAL_THEME_REGISTRY]) {

{
"name": "@instructure/theme-registry",
"version": "8.24.1",
"version": "8.24.2-snapshot.0+7dc45504a",
"description": "Package for global ThemeRegistry.",

@@ -25,10 +25,11 @@ "author": "Instructure, Inc. Engineering and Product Design",

"@babel/runtime": "^7.13.10",
"@instructure/console": "8.24.1",
"@instructure/shared-types": "8.24.1",
"@instructure/ui-utils": "8.24.1"
"@instructure/console": "8.24.2-snapshot.0+7dc45504a",
"@instructure/shared-types": "8.24.2-snapshot.0+7dc45504a",
"@instructure/ui-utils": "8.24.2-snapshot.0+7dc45504a"
},
"devDependencies": {
"@instructure/ui-babel-preset": "8.24.1",
"@instructure/ui-test-utils": "8.24.1"
}
"@instructure/ui-babel-preset": "8.24.2-snapshot.0+7dc45504a",
"@instructure/ui-test-utils": "8.24.2-snapshot.0+7dc45504a"
},
"gitHead": "7dc45504aeda1bf2b904b2b25c3157376e7cf2a9"
}

@@ -45,3 +45,3 @@ /*

// eslint-disable-next-line no-var
var GLOBAL_THEME_REGISTRY: Registry<RegisteredTheme>
var __GLOBAL_THEME_REGISTRY__: Registry<RegisteredTheme>
}

@@ -61,3 +61,3 @@

const DEFAULT_THEME_KEY = '@@themeRegistryDefaultTheme'
const GLOBAL_THEME_REGISTRY = 'GLOBAL_THEME_REGISTRY'
const GLOBAL_THEME_REGISTRY = '__GLOBAL_THEME_REGISTRY__'

@@ -64,0 +64,0 @@ // initialize the registry:

import type { BaseTheme, BaseThemeVariables, DeepPartial } from '@instructure/shared-types';
declare global {
var GLOBAL_THEME_REGISTRY: Registry<RegisteredTheme>;
var __GLOBAL_THEME_REGISTRY__: Registry<RegisteredTheme>;
}

@@ -5,0 +5,0 @@ declare type Registry<T extends RegisteredTheme> = {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc