Skip to content

Commit ebffbad

Browse files
committed
Fix module loading
1 parent e9a632f commit ebffbad

7 files changed

Lines changed: 20 additions & 180 deletions

File tree

esbuild.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ const context = await esbuild.context({
4141
'@codemirror/text',
4242
'@codemirror/tooltip',
4343
'@codemirror/view',
44-
'fetch',
45-
'encoding',
4644
...builtins],
4745
format: 'cjs',
4846
target: 'es2018',

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "obsidian-msgraph-plugin",
33
"name": "MSGraph Plugin",
4-
"version": "0.9.4",
4+
"version": "0.9.5",
55
"minAppVersion": "0.12.0",
66
"description": "This plugin allows to query MSGraph from obsidian.",
77
"author": "Andreas Hildebrandt",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "obsidian-msgraph-plugin",
3-
"version": "0.9.4",
3+
"version": "0.9.5",
44
"description": "This plugin allows to query MSGraph from obsidian.",
55
"main": "main.js",
66
"scripts": {
77
"dev": "node esbuild.config.mjs",
8-
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
8+
"build": "cd node_modules/fetch && npm i && cd ../../ && tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
99
"version": "node version-bump.mjs && git add manifest.json versions.json",
1010
"postinstall": "patch-package"
1111
},

patches/ews-javascript-api+0.12.0.patch

Lines changed: 0 additions & 172 deletions
This file was deleted.

patches/fetch+1.1.0.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/fetch/package.json b/node_modules/fetch/package.json
2+
index d9698ad..665d173 100644
3+
--- a/node_modules/fetch/package.json
4+
+++ b/node_modules/fetch/package.json
5+
@@ -15,7 +15,7 @@
6+
"license": "MIT",
7+
"dependencies": {
8+
"biskviit": "1.0.1",
9+
- "encoding": "0.1.12"
10+
+ "encoding": "0.1.13"
11+
},
12+
"devDependencies": {
13+
"chai": "^3.5.0",

versions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"0.9.1": "0.12.0",
33
"0.9.2": "0.12.0",
44
"0.9.3": "0.12.0",
5-
"0.9.4": "0.12.0"
5+
"0.9.4": "0.12.0",
6+
"0.9.5": "0.12.0"
67
}

0 commit comments

Comments
 (0)