@apicase/core
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -1,4 +0,4 @@ | ||
var _default5 = require('nanoutils/cjs/map'); | ||
var _default5 = require('nanoutils/cjs/clone'); | ||
var _default4 = require('nanoutils/cjs/clone'); | ||
var _default4 = require('nanoutils/cjs/map'); | ||
@@ -31,5 +31,5 @@ var _default3 = require('nanoutils/cjs/mapObjIndexed'); | ||
const mergeOptions = (adapter, opts) => { | ||
opts = opts.map(opt => normalizeOptions(adapter, _default4(typeof opt === 'function' ? opt() : opt))); | ||
const cbs = _default5(cb => cb(adapter), mergers); | ||
const def = _default4(defaults); | ||
opts = opts.map(opt => normalizeOptions(adapter, typeof opt === 'function' ? opt() : opt)); | ||
const cbs = _default4(cb => cb(adapter), mergers); | ||
const def = _default5(defaults); | ||
const reducer = createMergeReducer(cbs); | ||
@@ -36,0 +36,0 @@ |
@@ -1,3 +0,3 @@ | ||
import _default5 from 'nanoutils/lib/map'; | ||
import _default4 from 'nanoutils/lib/clone'; | ||
import _default5 from 'nanoutils/lib/clone'; | ||
import _default4 from 'nanoutils/lib/map'; | ||
import _default3 from 'nanoutils/lib/mapObjIndexed'; | ||
@@ -26,5 +26,5 @@ import _default2 from 'nanoutils/lib/merge'; | ||
const mergeOptions = (adapter, opts) => { | ||
opts = opts.map(opt => normalizeOptions(adapter, _default4(typeof opt === 'function' ? opt() : opt))); | ||
const cbs = _default5(cb => cb(adapter), mergers); | ||
const def = _default4(defaults); | ||
opts = opts.map(opt => normalizeOptions(adapter, typeof opt === 'function' ? opt() : opt)); | ||
const cbs = _default4(cb => cb(adapter), mergers); | ||
const def = _default5(defaults); | ||
const reducer = createMergeReducer(cbs); | ||
@@ -31,0 +31,0 @@ |
{ | ||
"name": "@apicase/core", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "Core library to make API calls with any adapter", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
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
470201