Socket
Socket
Sign inDemoInstall

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 4.0.0 to 4.0.1-0

2

dist/index.d.ts

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

}
export declare const reviver: (options: Options) => (this: any, key: string, value: string | ValueContainer) => any;
export declare const reviver: (options: Options) => (this: any, key: string, value: ValueContainer | string) => any;
export declare const isJSON: (input: string) => RegExpMatchArray | null;

@@ -20,0 +20,0 @@ export declare const stringify: (data: any, options?: Partial<Options>) => string;

@@ -270,3 +270,3 @@ "use strict";

replacement = _ref.replacement;
var replacementArr = JSON.parse(replacement);
var replacementArr = isJSON(replacement) ? JSON.parse(replacement) : replacement.split('.');

@@ -273,0 +273,0 @@ if (replacementArr.length === 0) {

{
"name": "telejson",
"version": "4.0.0",
"version": "4.0.1-0",
"description": "",

@@ -23,2 +23,5 @@ "keywords": [

},
"files": [
"dist/*"
],
"license": "MIT",

@@ -45,24 +48,24 @@ "main": "dist/index.js",

"is-function": "^1.0.2",
"is-regex": "^1.0.5",
"is-regex": "^1.1.0",
"is-symbol": "^1.0.3",
"isobject": "^4.0.0",
"lodash": "^4.17.15",
"lodash": "^4.17.19",
"memoizerific": "^1.11.3"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
"@storybook/eslint-config-storybook": "^2.3.0",
"@types/jest": "^25.2.1",
"@types/lodash": "^4.14.150",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@storybook/eslint-config-storybook": "^2.4.0",
"@types/jest": "^26.0.6",
"@types/lodash": "^4.14.158",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^25.5.1",
"babel-jest": "^26.1.0",
"common-tags": "^1.8.0",
"eslint": "^6.8.0",
"jest": "^25.5.2",
"eslint": "^7.5.0",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"regenerator-runtime": "^0.13.5",
"typescript": "^3.8.3"
"regenerator-runtime": "^0.13.7",
"typescript": "^3.9.7"
},

@@ -69,0 +72,0 @@ "publishConfig": {

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