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

json-diff-kit

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-diff-kit - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

28

dist/index.js

@@ -7,17 +7,17 @@ var __create = Object.create;

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __reExport = (target, module, copyDefault, desc) => {
if (module && typeof module === "object" || typeof module === "function") {
for (let key of __getOwnPropNames(module))
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
__defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return target;
return to;
};
var __toESM = (module, isNodeMode) => {
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", !isNodeMode && module && module.__esModule ? { get: () => module.default, enumerable: true } : { value: module, enumerable: true })), module);
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));

@@ -392,3 +392,9 @@ // node_modules/.pnpm/fast-myers-diff@3.0.1/node_modules/fast-myers-diff/bin/index.js

} else if (typeof lhs[keyLeft] === "object") {
const result = diffObject(lhs[keyLeft], rhs[keyRight], level + 1, options, arrayDiffFunc);
const result = diffObject(
lhs[keyLeft],
rhs[keyRight],
level + 1,
options,
arrayDiffFunc
);
linesLeft.push({ level, type: "equal", text: `"${keyLeft}": {` });

@@ -395,0 +401,0 @@ linesLeft.push(...result[0]);

{
"name": "json-diff-kit",
"version": "1.0.7",
"version": "1.0.8",
"description": "A better JSON differ & viewer.",

@@ -38,5 +38,5 @@ "module": "dist/index.js",

"@types/react-dom": "^17.0.11",
"esbuild": "^0.14.18",
"esbuild": "^0.15.2",
"esbuild-jest": "^0.5.0",
"esbuild-plugin-less": "^1.1.6",
"esbuild-plugin-less": "^1.1.9",
"jest": "^27.4.7",

@@ -52,4 +52,4 @@ "react": "^17.0.2",

"peerDependencies": {
"react": "^17.0.0 || ^16.0.0",
"react-dom": "^17.0.0 || ^16.0.0"
"react": "^18.2.0 || ^17.0.0 || ^16.0.0",
"react-dom": "^18.2.0 || ^17.0.0 || ^16.0.0"
},

@@ -56,0 +56,0 @@ "dependencies": {

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