@financial-times/x-topic-search 8.2.2 → 8.2.4
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/TopicSearch.es5.js +15 -1
- package/package.json +3 -3
package/dist/TopicSearch.es5.js
CHANGED
|
@@ -19,7 +19,7 @@ function _defineProperties(target, props) {
|
|
|
19
19
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
20
20
|
descriptor.configurable = true;
|
|
21
21
|
if ("value" in descriptor) descriptor.writable = true;
|
|
22
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
22
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
@@ -98,6 +98,20 @@ function _createSuper(Derived) {
|
|
|
98
98
|
return _possibleConstructorReturn(this, result);
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
+
function _toPrimitive(input, hint) {
|
|
102
|
+
if (typeof input !== "object" || input === null) return input;
|
|
103
|
+
var prim = input[Symbol.toPrimitive];
|
|
104
|
+
if (prim !== undefined) {
|
|
105
|
+
var res = prim.call(input, hint || "default");
|
|
106
|
+
if (typeof res !== "object") return res;
|
|
107
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
108
|
+
}
|
|
109
|
+
return (hint === "string" ? String : Number)(input);
|
|
110
|
+
}
|
|
111
|
+
function _toPropertyKey(arg) {
|
|
112
|
+
var key = _toPrimitive(arg, "string");
|
|
113
|
+
return typeof key === "symbol" ? key : String(key);
|
|
114
|
+
}
|
|
101
115
|
|
|
102
116
|
var addQueryParamToUrl = function addQueryParamToUrl(name, value, url) {
|
|
103
117
|
var append = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@financial-times/x-topic-search",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/TopicSearch.cjs.js",
|
|
6
6
|
"module": "dist/TopicSearch.esm.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"author": "",
|
|
17
17
|
"license": "ISC",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@financial-times/x-engine": "^8.2.
|
|
20
|
-
"@financial-times/x-follow-button": "^8.2.
|
|
19
|
+
"@financial-times/x-engine": "^8.2.4",
|
|
20
|
+
"@financial-times/x-follow-button": "^8.2.4",
|
|
21
21
|
"debounce-promise": "^3.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|