Comparing version 2.2.1 to 2.2.2
@@ -18,3 +18,3 @@ "use strict"; | ||
var _lodash = _interopRequireDefault(require("lodash.get")); | ||
var _get = _interopRequireDefault(require("lodash/get")); | ||
@@ -239,3 +239,3 @@ var _memoizerific = _interopRequireDefault(require("memoizerific")); | ||
// eslint-disable-next-line no-param-reassign | ||
container[target] = (0, _lodash.default)(root, replacement.replace('root.', '')); | ||
container[target] = (0, _get.default)(root, replacement.replace('root.', '')); | ||
} | ||
@@ -242,0 +242,0 @@ }); |
{ | ||
"name": "telejson", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "", | ||
@@ -39,3 +39,3 @@ "keywords": [ | ||
"isobject": "^3.0.1", | ||
"lodash.get": "^4.4.2", | ||
"lodash": "^4.17.11", | ||
"memoizerific": "^1.11.3" | ||
@@ -42,0 +42,0 @@ }, |
@@ -100,3 +100,3 @@ # TeleJSON | ||
`maxDepth`: controls how deep to keep stringifying. When max depth is reach, | ||
objects will be replaced with `"[Object]"`, arrays will be replaced with `"[Array(<lenght>)]"`. | ||
objects will be replaced with `"[Object]"`, arrays will be replaced with `"[Array(<length>)]"`. | ||
default value is `10` | ||
@@ -106,3 +106,3 @@ This option is really useful if your object is huge/complex, and you don't care about the deeply nested data. | ||
`space`: controls how to prettify the output string. | ||
default value is `undefined`, no white space is use. | ||
default value is `undefined`, no white space is used. | ||
Only relevant when using `stringify`. | ||
@@ -109,0 +109,0 @@ |
@@ -7,3 +7,3 @@ import { window, document } from 'global'; | ||
import isObject from 'isobject'; | ||
import get from 'lodash.get'; | ||
import get from 'lodash/get'; | ||
import memoize from 'memoizerific'; | ||
@@ -10,0 +10,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
28080
7
+ Addedlodash@^4.17.11
+ Addedlodash@4.17.21(transitive)
- Removedlodash.get@^4.4.2
- Removedlodash.get@4.4.2(transitive)