@player-ui/player 0.14.1-next.6 → 0.14.1
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/dist/Player.native.js +2 -2
- package/dist/Player.native.js.map +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/logger/__tests__/proxyLogger.test.ts +1 -1
- package/src/logger/consoleLogger.ts +1 -1
- package/src/logger/index.ts +4 -4
- package/src/logger/noopLogger.ts +1 -1
- package/src/logger/proxyLogger.ts +1 -1
- package/src/logger/tapableLogger.ts +1 -1
- package/src/view/plugins/applicability.ts +1 -1
- package/src/view/plugins/asset-transform.ts +1 -1
- package/src/view/plugins/asset.ts +1 -1
- package/src/view/plugins/index.ts +7 -7
- package/src/view/plugins/multi-node.ts +1 -1
- package/src/view/plugins/string-resolver.ts +1 -1
- package/src/view/plugins/switch.ts +1 -1
- package/src/view/plugins/template.ts +1 -1
- package/types/logger/consoleLogger.d.ts +1 -1
- package/types/logger/index.d.ts +4 -4
- package/types/logger/noopLogger.d.ts +1 -1
- package/types/logger/proxyLogger.d.ts +1 -1
- package/types/logger/tapableLogger.d.ts +1 -1
- package/types/view/plugins/applicability.d.ts +1 -1
- package/types/view/plugins/asset-transform.d.ts +1 -1
- package/types/view/plugins/asset.d.ts +1 -1
- package/types/view/plugins/index.d.ts +7 -7
- package/types/view/plugins/multi-node.d.ts +1 -1
- package/types/view/plugins/string-resolver.d.ts +1 -1
- package/types/view/plugins/switch.d.ts +1 -1
- package/types/view/plugins/template.d.ts +1 -1
package/dist/Player.native.js
CHANGED
|
@@ -1466,7 +1466,7 @@ var Player = function() {
|
|
|
1466
1466
|
isBlockingNavigation: false
|
|
1467
1467
|
};
|
|
1468
1468
|
};
|
|
1469
|
-
var
|
|
1469
|
+
var createObjectMatcher = function createObjectMatcher(partialObj) {
|
|
1470
1470
|
var pairs = traverseObj(partialObj);
|
|
1471
1471
|
var matchFunction = function(searchObj) {
|
|
1472
1472
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
@@ -7410,7 +7410,7 @@ var Player = function() {
|
|
|
7410
7410
|
{
|
|
7411
7411
|
/** Add match -> value mapping to the registry */ key: "set",
|
|
7412
7412
|
value: function set(match, value) {
|
|
7413
|
-
var matcher = (typeof match === "undefined" ? "undefined" : _type_of(match)) === "object" ?
|
|
7413
|
+
var matcher = (typeof match === "undefined" ? "undefined" : _type_of(match)) === "object" ? createObjectMatcher(match) : createBasicMatcher(match);
|
|
7414
7414
|
this.store.insert({
|
|
7415
7415
|
key: match,
|
|
7416
7416
|
value: value,
|