@ui5/webcomponents-base
Advanced tools
Comparing version 1.24.0 to 1.24.1
const VersionInfo = { | ||
version: "1.24.0", | ||
version: "1.24.1", | ||
major: 1, | ||
minor: 24, | ||
patch: 0, | ||
patch: 1, | ||
suffix: "", | ||
isNext: false, | ||
buildTime: 1712256366, | ||
buildTime: 1715592527, | ||
}; | ||
export default VersionInfo; | ||
//# sourceMappingURL=VersionInfo.js.map |
@@ -44,2 +44,18 @@ // eslint-disable-next-line import/no-extraneous-dependencies | ||
/** | ||
* looks up a property descsriptor including in the prototype chain | ||
* @param proto the starting prototype | ||
* @param name the property to look for | ||
* @returns the property descriptor if found directly or in the prototype chaing, undefined if not found | ||
*/ | ||
function getPropertyDescriptor(proto, name) { | ||
do { | ||
const descriptor = Object.getOwnPropertyDescriptor(proto, name); | ||
if (descriptor) { | ||
return descriptor; | ||
} | ||
// go up the prototype chain | ||
proto = Object.getPrototypeOf(proto); | ||
} while (proto && proto !== HTMLElement.prototype); | ||
} | ||
/** | ||
* @class | ||
@@ -802,3 +818,3 @@ * Base class for all UI5 Web Components | ||
} | ||
const descriptor = Object.getOwnPropertyDescriptor(proto, prop); | ||
const descriptor = getPropertyDescriptor(proto, prop); | ||
// if the decorator is on a setter, proxy the new setter to it | ||
@@ -805,0 +821,0 @@ let origSet; |
@@ -9,5 +9,6 @@ /** | ||
const clamp = (val, min, max) => { | ||
return Math.min(Math.max(val, min), max); | ||
// handles case when max < min | ||
return Math.min(Math.max(val, min), Math.max(min, max)); | ||
}; | ||
export default clamp; | ||
//# sourceMappingURL=clamp.js.map |
{ | ||
"name": "@ui5/webcomponents-base", | ||
"version": "1.24.0", | ||
"version": "1.24.1", | ||
"description": "UI5 Web Components: webcomponents.base", | ||
@@ -49,3 +49,3 @@ "author": "SAP SE (https://www.sap.com)", | ||
"@ui5/webcomponents-tools": "1.24.0", | ||
"chromedriver": "^122.0.6", | ||
"chromedriver": "^123.0.3", | ||
"clean-css": "^5.2.2", | ||
@@ -59,3 +59,3 @@ "copy-and-watch": "^0.1.5", | ||
}, | ||
"gitHead": "975b7c86db3497d35c974df0a6cde9dd3d21c70b" | ||
"gitHead": "cf1d1540d173774d2359757dafab8ec74d9df3b4" | ||
} |
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
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
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
1698651
22769