@node-projects/web-component-designer-codeview-monaco 0.1.24 → 0.1.25

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.
@@ -137,7 +137,7 @@ export class CodeViewMonaco extends BaseCustomWebComponentLazyAppend {
137
137
  async ready() {
138
138
  this._parseAttributesToProperties();
139
139
  //@ts-ignore
140
- let style = await import("monaco-editor/min/vs/editor/editor.main.css", { assert: { type: 'css' } });
140
+ let style = await import("monaco-editor/min/vs/editor/editor.main.css", { with: { type: 'css' } });
141
141
  this.shadowRoot.adoptedStyleSheets = [cssFromString(style), this.constructor.style];
142
142
  this._editor = this._getDomElement('container');
143
143
  //@ts-ignore
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
- {
2
- "description": "web-component-designer addon: Code Editor using Monaco",
3
- "name": "@node-projects/web-component-designer-codeview-monaco",
4
- "version": "0.1.24",
5
- "type": "module",
6
- "main": "./dist/widgets/codeView/code-view-monaco.js",
7
- "author": "jochen.kuehner@gmx.de",
8
- "license": "MIT",
9
- "scripts": {
10
- "tsc": "tsc",
11
- "build": "tsc",
12
- "prepublishOnly": "npm run build"
13
- },
14
- "dependencies": {
15
- "monaco-editor": ">=0.30.0",
16
- "@node-projects/base-custom-webcomponent": ">=0.19.0",
17
- "@node-projects/web-component-designer": ">=0.1.8"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/node-projects/web-component-designer.git"
22
- }
23
- }
1
+ {
2
+ "description": "web-component-designer addon: Code Editor using Monaco",
3
+ "name": "@node-projects/web-component-designer-codeview-monaco",
4
+ "version": "0.1.25",
5
+ "type": "module",
6
+ "main": "./dist/widgets/codeView/code-view-monaco.js",
7
+ "author": "jochen.kuehner@gmx.de",
8
+ "license": "MIT",
9
+ "scripts": {
10
+ "tsc": "tsc",
11
+ "build": "tsc",
12
+ "prepublishOnly": "npm run build"
13
+ },
14
+ "dependencies": {
15
+ "monaco-editor": ">=0.30.0",
16
+ "@node-projects/base-custom-webcomponent": ">=0.19.0",
17
+ "@node-projects/web-component-designer": ">=0.1.8"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/node-projects/web-component-designer.git"
22
+ }
23
+ }