Skip to content

Commit

Permalink
Update monaco-editor to 0.49.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Jun 3, 2024
1 parent aa79bf1 commit 5d038e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"homepage": "https://github.com/open-formulieren/monaco-json-editor#readme",
"devDependencies": {
"@types/react": "^18.2.79",
"monaco-editor": "^0.48.0",
"monaco-editor": "^0.49.0",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
},
Expand Down
2 changes: 1 addition & 1 deletion src/jsonEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {EditorProps, OnChange, OnMount} from '@monaco-editor/react';
// which doesn't play well (especially with Storybook).
// See https://www.npmjs.com/package/@monaco-editor/loader#configure-the-loader-to-load-the-monaco-as-an-npm-package
// if we ever want to switch to the NPM module instead.
loader.config({paths: {vs: 'https://cdn.jsdelivr.net/npm/monaco-editor@0.48.0/min/vs'}});
loader.config({paths: {vs: 'https://cdn.jsdelivr.net/npm/monaco-editor@0.49.0/min/vs'}});

interface JSONEditorProps {
value?: any;
Expand Down

0 comments on commit 5d038e0

Please sign in to comment.