contentful-sdk-core
Advanced tools
Comparing version 3.5.5 to 3.5.6
@@ -5,2 +5,3 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }(); | ||
import cloneDeep from 'lodash/cloneDeep'; | ||
import assign from 'lodash/assign'; | ||
@@ -70,3 +71,3 @@ /** | ||
instance.cloneWithNewParams = function (newParams) { | ||
return createHttpClient(axios, Object.assign(cloneDeep(httpClientParams), newParams)); | ||
return createHttpClient(axios, assign(cloneDeep(httpClientParams), newParams)); | ||
}; | ||
@@ -73,0 +74,0 @@ |
@@ -19,2 +19,6 @@ 'use strict'; | ||
var _assign = require('lodash/assign'); | ||
var _assign2 = _interopRequireDefault(_assign); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -85,3 +89,3 @@ | ||
instance.cloneWithNewParams = function (newParams) { | ||
return createHttpClient(axios, Object.assign((0, _cloneDeep2.default)(httpClientParams), newParams)); | ||
return createHttpClient(axios, (0, _assign2.default)((0, _cloneDeep2.default)(httpClientParams), newParams)); | ||
}; | ||
@@ -88,0 +92,0 @@ |
{ | ||
"name": "contentful-sdk-core", | ||
"version": "3.5.5", | ||
"version": "3.5.6", | ||
"description": "Core modules for the Contentful JS SDKs", | ||
@@ -5,0 +5,0 @@ "homepage": "https://www.contentful.com/developers/docs/javascript/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31962
627