New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@instructure/theme-registry

Package Overview
Dependencies
Maintainers
0
Versions
653
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/theme-registry - npm Package Compare versions

Comparing version

to
10.13.1-pr-snapshot-1741357986437

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [10.13.1-pr-snapshot-1741357986437](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.13.1-pr-snapshot-1741357986437) (2025-03-07)
**Note:** Version bump only for package @instructure/theme-registry
# [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06)

@@ -8,0 +16,0 @@

7

lib/ThemeRegistry.js

@@ -16,4 +16,3 @@ "use strict";

var _console = require("@instructure/console");
var _mergeDeep = require("@instructure/ui-utils/lib/mergeDeep.js");
var _isBaseTheme = require("@instructure/ui-utils/lib/isBaseTheme.js");
var _uiUtils = require("@instructure/ui-utils");
const _excluded = ["key", "description"],

@@ -164,3 +163,3 @@ _excluded2 = ["key", "description", "use"];

registry.currentThemeKey = themeKey;
const themeWithOverrides = (0, _mergeDeep.mergeDeep)(theme, overrides);
const themeWithOverrides = (0, _uiUtils.mergeDeep)(theme, overrides);
registry.themes[themeKey] = themeWithOverrides;

@@ -223,3 +222,3 @@ return themeWithOverrides;

} else {
if (!(0, _isBaseTheme.isBaseTheme)(theme)) {
if (!(0, _uiUtils.isBaseTheme)(theme)) {
(0, _console.error)(false, "[theme-registry] The theme provided to 'registerTheme' is not a valid theme object!\nFor it to be valid some properties have to be present, check out https://instructure.design/#canvas as a reference.");

@@ -226,0 +225,0 @@ throw new Error();

{
"name": "@instructure/theme-registry",
"version": "10.13.0",
"version": "10.13.1-pr-snapshot-1741357986437",
"description": "Package for global ThemeRegistry.",

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

"@babel/runtime": "^7.26.0",
"@instructure/console": "10.13.0",
"@instructure/shared-types": "10.13.0",
"@instructure/ui-utils": "10.13.0"
"@instructure/console": "10.13.1-pr-snapshot-1741357986437",
"@instructure/shared-types": "10.13.1-pr-snapshot-1741357986437",
"@instructure/ui-utils": "10.13.1-pr-snapshot-1741357986437"
},
"devDependencies": {
"@instructure/ui-babel-preset": "10.13.0",
"@instructure/ui-test-utils": "10.13.0"
"@instructure/ui-babel-preset": "10.13.1-pr-snapshot-1741357986437",
"@instructure/ui-test-utils": "10.13.1-pr-snapshot-1741357986437"
}
}