@microsoft/1ds-core-js 4.4.1 → 4.4.2-nightly3.2604-09
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/bundle/es5/{ms.core-4.4.1.gbl.js → ms.core-4.4.2-nightly3.2604-09.gbl.js} +15 -10
- package/bundle/es5/ms.core-4.4.2-nightly3.2604-09.gbl.js.map +1 -0
- package/bundle/es5/ms.core-4.4.2-nightly3.2604-09.gbl.min.js +7 -0
- package/bundle/es5/ms.core-4.4.2-nightly3.2604-09.gbl.min.js.map +1 -0
- package/bundle/es5/ms.core-4.4.2-nightly3.2604-09.integrity.json +46 -0
- package/bundle/es5/{ms.core-4.4.1.js → ms.core-4.4.2-nightly3.2604-09.js} +15 -10
- package/bundle/es5/ms.core-4.4.2-nightly3.2604-09.js.map +1 -0
- package/bundle/es5/ms.core-4.4.2-nightly3.2604-09.min.js +7 -0
- package/bundle/es5/ms.core-4.4.2-nightly3.2604-09.min.js.map +1 -0
- package/bundle/es5/ms.core.gbl.js +14 -9
- package/bundle/es5/ms.core.gbl.js.map +1 -1
- package/bundle/es5/ms.core.gbl.min.js +2 -2
- package/bundle/es5/ms.core.gbl.min.js.map +1 -1
- package/bundle/es5/ms.core.integrity.json +17 -17
- package/bundle/es5/ms.core.js +14 -9
- package/bundle/es5/ms.core.js.map +1 -1
- package/bundle/es5/ms.core.min.js +2 -2
- package/bundle/es5/ms.core.min.js.map +1 -1
- package/dist/es5/ms.core.js +12 -7
- package/dist/es5/ms.core.js.map +1 -1
- package/dist/es5/ms.core.min.js +2 -2
- package/dist/es5/ms.core.min.js.map +1 -1
- package/dist-es5/Index.js +1 -1
- package/package.json +72 -69
- package/types/1ds-core-js.d.ts +1 -1
- package/types/1ds-core-js.namespaced.d.ts +4 -4
- package/bundle/es5/ms.core-4.4.1.gbl.js.map +0 -1
- package/bundle/es5/ms.core-4.4.1.gbl.min.js +0 -7
- package/bundle/es5/ms.core-4.4.1.gbl.min.js.map +0 -1
- package/bundle/es5/ms.core-4.4.1.integrity.json +0 -46
- package/bundle/es5/ms.core-4.4.1.js.map +0 -1
- package/bundle/es5/ms.core-4.4.1.min.js +0 -7
- package/bundle/es5/ms.core-4.4.1.min.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* 1DS JS SDK Core, 4.4.
|
|
2
|
+
* 1DS JS SDK Core, 4.4.2-nightly3.2604-09
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
* (Microsoft Internal Only)
|
|
5
5
|
*/
|
|
6
6
|
(function (global, factory) {
|
|
7
7
|
var undef = "undefined";
|
|
8
|
-
var nsKey, key, nm, theExports = {}, modName = "
|
|
9
|
-
var mods={}, modDetail=mods[modName]={}, ver="4.4.
|
|
8
|
+
var nsKey, key, nm, theExports = {}, modName = "es5_ms_core_4_4_2_nightly3_2604_09", msMod="__ms$mod__";
|
|
9
|
+
var mods={}, modDetail=mods[modName]={}, ver="4.4.2-nightly3.2604-09";
|
|
10
10
|
// Versioned namespace "oneDS4"
|
|
11
11
|
var exportNs=global, nsKey="oneDS4", exportNs=exportNs[nsKey]=(exportNs[nsKey]||{});
|
|
12
12
|
// Global namespace "oneDS"
|
|
@@ -2820,7 +2820,7 @@ function newId(maxLength) {
|
|
|
2820
2820
|
return result;
|
|
2821
2821
|
}
|
|
2822
2822
|
|
|
2823
|
-
var version = '3.4.
|
|
2823
|
+
var version = '3.4.2-nightly3.2604-09';
|
|
2824
2824
|
var instanceName = "." + newId(6);
|
|
2825
2825
|
var _dataUid = 0;
|
|
2826
2826
|
function _canAcceptData(target) {
|
|
@@ -5547,6 +5547,11 @@ function _testHookMaxUnloadHooksCb(maxHooks, addMonitor) {
|
|
|
5547
5547
|
_maxHooks = maxHooks;
|
|
5548
5548
|
_hookAddMonitor = addMonitor;
|
|
5549
5549
|
}
|
|
5550
|
+
function _checkMaxHooks(name, hooks) {
|
|
5551
|
+
if (_maxHooks && hooks[_DYN_LENGTH ] > _maxHooks) {
|
|
5552
|
+
_hookAddMonitor ? _hookAddMonitor(name, hooks) : _throwInternal(null, 1 , 9948 , "Max unload hooks exceeded. An excessive number of unload hooks has been detected.");
|
|
5553
|
+
}
|
|
5554
|
+
}
|
|
5550
5555
|
function createUnloadHookContainer() {
|
|
5551
5556
|
var _hooks = [];
|
|
5552
5557
|
function _doUnload(logger) {
|
|
@@ -5560,15 +5565,15 @@ function createUnloadHookContainer() {
|
|
|
5560
5565
|
_throwInternal(logger, 2 , 73 , "Unloading:" + dumpObj(e));
|
|
5561
5566
|
}
|
|
5562
5567
|
});
|
|
5563
|
-
if (_maxHooks
|
|
5564
|
-
|
|
5568
|
+
if (_maxHooks) {
|
|
5569
|
+
_checkMaxHooks("doUnload", oldHooks);
|
|
5565
5570
|
}
|
|
5566
5571
|
}
|
|
5567
5572
|
function _addHook(hooks) {
|
|
5568
5573
|
if (hooks) {
|
|
5569
5574
|
arrAppend(_hooks, hooks);
|
|
5570
|
-
if (_maxHooks
|
|
5571
|
-
|
|
5575
|
+
if (_maxHooks) {
|
|
5576
|
+
_checkMaxHooks("Add", _hooks);
|
|
5572
5577
|
}
|
|
5573
5578
|
}
|
|
5574
5579
|
}
|
|
@@ -8541,7 +8546,7 @@ var TraceLevel = ( /* @__PURE__ */createEnumStyle({
|
|
|
8541
8546
|
}));
|
|
8542
8547
|
|
|
8543
8548
|
var _a;
|
|
8544
|
-
var ExtVersion = '4.4.
|
|
8549
|
+
var ExtVersion = '4.4.2-nightly3.2604-09';
|
|
8545
8550
|
var ExtFullVersionString = "1DS-Web-JS-" + ExtVersion;
|
|
8546
8551
|
var Version = ExtVersion;
|
|
8547
8552
|
var FullVersionString = ExtFullVersionString;
|
|
@@ -9475,4 +9480,4 @@ exports.toISOString = toISOString;
|
|
|
9475
9480
|
exports.useXDomainRequest = useXDomainRequest;
|
|
9476
9481
|
|
|
9477
9482
|
}));
|
|
9478
|
-
//# sourceMappingURL=ms.core-4.4.
|
|
9483
|
+
//# sourceMappingURL=ms.core-4.4.2-nightly3.2604-09.gbl.js.map
|