🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@fluentui/dom-utilities

Package Overview
Dependencies
Maintainers
12
Versions
43
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

to
2.1.0

37

CHANGELOG.json

@@ -5,3 +5,38 @@ {

{
"date": "Fri, 23 Apr 2021 07:30:56 GMT",
"date": "Fri, 30 Apr 2021 07:35:40 GMT",
"tag": "@fluentui/dom-utilities_v2.1.0",
"version": "2.1.0",
"comments": {
"minor": [
{
"comment": "Upgrade to typescript 4.1.5",
"author": "joschect@microsoft.com",
"commit": "2b62c457bb860f6675fae4acae86ee6c0b06c279",
"package": "@fluentui/dom-utilities"
}
],
"patch": [
{
"comment": "Bump @fluentui/eslint-plugin to v1.2.0",
"author": "joschect@microsoft.com",
"commit": "2b62c457bb860f6675fae4acae86ee6c0b06c279",
"package": "@fluentui/dom-utilities"
},
{
"comment": "Bump @fluentui/set-version to v8.1.0",
"author": "joschect@microsoft.com",
"commit": "2b62c457bb860f6675fae4acae86ee6c0b06c279",
"package": "@fluentui/dom-utilities"
},
{
"comment": "Bump @fluentui/scripts to v1.0.0",
"author": "joschect@microsoft.com",
"commit": "2b62c457bb860f6675fae4acae86ee6c0b06c279",
"package": "@fluentui/dom-utilities"
}
]
}
},
{
"date": "Fri, 23 Apr 2021 07:37:10 GMT",
"tag": "@fluentui/dom-utilities_v2.0.3",

@@ -8,0 +43,0 @@ "version": "2.0.3",

# Change Log - @fluentui/dom-utilities
This log was last generated on Fri, 23 Apr 2021 07:30:56 GMT and should not be manually modified.
This log was last generated on Fri, 30 Apr 2021 07:35:40 GMT and should not be manually modified.
<!-- Start content -->
## [2.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.1.0)
Fri, 30 Apr 2021 07:35:40 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.0.3..@fluentui/dom-utilities_v2.1.0)
### Minor changes
- Upgrade to typescript 4.1.5 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
### Patches
- Bump @fluentui/eslint-plugin to v1.2.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
- Bump @fluentui/set-version to v8.1.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
## [2.0.3](https://github.com/microsoft/fluentui/tree/@fluentui/dom-utilities_v2.0.3)
Fri, 23 Apr 2021 07:30:56 GMT
Fri, 23 Apr 2021 07:37:10 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/dom-utilities_v2.0.2..@fluentui/dom-utilities_v2.0.3)

@@ -11,0 +26,0 @@

