json-diff-ts 3.0.0-beta.2 → 3.0.0-beta.3

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -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.2",
3
+ "version": "3.0.0-beta.3",
4
4
  "description": "A JSON diff tool for JavaScript written in TypeScript.",
5
- "main": "./dist/index.js",
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",
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",