diff --git a/package-lock.json b/package-lock.json index 5382f38..f43a8c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@types/react": "^18.2.79", - "monaco-editor": "^0.48.0", + "monaco-editor": "^0.49.0", "prettier": "^3.2.5", "typescript": "^5.4.5" }, @@ -86,9 +86,9 @@ } }, "node_modules/monaco-editor": { - "version": "0.48.0", - "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.48.0.tgz", - "integrity": "sha512-goSDElNqFfw7iDHMg8WDATkfcyeLTNpBHQpO8incK6p5qZt5G/1j41X0xdGzpIkGojGXM+QiRQyLjnfDVvrpwA==" + "version": "0.49.0", + "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.49.0.tgz", + "integrity": "sha512-2I8/T3X/hLxB2oPHgqcNYUVdA/ZEFShT7IAujifIPMfKkNbLOqY8XCoyHCXrsdjb36dW9MwoTwBCFpXKMwNwaQ==" }, "node_modules/prettier": { "version": "3.2.5", diff --git a/package.json b/package.json index f5701bb..c65bc19 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/src/jsonEditor.tsx b/src/jsonEditor.tsx index ac7a78c..e11d3dd 100644 --- a/src/jsonEditor.tsx +++ b/src/jsonEditor.tsx @@ -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;