define(["require", "exports", "./getParent"], function (require, exports, getParent_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.elementContains = void 0;
/**

@@ -5,0 +6,0 @@ * Determines whether or not a parent element contains a given child element.

define(["require", "exports", "./findElementRecursive"], function (require, exports, findElementRecursive_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.elementContainsAttribute = void 0;
/**

@@ -5,0 +6,0 @@ * Determines if an element, or any of its ancestors, contain the given attribute

define(["require", "exports", "./getParent"], function (require, exports, getParent_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findElementRecursive = void 0;
/**

@@ -5,0 +6,0 @@ * Finds the first parent element where the matchFunction returns true

define(["require", "exports", "./isVirtualElement"], function (require, exports, isVirtualElement_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getChildren = void 0;
/**

@@ -5,0 +6,0 @@ * Gets the elements which are child elements of the given element.

define(["require", "exports", "./getVirtualParent"], function (require, exports, getVirtualParent_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getParent = void 0;
/**

@@ -5,0 +6,0 @@ * Gets the element which is the parent of a given element.

define(["require", "exports", "./isVirtualElement"], function (require, exports, isVirtualElement_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getVirtualParent = void 0;
/**

@@ -5,0 +6,0 @@ * Gets the virtual parent given the child element, if it exists.

3

lib-amd/index.js

@@ -1,4 +0,5 @@

define(["require", "exports", "tslib", "./elementContains", "./elementContainsAttribute", "./findElementRecursive", "./getChildren", "./getParent", "./getVirtualParent", "./isVirtualElement", "./portalContainsElement", "./setPortalAttribute", "./setVirtualParent", "./version"], function (require, exports, tslib_1, elementContains_1, elementContainsAttribute_1, findElementRecursive_1, getChildren_1, getParent_1, getVirtualParent_1, isVirtualElement_1, portalContainsElement_1, setPortalAttribute_1, setVirtualParent_1) {
define(["require", "exports", "tslib", "./IVirtualElement", "./elementContains", "./elementContainsAttribute", "./findElementRecursive", "./getChildren", "./getParent", "./getVirtualParent", "./isVirtualElement", "./portalContainsElement", "./setPortalAttribute", "./setVirtualParent", "./version"], function (require, exports, tslib_1, IVirtualElement_1, elementContains_1, elementContainsAttribute_1, findElementRecursive_1, getChildren_1, getParent_1, getVirtualParent_1, isVirtualElement_1, portalContainsElement_1, setPortalAttribute_1, setVirtualParent_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
tslib_1.__exportStar(IVirtualElement_1, exports);
tslib_1.__exportStar(elementContains_1, exports);

@@ -5,0 +6,0 @@ tslib_1.__exportStar(elementContainsAttribute_1, exports);

define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isVirtualElement = void 0;
/**

@@ -5,0 +6,0 @@ * Determines whether or not an element has the virtual hierarchy extension.

define(["require", "exports", "./findElementRecursive", "./setPortalAttribute"], function (require, exports, findElementRecursive_1, setPortalAttribute_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.portalContainsElement = void 0;
/**

@@ -5,0 +6,0 @@ * Determine whether a target is within a portal from perspective of root or optional parent.

define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setPortalAttribute = exports.DATA_PORTAL_ATTRIBUTE = void 0;
exports.DATA_PORTAL_ATTRIBUTE = 'data-portal-element';

@@ -5,0 +6,0 @@ /**

define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setVirtualParent = void 0;
/**

@@ -5,0 +6,0 @@ * Sets the virtual parent of an element.

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

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.elementContainsAttribute = void 0;
var findElementRecursive_1 = require("./findElementRecursive");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findElementRecursive = void 0;
var getParent_1 = require("./getParent");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getChildren = void 0;
var isVirtualElement_1 = require("./isVirtualElement");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getParent = void 0;
var getVirtualParent_1 = require("./getVirtualParent");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getVirtualParent = void 0;
var isVirtualElement_1 = require("./isVirtualElement");

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
tslib_1.__exportStar(require("./IVirtualElement"), exports);
tslib_1.__exportStar(require("./elementContains"), exports);

@@ -5,0 +6,0 @@ tslib_1.__exportStar(require("./elementContainsAttribute"), exports);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isVirtualElement = void 0;
/**

@@ -4,0 +5,0 @@ * Determines whether or not an element has the virtual hierarchy extension.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.portalContainsElement = void 0;
var findElementRecursive_1 = require("./findElementRecursive");

@@ -4,0 +5,0 @@ var setPortalAttribute_1 = require("./setPortalAttribute");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setPortalAttribute = exports.DATA_PORTAL_ATTRIBUTE = void 0;
exports.DATA_PORTAL_ATTRIBUTE = 'data-portal-element';

@@ -4,0 +5,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setVirtualParent = void 0;
/**

@@ -4,0 +5,0 @@ * Sets the virtual parent of an element.

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

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

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

export * from './IVirtualElement';
export * from './elementContains';

@@ -2,0 +3,0 @@ export * from './elementContainsAttribute';

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

export {};
//# sourceMappingURL=IVirtualElement.js.map

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.7.1"
"packageVersion": "7.13.0"
}
]
}
// 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.0.3');
setVersion('@fluentui/dom-utilities', '2.1.0');
//# sourceMappingURL=version.js.map
{
"name": "@fluentui/dom-utilities",
"version": "2.0.3",
"version": "2.1.0",
"description": "DOM utilities for use within Fluent web components",

@@ -26,9 +26,9 @@ "main": "lib-commonjs/index.js",

"devDependencies": {
"@fluentui/eslint-plugin": "^1.1.1",
"@fluentui/eslint-plugin": "^1.2.0",
"@fluentui/scripts": "^1.0.0"
},
"dependencies": {
"@fluentui/set-version": "^8.0.3",
"tslib": "^1.10.0"
"@fluentui/set-version": "^8.1.0",
"tslib": "^2.1.0"
}
}

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

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet