Skip to content

Commit f422efc

Browse files
committed
Update demo
1 parent e79e5ac commit f422efc

File tree

4 files changed

+14
-19
lines changed

4 files changed

+14
-19
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@types/react-dom": "^18.2.15",
1818
"firebase": "^9.22.1",
1919
"framer-motion": "^10.16.5",
20-
"json-edit-react": "^0.9.6",
20+
"json-edit-react": "^1.0.0",
2121
"just-clone": "^6.2.0",
2222
"just-compare": "^2.3.0",
2323
"react": "^18.2.0",

demo/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { useEffect, useRef } from 'react'
22
/* Local version */
3-
import { JsonEditor, themes, ThemeName, Theme, ThemeInput } from './json-edit-react/src'
3+
// import { JsonEditor, themes, ThemeName, Theme, ThemeInput } from './json-edit-react/src'
44
/* npm version */
5-
// import { JsonEditor, themes, ThemeName, Theme, ThemeInput } from 'json-edit-react'
5+
import { JsonEditor, themes, ThemeName, Theme, ThemeInput } from 'json-edit-react'
66
import { FaNpm, FaExternalLinkAlt, FaGithub } from 'react-icons/fa'
77
import { BiReset } from 'react-icons/bi'
88
import { AiOutlineCloudUpload } from 'react-icons/ai'

demo/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '0.9.6'
1+
export const version = '1.0.0'

demo/yarn.lock

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7652,15 +7652,15 @@ jsesc@~0.5.0:
76527652
resolved "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz"
76537653
integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==
76547654

7655-
json-edit-react@^0.9.6:
7656-
version "0.9.6"
7657-
resolved "https://registry.yarnpkg.com/json-edit-react/-/json-edit-react-0.9.6.tgz#f5da24c25064c51264fad02be39e33351666da38"
7658-
integrity sha512-D21IbROEDKpHOXHXuFgPGZEIlsRYmYW4X4ad6p4llNxqeV1wDSInjR+KyFWbmPP7DkLsY3QzHde3WQ1UAvX1kg==
7655+
json-edit-react@^1.0.0:
7656+
version "1.0.0"
7657+
resolved "https://registry.yarnpkg.com/json-edit-react/-/json-edit-react-1.0.0.tgz#e52ec366fd53025ddd711951b31e7af0c06a2597"
7658+
integrity sha512-qqbkupyanCxzFw0PsnmZdVjCQrdgfTC99MrjSOPYC+aWsQu1E2SwGrqIrqhOKoS/stwN7UGlRYIIbBPJv+gP3Q==
76597659
dependencies:
76607660
just-clone "^6.2.0"
76617661
object-property-assigner "^1.0.1"
7662-
object-property-extractor "^1.0.6"
7663-
react-icons "^4.8.0"
7662+
object-property-extractor "^1.0.7"
7663+
react-icons "^4.12.0"
76647664

76657665
json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1:
76667666
version "2.3.1"
@@ -8255,10 +8255,10 @@ object-property-assigner@^1.0.1:
82558255
resolved "https://registry.yarnpkg.com/object-property-assigner/-/object-property-assigner-1.0.1.tgz#0ce00a72877fc995e1504e04cf1509833c0f6147"
82568256
integrity sha512-B+5FhEnpTg4XCf7931AbPTQ1PAm56K+cxWmu/QIG8mqCrfuOLnMw+87vjZfIYP7j8wV5e3E9dYh0uMdqEbmzyw==
82578257

8258-
object-property-extractor@^1.0.6:
8259-
version "1.0.6"
8260-
resolved "https://registry.yarnpkg.com/object-property-extractor/-/object-property-extractor-1.0.6.tgz#823dabe27e646fd6922db5874191a4bd9962f886"
8261-
integrity sha512-75926oo0hL87mquCqKHLgWTBW2fOEXIZy3CuHl3hgpruBRJvCMUMGuowm+ipOiDNHV+85pcR7xpOrTutNe4G5Q==
8258+
object-property-extractor@^1.0.7:
8259+
version "1.0.7"
8260+
resolved "https://registry.yarnpkg.com/object-property-extractor/-/object-property-extractor-1.0.7.tgz#5b80d6bc2109ca7f49239359b3762adf332cbb41"
8261+
integrity sha512-JiJtcIdSp7dTOTT5Ssztr/ZarFlruJAx11VEESgLPx6BTqjPzRgpg1KEqZjtnXlrf9MWc1Qcv1zaNMa1/3qLMA==
82628262

82638263
object.assign@^4.1.3, object.assign@^4.1.4:
82648264
version "4.1.4"
@@ -9394,11 +9394,6 @@ react-icons@^4.12.0:
93949394
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.12.0.tgz#54806159a966961bfd5cdb26e492f4dafd6a8d78"
93959395
integrity sha512-IBaDuHiShdZqmfc/TwHu6+d6k2ltNCf3AszxNmjJc1KUfXdEeRJOKyNvLmAHaarhzGmTSVygNdyu8/opXv2gaw==
93969396

9397-
react-icons@^4.8.0:
9398-
version "4.8.0"
9399-
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.8.0.tgz#621e900caa23b912f737e41be57f27f6b2bff445"
9400-
integrity sha512-N6+kOLcihDiAnj5Czu637waJqSnwlMNROzVZMhfX68V/9bu9qHaMIJC4UdozWoOk57gahFCNHwVvWzm0MTzRjg==
9401-
94029397
react-is@^16.13.1, react-is@^16.7.0:
94039398
version "16.13.1"
94049399
resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"

0 commit comments

Comments
 (0)