@openfin/core 34.78.37 → 34.78.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/mock.js +18 -0
- package/package.json +6 -3
package/out/mock.js
CHANGED
|
@@ -649,6 +649,20 @@ var view = {};
|
|
|
649
649
|
|
|
650
650
|
var Factory$6 = {};
|
|
651
651
|
|
|
652
|
+
var warnings = {};
|
|
653
|
+
|
|
654
|
+
Object.defineProperty(warnings, "__esModule", { value: true });
|
|
655
|
+
warnings.handleDeprecatedWarnings = void 0;
|
|
656
|
+
const handleDeprecatedWarnings = (options) => {
|
|
657
|
+
if (options.contentNavigation?.whitelist ||
|
|
658
|
+
options.contentNavigation?.blacklist ||
|
|
659
|
+
options.contentRedirect?.whitelist ||
|
|
660
|
+
options.contentRedirect?.blacklist) {
|
|
661
|
+
console.warn(`The properties 'whitelist' and 'blacklist' have been marked as deprecated and will be removed in a future version. Please use 'allowlist' and 'denylist'.`);
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
warnings.handleDeprecatedWarnings = handleDeprecatedWarnings;
|
|
665
|
+
|
|
652
666
|
var hasRequiredFactory$3;
|
|
653
667
|
|
|
654
668
|
function requireFactory$3 () {
|
|
@@ -659,6 +673,7 @@ function requireFactory$3 () {
|
|
|
659
673
|
const base_1 = base;
|
|
660
674
|
const validate_1 = validate;
|
|
661
675
|
const index_1 = requireView();
|
|
676
|
+
const warnings_1 = warnings;
|
|
662
677
|
/**
|
|
663
678
|
* Static namespace for OpenFin API methods that interact with the {@link View} class, available under `fin.View`.
|
|
664
679
|
*/
|
|
@@ -696,6 +711,7 @@ function requireFactory$3 () {
|
|
|
696
711
|
if (!options.name || typeof options.name !== 'string') {
|
|
697
712
|
throw new Error('Please provide a name property as a string in order to create a View.');
|
|
698
713
|
}
|
|
714
|
+
(0, warnings_1.handleDeprecatedWarnings)(options);
|
|
699
715
|
if (this.wire.environment.childViews) {
|
|
700
716
|
await this.wire.environment.createChildContent({
|
|
701
717
|
entityType: 'view',
|
|
@@ -4596,6 +4612,7 @@ function requireInstance () {
|
|
|
4596
4612
|
const application_1 = requireApplication();
|
|
4597
4613
|
const main_1 = main;
|
|
4598
4614
|
const view_1 = requireView();
|
|
4615
|
+
const warnings_1 = warnings;
|
|
4599
4616
|
/**
|
|
4600
4617
|
* @PORTED
|
|
4601
4618
|
* @typedef { object } Margins
|
|
@@ -5205,6 +5222,7 @@ function requireInstance () {
|
|
|
5205
5222
|
if (options.autoShow === undefined) {
|
|
5206
5223
|
options.autoShow = true;
|
|
5207
5224
|
}
|
|
5225
|
+
(0, warnings_1.handleDeprecatedWarnings)(options);
|
|
5208
5226
|
const windowCreation = this.wire.environment.createChildContent({ entityType: 'window', options });
|
|
5209
5227
|
Promise.all([pageResponse, windowCreation])
|
|
5210
5228
|
.then((resolvedArr) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfin/core",
|
|
3
|
-
"version": "34.78.
|
|
3
|
+
"version": "34.78.42",
|
|
4
4
|
"description": "The core renderer entry point of OpenFin",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.MD",
|
|
6
6
|
"main": "out/mock.js",
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
"build": "run-p build:*",
|
|
14
14
|
"dev:rollup": "npm run build:rollup -- --environment MODE:development",
|
|
15
15
|
"dev:copy": "npm run build:copy",
|
|
16
|
-
"dev": "run-p dev:*"
|
|
16
|
+
"dev": "run-p dev:*",
|
|
17
|
+
"watch": "run-p watch:*",
|
|
18
|
+
"watch:rollup": "npm run dev:rollup -- --watch",
|
|
19
|
+
"watch:copy": "npm run dev:copy"
|
|
17
20
|
},
|
|
18
21
|
"files": [
|
|
19
22
|
"out/*",
|
|
@@ -27,7 +30,7 @@
|
|
|
27
30
|
"@rollup/plugin-commonjs": "25.0.2",
|
|
28
31
|
"cpy-cli": "4.2.0",
|
|
29
32
|
"npm-run-all": "4.1.5",
|
|
30
|
-
"rollup": "3.
|
|
33
|
+
"rollup": "3.24.1",
|
|
31
34
|
"typescript": "4.9.5"
|
|
32
35
|
},
|
|
33
36
|
"dependencies": {
|