json-edit-react 1.16.0 → 1.16.1

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 +3 -3
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -4,7 +4,8 @@
4
4
 
5
5
  A [React](https://github.com/facebook/react) component for editing or viewing JSON/object data
6
6
 
7
- **[Explore the Demo](https://carlosnz.github.io/json-edit-react/)**
7
+
8
+ ## [Explore the Demo](https://carlosnz.github.io/json-edit-react/) <!-- omit in toc -->
8
9
 
9
10
  ![NPM Version](https://img.shields.io/npm/v/json-edit-react)
10
11
  ![GitHub License](https://img.shields.io/github/license/carlosnz/json-edit-react)
@@ -27,8 +28,7 @@ A [React](https://github.com/facebook/react) component for editing or viewing JS
27
28
  > [!IMPORTANT]
28
29
  > **Version 1.14.0** has a change which recommends you provide a `setData` prop and not use `onUpdate` for updating your data externally. See [Managing state](#managing-state).
29
30
 
30
- ## Contents
31
- - [Contents](#contents)
31
+ ## Contents <!-- omit in toc -->
32
32
  - [Installation](#installation)
33
33
  - [Implementation](#implementation)
34
34
  - [Usage](#usage)
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "json-edit-react",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "React component for editing or viewing JSON/object data",
5
5
  "main": "build/index.cjs.js",
6
6
  "module": "build/index.esm.js",
7
7
  "type": "module",
8
8
  "sideEffects": false,
9
9
  "types": "build/index.d.ts",
10
+ "exports": {
11
+ "types": "./build/index.d.ts",
12
+ "import": "./build/index.esm.js",
13
+ "require": "./dist/index.cjs.js"
14
+ },
10
15
  "files": [
11
16
  "build/**/*"
12
17
  ],