diff --git a/demo-shell/src/polyfills.ts b/demo-shell/src/polyfills.ts index a2fe7779447..60af05a667f 100644 --- a/demo-shell/src/polyfills.ts +++ b/demo-shell/src/polyfills.ts @@ -47,5 +47,6 @@ import 'zone.js/dist/zone'; // Included with Angular CLI. * Support custom event in IE11 * */ +(window as any).global = window; // import 'custom-event-polyfill/custom-event-polyfill'; // Run `npm install --save custom-event-polyfill`. diff --git a/lib/cli/package-lock.json b/lib/cli/package-lock.json index d69228058c7..892989933f0 100644 --- a/lib/cli/package-lock.json +++ b/lib/cli/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@alfresco/js-api": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-4.3.0.tgz", - "integrity": "sha512-Q/OeFqQ5uQWG2mGsXBbiG6CKh5MJvdL5h3mkcDqyFHMzZwM+URB082KOlL+6tQN5JgWegHgA3jGZE8EOPviQxw==", + "version": "4.4.0-3335", + "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-4.4.0-3335.tgz", + "integrity": "sha512-dAmlueKMnL0JHWpEy6ntC5T+FOJyzFjLjxmIDpmQfYbiuqL32ItUs4QLDEbyicQbTVL0WvL5bhVWZ+U9zkdOSA==", "requires": { "event-emitter": "^0.3.5", "minimatch": "3.0.4", diff --git a/lib/cli/package.json b/lib/cli/package.json index 8b28170164a..8db307beaa2 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -20,7 +20,7 @@ "dist": "rm -rf ./dist/ && npm run build && cp -R ./bin ./dist/ && cp -R ./resources ./dist && cp -R ./templates ./dist && cp ./package.json ./dist/" }, "dependencies": { - "@alfresco/js-api": "4.3.0", + "@alfresco/js-api": "4.4.0-3335", "commander": "^4.0.0", "ejs": "^2.6.1", "license-checker": "^25.0.1", diff --git a/lib/content-services/package.json b/lib/content-services/package.json index b9b4c8b31f4..b69dc65c9d4 100644 --- a/lib/content-services/package.json +++ b/lib/content-services/package.json @@ -20,7 +20,7 @@ "@angular/forms": ">=10.0.2", "@angular/material": ">=10.0.1", "@angular/router": ">=10.0.2", - "@alfresco/js-api": "4.3.0", + "@alfresco/js-api": "4.4.0-3335", "@alfresco/adf-core": "4.3.0", "@ngx-translate/core": ">=13.0.0", "moment": ">=2.22.2" diff --git a/lib/core/package.json b/lib/core/package.json index c8c050b587c..a974951139b 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -23,7 +23,7 @@ "@angular/router": ">=10.0.2", "@mat-datetimepicker/core": ">=4.1.0", "@mat-datetimepicker/moment": ">=4.1.0", - "@alfresco/js-api": "4.3.0", + "@alfresco/js-api": "4.4.0-3335", "@alfresco/adf-extensions": "4.3.0", "@ngx-translate/core": ">=13.0.0", "minimatch-browser": ">=1.0.0", diff --git a/lib/extensions/package.json b/lib/extensions/package.json index 7307ca65f7c..f1a76cadbc1 100644 --- a/lib/extensions/package.json +++ b/lib/extensions/package.json @@ -15,7 +15,7 @@ "peerDependencies": { "@angular/common": ">=10.0.2", "@angular/core": ">=10.0.2", - "@alfresco/js-api": "4.3.0" + "@alfresco/js-api": "4.4.0-3335" }, "keywords": [ "extensions", diff --git a/lib/process-services-cloud/package.json b/lib/process-services-cloud/package.json index eeb28a59579..a290a9a4a2e 100644 --- a/lib/process-services-cloud/package.json +++ b/lib/process-services-cloud/package.json @@ -18,7 +18,7 @@ "@angular/flex-layout": ">=10.0.0-beta.32", "@angular/forms": ">=10.0.2", "@angular/material": ">=10.0.1", - "@alfresco/js-api": "4.3.0", + "@alfresco/js-api": "4.4.0-3335", "@alfresco/adf-core": "4.3.0", "@alfresco/adf-content-services": "4.3.0", "@apollo/client": "^3.3.7", diff --git a/lib/process-services/package.json b/lib/process-services/package.json index 843a44ad3b5..d662b0c6202 100644 --- a/lib/process-services/package.json +++ b/lib/process-services/package.json @@ -19,7 +19,7 @@ "@angular/forms": ">=10.0.2", "@angular/material": ">=10.0.1", "@angular/router": ">=10.0.2", - "@alfresco/js-api": "4.3.0", + "@alfresco/js-api": "4.4.0-3335", "@alfresco/adf-core": "4.3.0", "@alfresco/adf-content-services": "4.3.0", "@ngx-translate/core": ">=13.0.0", diff --git a/lib/testing/package.json b/lib/testing/package.json index d4cbc996301..376a87d63a5 100644 --- a/lib/testing/package.json +++ b/lib/testing/package.json @@ -11,7 +11,7 @@ "url": "https://github.com/Alfresco/alfresco-ng2-components/issues" }, "peerDependencies": { - "@alfresco/js-api": "4.3.0" + "@alfresco/js-api": "4.4.0-3335" }, "keywords": [ "testing", diff --git a/package-lock.json b/package-lock.json index bce74571649..47baff97f84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@alfresco/js-api": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-4.3.0.tgz", - "integrity": "sha512-Q/OeFqQ5uQWG2mGsXBbiG6CKh5MJvdL5h3mkcDqyFHMzZwM+URB082KOlL+6tQN5JgWegHgA3jGZE8EOPviQxw==", + "version": "4.4.0-3338", + "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-4.4.0-3338.tgz", + "integrity": "sha512-og5isR44wYOQ+6rnM04thLXe1QPT3Kmfp6hBd825tI1tWzAMrpHfT8tXk/XOF6cUbbbbwQFpvPoZ9UEAzYoC+Q==", "requires": { "event-emitter": "^0.3.5", "minimatch": "3.0.4", @@ -8516,7 +8516,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -12618,8 +12617,7 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "gauge": { "version": "2.7.4", @@ -12717,7 +12715,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -13062,7 +13059,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -13121,8 +13117,7 @@ "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" }, "has-unicode": { "version": "2.0.1", @@ -21012,9 +21007,12 @@ "dev": true }, "qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", + "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "requires": { + "side-channel": "^1.0.4" + } }, "query-string": { "version": "4.3.4", @@ -22768,6 +22766,23 @@ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==", "dev": true }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "dependencies": { + "object-inspect": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", + "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==" + } + } + }, "signal-exit": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", diff --git a/package.json b/package.json index e4768d6aa14..10aa6155015 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "process services-cloud" ], "dependencies": { - "@alfresco/js-api": "4.3.0", + "@alfresco/js-api": "^4.4.0-3338", "@angular/animations": "^10.0.4", "@angular/cdk": "10.1.3", "@angular/common": "^10.0.4", diff --git a/tools/doc/package-lock.json b/tools/doc/package-lock.json index bd0b7eec0be..48c4eda4303 100644 --- a/tools/doc/package-lock.json +++ b/tools/doc/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@alfresco/js-api": { - "version": "4.3.0-3278", - "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-4.3.0-3278.tgz", - "integrity": "sha512-rSNfbztQkiiNZ/B3mTazeNUpIjJuxhlzKLfJKa2eEyQNOr/uazNg/LiYQ0pPoTDWexurYfCetlHhd0IW//Qbwg==", + "version": "4.4.0-3335", + "resolved": "https://registry.npmjs.org/@alfresco/js-api/-/js-api-4.4.0-3335.tgz", + "integrity": "sha512-dAmlueKMnL0JHWpEy6ntC5T+FOJyzFjLjxmIDpmQfYbiuqL32ItUs4QLDEbyicQbTVL0WvL5bhVWZ+U9zkdOSA==", "requires": { "event-emitter": "^0.3.5", "minimatch": "3.0.4", @@ -266,6 +266,15 @@ } } }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, "camelcase": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", @@ -646,9 +655,9 @@ }, "dependencies": { "type": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.3.0.tgz", - "integrity": "sha512-rgPIqOdfK/4J9FhiVrZ3cveAjRRo5rsQBAIhnylX874y1DX/kEKSVdLsnuHB6l1KTjHyU01VjiMBHgU2adejyg==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", + "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==" } } }, @@ -822,6 +831,16 @@ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, "get-stdin": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", @@ -928,6 +947,11 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, + "has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" + }, "has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -1756,6 +1780,11 @@ } } }, + "object-inspect": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", + "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==" + }, "object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -1881,9 +1910,12 @@ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" }, "qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.1.tgz", + "integrity": "sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg==", + "requires": { + "side-channel": "^1.0.4" + } }, "randomatic": { "version": "3.1.1", @@ -2369,9 +2401,9 @@ } }, "semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", "requires": { "lru-cache": "^6.0.0" } @@ -2412,6 +2444,16 @@ "resolved": "https://registry.npmjs.org/shellsubstitute/-/shellsubstitute-1.2.0.tgz", "integrity": "sha1-5PcCpQxRiw9v6YRRiQ1wWvKba3A=" }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", diff --git a/tools/doc/package.json b/tools/doc/package.json index 783d0e08edd..75a97143407 100644 --- a/tools/doc/package.json +++ b/tools/doc/package.json @@ -5,7 +5,7 @@ "author": "Alfresco Software, Ltd.", "scripts": {}, "dependencies": { - "@alfresco/js-api": "4.3.0-3278", + "@alfresco/js-api": "4.4.0-3335", "ejs": "^3.1.6", "fast-levenshtein": "^3.0.0", "graphql": "^15.4.0",