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.2 to 1.22.0-rc.3

dist/ssr-dom-shim.d.ts

6

dist/generated/VersionInfo.js
const VersionInfo = {
version: "1.22.0-rc.1",
version: "1.22.0-rc.2",
major: 1,
minor: 22,
patch: 0,
suffix: "-rc.1",
suffix: "-rc.2",
isNext: false,
buildTime: 1706169926,
buildTime: 1706804744,
};
export default VersionInfo;
//# sourceMappingURL=VersionInfo.js.map

@@ -6,2 +6,3 @@ import createStyleInHead from "./util/createStyleInHead.js";

import { getCurrentRuntimeIndex, compareRuntimes } from "./Runtimes.js";
const isSSR = typeof document === "undefined";
const getStyleId = (name, value) => {

@@ -106,2 +107,5 @@ return value ? `${name}|${value}` : name;

const hasStyle = (name, value = "") => {
if (isSSR) {
return true;
}
if (shouldUseLinks()) {

@@ -108,0 +112,0 @@ return !!document.querySelector(`head>link[${name}="${value}"]`);

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

import "@ui5/webcomponents-base/dist/ssr-dom.js";
import UI5ElementMetadata, { Slot, SlotValue, State, PropertyValue, Metadata } from "./UI5ElementMetadata.js";

@@ -2,0 +3,0 @@ import EventProvider from "./EventProvider.js";

@@ -0,1 +1,3 @@

// eslint-disable-next-line import/no-extraneous-dependencies
import "@ui5/webcomponents-base/dist/ssr-dom.js";
import merge from "./thirdparty/merge.js";

@@ -234,5 +236,5 @@ import { boot } from "./Boot.js";

if (shouldWaitForCustomElement) {
const isDefined = window.customElements.get(localName);
const isDefined = customElements.get(localName);
if (!isDefined) {
const whenDefinedPromise = window.customElements.whenDefined(localName); // Class registered, but instances not upgraded yet
const whenDefinedPromise = customElements.whenDefined(localName); // Class registered, but instances not upgraded yet
let timeoutPromise = elementTimeouts.get(localName);

@@ -245,3 +247,3 @@ if (!timeoutPromise) {

}
window.customElements.upgrade(child);
customElements.upgrade(child);
}

@@ -930,3 +932,3 @@ }

const definedLocally = isTagRegistered(tag);
const definedGlobally = window.customElements.get(tag);
const definedGlobally = customElements.get(tag);
if (definedGlobally && !definedLocally) {

@@ -938,3 +940,3 @@ recordTagRegistrationFailure(tag);

registerTag(tag);
window.customElements.define(tag, this);
customElements.define(tag, this);
preloadLinks(this);

@@ -941,0 +943,0 @@ }

@@ -30,6 +30,16 @@ import { camelToKebabCase } from "./util/StringHelper.js";

else if (props[propName].multiple) {
initialState[propName] = [];
Object.defineProperty(initialState, propName, {
enumerable: true,
get() {
return [];
},
});
}
else if (propType === Object) {
initialState[propName] = "defaultValue" in props[propName] ? props[propName].defaultValue : {};
Object.defineProperty(initialState, propName, {
enumerable: true,
get() {
return "defaultValue" in props[propName] ? props[propName].defaultValue : {};
},
});
}

@@ -36,0 +46,0 @@ else if (propType === String) {

import { DEFAULT_LANGUAGE } from "../generated/AssetParameters.js";
const isSSR = typeof document === "undefined";
const detectNavigatorLanguage = () => {
if (isSSR) {
return DEFAULT_LANGUAGE;
}
const browserLanguages = navigator.languages;

@@ -4,0 +8,0 @@ const navigatorLanguage = () => {

@@ -263,2 +263,5 @@ import type UI5Element from "../UI5Element.js";

role: string | null;
ariaBraileLabel: string | null;
ariaBraileRoleDescription: string | null;
ariaDescription: string | null;
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;

@@ -265,0 +268,0 @@ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];

{
"name": "@ui5/webcomponents-base",
"version": "1.22.0-rc.2",
"version": "1.22.0-rc.3",
"description": "UI5 Web Components: webcomponents.base",

@@ -20,2 +20,7 @@ "author": "SAP SE (https://www.sap.com)",

"exports": {
"./dist/ssr-dom.js": {
"browser": "./dist/ssr-dom.js",
"node": "./dist/ssr-dom-shim.js",
"default": "./dist/ssr-dom.js"
},
".": "./index.js",

@@ -36,5 +41,6 @@ "./dist/*": "./dist/*",

"test": "nps test",
"prepublishOnly": "tsc"
"prepublishOnly": "tsc -b"
},
"dependencies": {
"@lit-labs/ssr-dom-shim": "^1.1.2",
"lit-html": "^2.0.1"

@@ -44,4 +50,4 @@ },

"@openui5/sap.ui.core": "1.120.3",
"@ui5/webcomponents-tools": "1.22.0-rc.2",
"chromedriver": "119.0.1",
"@ui5/webcomponents-tools": "1.22.0-rc.3",
"chromedriver": "120.0.0",
"clean-css": "^5.2.2",

@@ -55,3 +61,3 @@ "copy-and-watch": "^0.1.5",

},
"gitHead": "7075f9a181e13ac1be2a319b2de876ace16dd564"
"gitHead": "7ff123775e38dc646e3a1c70311e33b0c6d7105a"
}

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 too big to display

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

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