json-diff-ts 3.0.0-beta.2 → 3.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -251,7 +251,7 @@ Reach out to the maintainer via LinkedIn or Twitter:
|
|
|
251
251
|
Discover more about the company behind this project: [hololux](https://hololux.com)
|
|
252
252
|
|
|
253
253
|
## Release Notes
|
|
254
|
-
|
|
254
|
+
- **v3.0.0:** Supports CommonJS and ECMAScript Modules
|
|
255
255
|
- **v2.2.0:** Fix lodash-es decependency, exclude keys, compare string arrays by value
|
|
256
256
|
- **v2.1.0:** Resolves a problem related to JSON Path filters by replacing the single equal sign (=) with a double equal sign (==). This update maintains compatibility with existing flat changes. Allows to use either '' or '.' as root in the path.
|
|
257
257
|
- **v2.0.0:** json-diff-ts has been upgraded to an ECMAScript module! This major update brings optimizations and enhanced documentation. Additionally, a previously existing issue where all paths were treated as regex has been fixed. In this new version, you'll need to use a Map instead of a Record for regex paths. Please note that this is a breaking change if you were using regex paths in the previous versions.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "json-diff-ts",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.4",
|
|
4
4
|
"description": "A JSON diff tool for JavaScript written in TypeScript.",
|
|
5
|
-
"main": "./dist/index.
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "tsup",
|
|
10
|
+
"build": "tsup --format cjs,esm --tsconfig tsconfig.cjs.json",
|
|
11
11
|
"format": "prettier --write \"src/**/*.ts\"",
|
|
12
12
|
"lint": "eslint 'src/**/*.ts'",
|
|
13
13
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.mjs",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"jest": "^29.7.0",
|
|
50
50
|
"prettier": "^3.0.3",
|
|
51
51
|
"ts-jest": "^29.0.5",
|
|
52
|
+
"tsconfig-paths": "^4.2.0",
|
|
52
53
|
"tsup": "^8.0.2",
|
|
53
54
|
"typescript": "^5.3.2"
|
|
54
55
|
}
|