Socket
Socket
Sign inDemoInstall

@instructure/theme-registry

Package Overview
Dependencies
Maintainers
0
Versions
471
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 8.56.2-pr-snapshot-1721749364069 to 8.56.2-snapshot-2

2

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [8.56.2-pr-snapshot-1721749364069](https://github.com/instructure/instructure-ui/compare/v8.56.1...v8.56.2-pr-snapshot-1721749364069) (2024-07-23)
## [8.56.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v8.56.1...v8.56.2-snapshot-2) (2024-08-06)

@@ -9,0 +9,0 @@ **Note:** Version bump only for package @instructure/theme-registry

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

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

@@ -159,3 +160,3 @@ _excluded2 = ["key", "description", "use"];

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

@@ -212,3 +213,3 @@ return themeWithOverrides;

} else {
if (!(0, _uiUtils.isBaseTheme)(theme)) {
if (!(0, _isBaseTheme.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.");

@@ -215,0 +216,0 @@ throw new Error();

{
"name": "@instructure/theme-registry",
"version": "8.56.2-pr-snapshot-1721749364069",
"version": "8.56.2-snapshot-2",
"description": "Package for global ThemeRegistry.",

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

"@babel/runtime": "^7.23.2",
"@instructure/console": "8.56.2-pr-snapshot-1721749364069",
"@instructure/shared-types": "8.56.2-pr-snapshot-1721749364069",
"@instructure/ui-utils": "8.56.2-pr-snapshot-1721749364069"
"@instructure/console": "8.56.2-snapshot-2",
"@instructure/shared-types": "8.56.2-snapshot-2",
"@instructure/ui-utils": "8.56.2-snapshot-2"
},
"devDependencies": {
"@instructure/ui-babel-preset": "8.56.2-pr-snapshot-1721749364069",
"@instructure/ui-test-utils": "8.56.2-pr-snapshot-1721749364069"
"@instructure/ui-babel-preset": "8.56.2-snapshot-2",
"@instructure/ui-test-utils": "8.56.2-snapshot-2"
}
}
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