Skip to content

Commit ca575b9

Browse files
committed
chore: version bump 0.7.4
1 parent b2a0ed7 commit ca575b9

7 files changed

Lines changed: 48 additions & 15 deletions

File tree

demos/console-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "tsc"
88
},
99
"dependencies": {
10-
"jsondiffpatch": "^0.7.1"
10+
"jsondiffpatch": "^0.7.4"
1111
},
1212
"devDependencies": {
1313
"typescript": "^5.8.2"

demos/html-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"dependencies": {
99
"json5": "^2.2.3",
10-
"jsondiffpatch": "^0.7.3"
10+
"jsondiffpatch": "^0.7.4"
1111
},
1212
"devDependencies": {
1313
"esbuild": "^0.28.0",

demos/numeric-plugin-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "tsc"
88
},
99
"dependencies": {
10-
"jsondiffpatch": "^0.7.3"
10+
"jsondiffpatch": "^0.7.4"
1111
},
1212
"devDependencies": {
1313
"typescript": "^5.8.2"

package-lock.json

Lines changed: 23 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/diff-mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"fast-xml-parser": "^5.0.9",
3030
"js-yaml": "^4.1.0",
3131
"json5": "^2.2.3",
32-
"jsondiffpatch": "^0.7.3",
32+
"jsondiffpatch": "^0.7.4",
3333
"smol-toml": "^1.3.1",
3434
"zod": "^3.24.2"
3535
},

packages/jsondiffpatch/package.json

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
{
22
"name": "jsondiffpatch",
3-
"version": "0.7.3",
3+
"version": "0.7.4",
44
"author": "Benjamin Eidelman <beneidel@gmail.com>",
55
"description": "JSON diff & patch (object and array diff, text diff, multiple output formats)",
6-
"contributors": ["Benjamin Eidelman <beneidel@gmail.com>"],
6+
"contributors": [
7+
"Benjamin Eidelman <beneidel@gmail.com>"
8+
],
79
"type": "module",
8-
"sideEffects": ["*.css"],
10+
"sideEffects": [
11+
"*.css"
12+
],
913
"main": "./lib/index.js",
1014
"types": "./lib/index.d.ts",
1115
"exports": {
@@ -14,7 +18,10 @@
1418
"./formatters/*": "./lib/formatters/*.js",
1519
"./formatters/styles/*.css": "./lib/formatters/styles/*.css"
1620
},
17-
"files": ["bin", "lib"],
21+
"files": [
22+
"bin",
23+
"lib"
24+
],
1825
"bin": {
1926
"jsondiffpatch": "./bin/jsondiffpatch.js"
2027
},
@@ -30,11 +37,16 @@
3037
"type": "git",
3138
"url": "https://github.com/benjamine/jsondiffpatch.git"
3239
},
33-
"keywords": ["json", "diff", "patch"],
40+
"keywords": [
41+
"json",
42+
"diff",
43+
"patch"
44+
],
3445
"dependencies": {
3546
"@dmsnell/diff-match-patch": "^1.1.0"
3647
},
3748
"devDependencies": {
49+
"@types/node": "^25.6.1",
3850
"@vitest/coverage-v8": "^3.0.9",
3951
"ncp": "^2.0.0",
4052
"tslib": "^2.6.2",

packages/jsondiffpatch/src/formatters/annotated.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ import type {
1111
import type { BaseFormatterContext, DeltaType, NodeType } from "./base.js";
1212
import BaseFormatter from "./base.js";
1313

14-
function htmlEscape(value: string | number) {
14+
function htmlEscape(value: number): number;
15+
function htmlEscape(value: string): string;
16+
function htmlEscape(value: string | number): string | number;
17+
function htmlEscape(value: string | number): string | number {
1518
if (typeof value === "number") return value;
1619
let html = String(value);
1720
const replacements: [RegExp, string][] = [

0 commit comments

Comments
 (0)