Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "redux-nl", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "A GraphQL inspired rest client side network layer", | ||
@@ -28,3 +28,7 @@ "keywords": [ | ||
"dependencies": { | ||
"axios": "^0.19.2" | ||
"axios": "^0.19.2", | ||
"lodash.castarray": "^4.4.0", | ||
"lodash.mapkeys": "^4.6.0", | ||
"lodash.omit": "^4.5.0", | ||
"lodash.snakecase": "^4.1.1" | ||
}, | ||
@@ -31,0 +35,0 @@ "peerDependencies": { |
@@ -6,3 +6,3 @@ /** | ||
import _snakeCase from "lodash/snakeCase"; | ||
import _snakeCase from "lodash.snakecase"; | ||
import { getActionVerb } from "./get-action-verb"; | ||
@@ -9,0 +9,0 @@ |
@@ -8,4 +8,4 @@ /** | ||
import { takeLatest, all } from "redux-saga/effects"; | ||
import _snakeCase from "lodash/snakeCase"; | ||
import _mapKeys from "lodash/mapKeys"; | ||
import _snakeCase from "lodash.snakecase"; | ||
import _mapKeys from "lodash.mapkeys"; | ||
/* Local Modules */ | ||
@@ -27,3 +27,3 @@ import { AbstractNetworkSaga } from "./abstract-network-saga"; | ||
); | ||
const metaInSnakeCase = _mapKeys(meta, (_, key) => _snakeCase(key)); | ||
const metaInSnakeCase = _.omit(_mapKeys(meta, (_, key) => _snakeCase(key)), ["headers"]); | ||
// Extracts parameters from brackets e.g. "/user/orders/{id}" -> id (only supports a single query parameter) | ||
@@ -30,0 +30,0 @@ const extractedPathParameter = path |
@@ -7,3 +7,3 @@ /** | ||
/* NPM - Node Package Manage */ | ||
import _castArray from "lodash/castArray"; | ||
import _castArray from "lodash.castarray"; | ||
/* Local Modules */ | ||
@@ -10,0 +10,0 @@ import { getRequestType } from "./get-request-type"; |
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
32586
7
+ Addedlodash.castarray@^4.4.0
+ Addedlodash.mapkeys@^4.6.0
+ Addedlodash.omit@^4.5.0
+ Addedlodash.snakecase@^4.1.1
+ Addedlodash.castarray@4.4.0(transitive)
+ Addedlodash.mapkeys@4.6.0(transitive)
+ Addedlodash.omit@4.5.0(transitive)
+ Addedlodash.snakecase@4.1.1(transitive)