Socket
Socket
Sign inDemoInstall

@fluentui/dom-utilities

Package Overview
Dependencies
Maintainers
12
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/dom-utilities - npm Package Compare versions

Comparing version 2.3.8 to 2.3.9

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Tue, 08 Oct 2024 07:21:37 GMT",
"date": "Fri, 11 Oct 2024 16:49:40 GMT",
"tag": "@fluentui/dom-utilities_v2.3.9",
"version": "2.3.9",
"comments": {
"patch": [
{
"author": "miclo@microsoft.com",
"package": "@fluentui/dom-utilities",
"commit": "3fec026661e874b8e458bb4f2deab1b3a9e73cd1",
"comment": "Fix regression caused by #32996"
}
]
}
},
{
"date": "Tue, 08 Oct 2024 07:23:46 GMT",
"tag": "@fluentui/dom-utilities_v2.3.8",

@@ -8,0 +23,0 @@ "version": "2.3.8",

# Change Log - @fluentui/dom-utilities
This log was last generated on Tue, 08 Oct 2024 07:21:37 GMT and should not be manually modified.
This log was last generated on Fri, 11 Oct 2024 16:49:40 GMT and should not be manually modified.
<!-- Start content -->
## [2.3.9](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.9)
Fri, 11 Oct 2024 16:49:40 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.8..@fluentui/dom-utilities_v2.3.9)
### Patches
- Fix regression caused by #32996 ([PR #33024](https://github.com/microsoft/fluentui/pull/33024) by miclo@microsoft.com)
## [2.3.8](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.3.8)
Tue, 08 Oct 2024 07:21:37 GMT
Tue, 08 Oct 2024 07:23:46 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.3.7..@fluentui/dom-utilities_v2.3.8)

@@ -11,0 +20,0 @@

8

lib-amd/getParent.js

@@ -22,7 +22,6 @@ define(["require", "exports", "./getVirtualParent"], function (require, exports, getVirtualParent_1) {

}
var parentElement;
// Support looking for parents in shadow DOM
if (typeof child.assignedElements !== 'function' && ((_a = child.assignedSlot) === null || _a === void 0 ? void 0 : _a.parentNode)) {
// Element is slotted
parentElement = child.assignedSlot;
return child.assignedSlot;
}

@@ -32,8 +31,7 @@ else if (((_b = child.parentNode) === null || _b === void 0 ? void 0 : _b.nodeType) === 11) {

// Element is in shadow root
parentElement = child.parentNode.host;
return child.parentNode.host;
}
else {
parentElement = child.parentNode;
return child.parentNode;
}
return !!parentElement && parentElement instanceof HTMLElement ? parentElement : null;
}

@@ -40,0 +38,0 @@ exports.getParent = getParent;

define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
(0, set_version_1.setVersion)('@fluentui/dom-utilities', '2.3.8');
(0, set_version_1.setVersion)('@fluentui/dom-utilities', '2.3.9');
});
//# sourceMappingURL=version.js.map

@@ -22,7 +22,6 @@ "use strict";

}
var parentElement;
// Support looking for parents in shadow DOM
if (typeof child.assignedElements !== 'function' && ((_a = child.assignedSlot) === null || _a === void 0 ? void 0 : _a.parentNode)) {
// Element is slotted
parentElement = child.assignedSlot;
return child.assignedSlot;
}

@@ -32,10 +31,9 @@ else if (((_b = child.parentNode) === null || _b === void 0 ? void 0 : _b.nodeType) === 11) {

// Element is in shadow root
parentElement = child.parentNode.host;
return child.parentNode.host;
}
else {
parentElement = child.parentNode;
return child.parentNode;
}
return !!parentElement && parentElement instanceof HTMLElement ? parentElement : null;
}
exports.getParent = getParent;
//# sourceMappingURL=getParent.js.map

@@ -6,3 +6,3 @@ "use strict";

var set_version_1 = require("@fluentui/set-version");
(0, set_version_1.setVersion)('@fluentui/dom-utilities', '2.3.8');
(0, set_version_1.setVersion)('@fluentui/dom-utilities', '2.3.9');
//# sourceMappingURL=version.js.map

@@ -19,7 +19,6 @@ import { getVirtualParent } from './getVirtualParent';

}
var parentElement;
// Support looking for parents in shadow DOM
if (typeof child.assignedElements !== 'function' && ((_a = child.assignedSlot) === null || _a === void 0 ? void 0 : _a.parentNode)) {
// Element is slotted
parentElement = child.assignedSlot;
return child.assignedSlot;
}

@@ -29,9 +28,8 @@ else if (((_b = child.parentNode) === null || _b === void 0 ? void 0 : _b.nodeType) === 11) {

// Element is in shadow root
parentElement = child.parentNode.host;
return child.parentNode.host;
}
else {
parentElement = child.parentNode;
return child.parentNode;
}
return !!parentElement && parentElement instanceof HTMLElement ? parentElement : null;
}
//# sourceMappingURL=getParent.js.map
// Do not modify this file; it is generated as part of publish.
// The checked in version is a placeholder only and will not be updated.
import { setVersion } from '@fluentui/set-version';
setVersion('@fluentui/dom-utilities', '2.3.8');
setVersion('@fluentui/dom-utilities', '2.3.9');
//# sourceMappingURL=version.js.map
{
"name": "@fluentui/dom-utilities",
"version": "2.3.8",
"version": "2.3.9",
"description": "DOM utilities for use within Fluent web components",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

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

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