Socket
Socket
Sign inDemoInstall

telejson

Package Overview
Dependencies
Maintainers
4
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 5.0.2 to 5.1.0

2

dist/index.d.ts

@@ -14,3 +14,3 @@ interface Options {

interface ValueContainer {
'_constructor-name_': string;
'_constructor-name_'?: string;
[keys: string]: any;

@@ -17,0 +17,0 @@ }

@@ -417,5 +417,11 @@ "use strict";

if (Array.isArray(value)) {
value.forEach(function (v) {
value.forEach(function (v, index) {
mutated.set(v, true);
mutateUndefined(v);
if (v === '_undefined_') {
mutated.set(v, true); // eslint-disable-next-line no-param-reassign
value[index] = undefined;
}
});

@@ -422,0 +428,0 @@ }

{
"name": "telejson",
"version": "5.0.2",
"version": "5.1.0",
"description": "",

@@ -50,21 +50,21 @@ "keywords": [

"isobject": "^4.0.0",
"lodash": "^4.17.19",
"lodash": "^4.17.20",
"memoizerific": "^1.11.3"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.12.1",
"@storybook/eslint-config-storybook": "^2.4.0",
"@types/jest": "^26.0.6",
"@types/lodash": "^4.14.158",
"@types/jest": "^26.0.15",
"@types/lodash": "^4.14.165",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^26.1.0",
"babel-jest": "^26.6.3",
"common-tags": "^1.8.0",
"eslint": "^7.5.0",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"eslint": "^7.13.0",
"jest": "^26.6.3",
"prettier": "^2.1.2",
"regenerator-runtime": "^0.13.7",
"typescript": "^3.9.7"
"typescript": "^4.0.5"
},

@@ -71,0 +71,0 @@ "publishConfig": {

@@ -80,3 +80,3 @@ # TeleJSON

const stringified = JSON.stringify(data, reviver(), 2);
const stringified = JSON.stringify(data, replacer(), 2);
const parsed = JSON.parse(stringified, reviver(), 2);

@@ -88,3 +88,3 @@ ```

```
const stringified = JSON.stringify(data, reviver, 2);
const stringified = JSON.stringify(data, replacer, 2);
const parsed = JSON.parse(stringified, reviver, 2);

@@ -91,0 +91,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