Comparing version
@@ -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 @@ |
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
28080
-17.98%7
-12.5%5
25%+ Added
+ Added
- Removed
- Removed