@instructure/theme-registry
Advanced tools
Comparing version 8.24.1 to 8.24.2-snapshot.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93101
18
1
1
- Removed@babel/code-frame@7.24.7(transitive)
- Removed@babel/generator@7.25.0(transitive)
- Removed@babel/helper-annotate-as-pure@7.24.7(transitive)
- Removed@babel/helper-module-imports@7.24.7(transitive)
- Removed@babel/helper-string-parser@7.24.8(transitive)
- Removed@babel/helper-validator-identifier@7.24.7(transitive)
- Removed@babel/highlight@7.24.7(transitive)
- Removed@babel/parser@7.25.3(transitive)
- Removed@babel/template@7.25.0(transitive)
- Removed@babel/traverse@7.25.3(transitive)
- Removed@babel/types@7.25.2(transitive)
- Removed@instructure/console@8.24.1(transitive)
- Removed@instructure/shared-types@8.24.1(transitive)
- Removed@instructure/ui-dom-utils@8.24.1(transitive)
- Removed@instructure/ui-utils@8.24.1(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedbabel-plugin-macros@3.1.0(transitive)
- Removedbowser@1.9.4(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removeddebug@4.3.6(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedglobals@11.12.0(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedisarray@2.0.5(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjsesc@2.5.2(transitive)
- Removedjson-parse-even-better-errors@2.3.1(transitive)
- Removedjson-stable-stringify@1.1.1(transitive)
- Removedjsonify@0.0.1(transitive)
- Removedkeycode@2.2.1(transitive)
- Removedlines-and-columns@1.2.4(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedms@2.1.2(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedparse-json@5.2.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicocolors@1.0.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedreact-dom@17.0.2(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedresolve@1.22.8(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedscheduler@0.20.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedto-fast-properties@2.0.0(transitive)
- Removedyaml@1.10.2(transitive)
Updated@instructure/shared-types@8.24.2-snapshot.0+7dc45504a