Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

telejson

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

telejson - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

4

dist/index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc