Skip to content

Commit

Permalink
0.0.137
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Oct 7, 2024
1 parent 0c04007 commit bed8286
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion imports/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import isEqual from 'lodash/isEqual.js';
import { MdSaveAlt } from 'react-icons/md';
import { useResizeDetector } from 'react-resize-detector';
import { useAsyncMemo } from 'use-async-memo';
import JSON5 from 'json5';

export interface IEditor {
refEditor?: any;
Expand Down Expand Up @@ -103,7 +104,7 @@ export const Editor = React.memo(function Editor({
let _v = v;
if (isObject) {
try {
_v = JSON.parse(v);
_v = JSON5.parse(v);
await deep.value(linkId, _v);
} catch(e) {
console.log('go.Editor JSON.parse value', e);
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deep-foundation/perception-imports",
"version": "0.0.136",
"version": "0.0.137",
"license": "Unlicense",
"type": "module",
"main": "import.js",
Expand All @@ -16,7 +16,7 @@
"app:dev": "npm run app:sync; (cd ../; rm -rf app; npm run dev)"
},
"peerDependencies": {
"@deep-foundation/deeplinks": "^0.0.609",
"@deep-foundation/deeplinks": "^0.0.612",
"next": "^14.2.13",
"react": "^18.3.1"
},
Expand Down

0 comments on commit bed8286

Please sign in to comment.