Socket
Socket
Sign inDemoInstall

@ui5/webcomponents-base

Package Overview
Dependencies
Maintainers
5
Versions
482
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/webcomponents-base - npm Package Compare versions

Comparing version 1.22.0-rc.0 to 1.22.0-rc.1

dist/custom-elements-internal.json

30

dist/asset-registries/Illustrations.js

@@ -30,18 +30,10 @@ import getSharedResource from "../getSharedResource.js";

let collection = getCollection();
const isTnt = name.startsWith("Tnt");
const set = isTnt ? "tnt" : "fiori";
let registryKey = `${set}/${collection}/${name}`;
let loaderKey = `${collection}/${name}`;
if (!loaders.has(loaderKey) && collection !== FALLBACK_COLLECTION) {
const [set, illustrationName] = name.split("/");
let registryKey = `${set}/${collection}/${illustrationName}`;
if (!loaders.has(registryKey) && collection !== FALLBACK_COLLECTION) {
collection = FALLBACK_COLLECTION;
loaderKey = `${collection}/${name}`;
registryKey = `${set}/${collection}/${name}`;
registryKey = `${set}/${collection}/${illustrationName}`;
}
if (isTnt) {
name = name.replace(/^Tnt/, "");
registryKey = `${set}/${collection}/${name}`;
}
return {
registryKey,
loaderKey,
collection,

@@ -64,12 +56,12 @@ };

const _loadIllustrationOnce = (illustrationName) => {
const { loaderKey } = processName(illustrationName);
if (!illustrationPromises.has(loaderKey)) {
if (!loaders.has(loaderKey)) {
const illustrationPath = illustrationName.startsWith("Tnt") ? `tnt/${illustrationName.replace(/^Tnt/, "")}` : illustrationName;
const { registryKey } = processName(illustrationName);
if (!illustrationPromises.has(registryKey)) {
if (!loaders.has(registryKey)) {
const illustrationPath = illustrationName.startsWith("fiori/") ? illustrationName.replace("fiori/", "") : illustrationName;
throw new Error(`No loader registered for the ${illustrationName} illustration. Probably you forgot to import the "@ui5/webcomponents-fiori/dist/illustrations/${illustrationPath}.js" module. Or you can import the "@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js" module that will make all illustrations available, but fetch only the ones used.`);
}
const loadIllustrations = loaders.get(loaderKey);
illustrationPromises.set(loaderKey, loadIllustrations(loaderKey));
const loadIllustrations = loaders.get(registryKey);
illustrationPromises.set(registryKey, loadIllustrations(registryKey));
}
return illustrationPromises.get(loaderKey);
return illustrationPromises.get(registryKey);
};

@@ -76,0 +68,0 @@ const getIllustrationDataSync = (illustrationName) => {

const VersionInfo = {
version: "1.21.0",
version: "1.22.0-rc.0",
major: 1,
minor: 21,
minor: 22,
patch: 0,
suffix: "",
suffix: "-rc.0",
isNext: false,
buildTime: 1704960349,
buildTime: 1705565122,
};
export default VersionInfo;
//# sourceMappingURL=VersionInfo.js.map

@@ -1,2 +0,2 @@

declare const _default: () => string;
export default _default;
declare const detectNavigatorLanguage: () => string;
export default detectNavigatorLanguage;
import { DEFAULT_LANGUAGE } from "../generated/AssetParameters.js";
export default () => {
const detectNavigatorLanguage = () => {
const browserLanguages = navigator.languages;

@@ -10,2 +10,3 @@ const navigatorLanguage = () => {

};
export default detectNavigatorLanguage;
//# sourceMappingURL=detectNavigatorLanguage.js.map

@@ -1,2 +0,2 @@

declare const _default: (value: string) => string[] | null;
export default _default;
declare const designTimePropertyAsArray: (value: string) => string[] | null;
export default designTimePropertyAsArray;

@@ -1,5 +0,6 @@

export default (value) => {
const designTimePropertyAsArray = (value) => {
const m = /\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(value);
return m && m[2] ? m[2].split(/,/) : null;
};
export default designTimePropertyAsArray;
//# sourceMappingURL=getDesigntimePropertyAsArray.js.map
{
"name": "@ui5/webcomponents-base",
"version": "1.22.0-rc.0",
"version": "1.22.0-rc.1",
"description": "UI5 Web Components: webcomponents.base",

@@ -43,3 +43,3 @@ "author": "SAP SE (https://www.sap.com)",

"@openui5/sap.ui.core": "1.116.0",
"@ui5/webcomponents-tools": "1.22.0-rc.0",
"@ui5/webcomponents-tools": "1.22.0-rc.1",
"chromedriver": "119.0.1",

@@ -54,3 +54,3 @@ "clean-css": "^5.2.2",

},
"gitHead": "4cf0711a7e7a57b5b31453e8286f0a50ab4cb8d0"
"gitHead": "1a4ba450e7d222535ddaf4f1d3b0ff91b020bb2a"
}

@@ -5,2 +5,3 @@ {

"target": "ES2021",
"lib": ["DOM", "DOM.Iterable", "ES2023"],
// Generate d.ts files

@@ -7,0 +8,0 @@ "declaration": true,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc