ewvjs 1.0.8 → 1.0.9

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.
Files changed (40) hide show
  1. package/package.json +2 -3
  2. package/native/node_modules/node-api-dotnet/README.md +0 -80
  3. package/native/node_modules/node-api-dotnet/index.d.ts +0 -98
  4. package/native/node_modules/node-api-dotnet/linux-arm64/Microsoft.JavaScript.NodeApi.node +0 -0
  5. package/native/node_modules/node-api-dotnet/linux-x64/Microsoft.JavaScript.NodeApi.node +0 -0
  6. package/native/node_modules/node-api-dotnet/net472/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  7. package/native/node_modules/node-api-dotnet/net472/Microsoft.JavaScript.NodeApi.DotNetHost.dll +0 -0
  8. package/native/node_modules/node-api-dotnet/net472/Microsoft.JavaScript.NodeApi.dll +0 -0
  9. package/native/node_modules/node-api-dotnet/net472/Microsoft.JavaScript.NodeApi.runtimeconfig.json +0 -9
  10. package/native/node_modules/node-api-dotnet/net472/System.Memory.dll +0 -0
  11. package/native/node_modules/node-api-dotnet/net472/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  12. package/native/node_modules/node-api-dotnet/net472/System.Threading.Tasks.Extensions.dll +0 -0
  13. package/native/node_modules/node-api-dotnet/net472.d.ts +0 -2
  14. package/native/node_modules/node-api-dotnet/net472.js +0 -2
  15. package/native/node_modules/node-api-dotnet/net8.0/Microsoft.JavaScript.NodeApi.DotNetHost.dll +0 -0
  16. package/native/node_modules/node-api-dotnet/net8.0/Microsoft.JavaScript.NodeApi.dll +0 -0
  17. package/native/node_modules/node-api-dotnet/net8.0/Microsoft.JavaScript.NodeApi.runtimeconfig.json +0 -14
  18. package/native/node_modules/node-api-dotnet/net8.0.d.ts +0 -2
  19. package/native/node_modules/node-api-dotnet/net8.0.js +0 -2
  20. package/native/node_modules/node-api-dotnet/net9.0.d.ts +0 -2
  21. package/native/node_modules/node-api-dotnet/osx-arm64/Microsoft.JavaScript.NodeApi.node +0 -0
  22. package/native/node_modules/node-api-dotnet/osx-x64/Microsoft.JavaScript.NodeApi.node +0 -0
  23. package/native/node_modules/node-api-dotnet/package.json +0 -27
  24. package/src/README.md +0 -125
  25. package/src/csharp/bin/Release/net10.0-windows/Microsoft.Web.WebView2.Core.dll +0 -0
  26. package/src/csharp/bin/Release/net10.0-windows/Microsoft.Web.WebView2.Core.xml +0 -6817
  27. package/src/csharp/bin/Release/net10.0-windows/Microsoft.Web.WebView2.WinForms.dll +0 -0
  28. package/src/csharp/bin/Release/net10.0-windows/Microsoft.Web.WebView2.WinForms.xml +0 -510
  29. package/src/csharp/bin/Release/net10.0-windows/Microsoft.Web.WebView2.Wpf.dll +0 -0
  30. package/src/csharp/bin/Release/net10.0-windows/Microsoft.Web.WebView2.Wpf.xml +0 -1902
  31. package/src/csharp/bin/Release/net10.0-windows/WebView.cjs +0 -26
  32. package/src/csharp/bin/Release/net10.0-windows/WebView.d.ts +0 -8
  33. package/src/csharp/bin/Release/net10.0-windows/WebView.deps.json +0 -260
  34. package/src/csharp/bin/Release/net10.0-windows/WebView.dll +0 -0
  35. package/src/csharp/bin/Release/net10.0-windows/WebView.mjs +0 -31
  36. package/src/csharp/bin/Release/net10.0-windows/WebView.pdb +0 -0
  37. package/src/csharp/bin/Release/net10.0-windows/import.cjs +0 -3
  38. package/src/csharp/bin/Release/net10.0-windows/runtimes/win-arm64/native/WebView2Loader.dll +0 -0
  39. package/src/csharp/bin/Release/net10.0-windows/runtimes/win-x64/native/WebView2Loader.dll +0 -0
  40. package/src/csharp/bin/Release/net10.0-windows/runtimes/win-x86/native/WebView2Loader.dll +0 -0
@@ -1,26 +0,0 @@
1
- // Generated for: WebView 1.0.0.0
2
- // Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
3
- /* eslint-disable */
4
-
5
- const dotnet = require('node-api-dotnet/net10.0');
6
- const path = require('node:path');
7
- // @ts-ignore - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/65252
8
- const { dlopen, platform, arch } = require('node:process');
9
-
10
- const moduleName = path.basename(__filename, __filename.match(/(\.[cm]?js)?$/)[0]);
11
- module.exports = dotnet ? importDotnetModule(moduleName) : importAotModule(moduleName);
12
-
13
- function importDotnetModule(moduleName) {
14
- const moduleFilePath = path.join(__dirname, moduleName + '.dll');
15
- return dotnet.require(moduleFilePath);
16
- }
17
-
18
- function importAotModule(moduleName) {
19
- const ridPlatform = platform === 'win32' ? 'win' : platform === 'darwin' ? 'osx' : platform;
20
- const ridArch = arch === 'ia32' ? 'x86' : arch;
21
- const rid = `${ridPlatform}-${ridArch}`;
22
- const moduleFilePath = path.join(__dirname, rid, moduleName + '.node');
23
- const module = { exports: {} };
24
- dlopen(module, moduleFilePath);
25
- return module.exports;
26
- }
@@ -1,8 +0,0 @@
1
- // Generated for: WebView 1.0.0.0
2
- // Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
3
- /* eslint-disable */
4
-
5
-
6
- export namespace EwvjsInterop {
7
- export function invoke(inputVal: any): any;
8
- }
@@ -1,260 +0,0 @@
1
- {
2
- "runtimeTarget": {
3
- "name": ".NETCoreApp,Version=v10.0",
4
- "signature": ""
5
- },
6
- "compilationOptions": {},
7
- "targets": {
8
- ".NETCoreApp,Version=v10.0": {
9
- "WebView/1.0.0": {
10
- "dependencies": {
11
- "Microsoft.JavaScript.NodeApi": "0.9.19",
12
- "Microsoft.JavaScript.NodeApi.Generator": "0.9.19",
13
- "Microsoft.Web.WebView2": "1.0.3719.77",
14
- "Microsoft.Web.WebView2.Core": "1.0.3719.77",
15
- "Microsoft.Web.WebView2.WinForms": "1.0.3719.77",
16
- "Microsoft.Web.WebView2.Wpf": "1.0.3719.77"
17
- },
18
- "runtime": {
19
- "WebView.dll": {}
20
- }
21
- },
22
- "Microsoft.CodeAnalysis.Common/4.1.0": {
23
- "runtime": {
24
- "lib/netcoreapp3.1/Microsoft.CodeAnalysis.dll": {
25
- "assemblyVersion": "4.1.0.0",
26
- "fileVersion": "4.100.22.11411"
27
- }
28
- },
29
- "resources": {
30
- "lib/netcoreapp3.1/cs/Microsoft.CodeAnalysis.resources.dll": {
31
- "locale": "cs"
32
- },
33
- "lib/netcoreapp3.1/de/Microsoft.CodeAnalysis.resources.dll": {
34
- "locale": "de"
35
- },
36
- "lib/netcoreapp3.1/es/Microsoft.CodeAnalysis.resources.dll": {
37
- "locale": "es"
38
- },
39
- "lib/netcoreapp3.1/fr/Microsoft.CodeAnalysis.resources.dll": {
40
- "locale": "fr"
41
- },
42
- "lib/netcoreapp3.1/it/Microsoft.CodeAnalysis.resources.dll": {
43
- "locale": "it"
44
- },
45
- "lib/netcoreapp3.1/ja/Microsoft.CodeAnalysis.resources.dll": {
46
- "locale": "ja"
47
- },
48
- "lib/netcoreapp3.1/ko/Microsoft.CodeAnalysis.resources.dll": {
49
- "locale": "ko"
50
- },
51
- "lib/netcoreapp3.1/pl/Microsoft.CodeAnalysis.resources.dll": {
52
- "locale": "pl"
53
- },
54
- "lib/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.resources.dll": {
55
- "locale": "pt-BR"
56
- },
57
- "lib/netcoreapp3.1/ru/Microsoft.CodeAnalysis.resources.dll": {
58
- "locale": "ru"
59
- },
60
- "lib/netcoreapp3.1/tr/Microsoft.CodeAnalysis.resources.dll": {
61
- "locale": "tr"
62
- },
63
- "lib/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.resources.dll": {
64
- "locale": "zh-Hans"
65
- },
66
- "lib/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.resources.dll": {
67
- "locale": "zh-Hant"
68
- }
69
- }
70
- },
71
- "Microsoft.CodeAnalysis.CSharp/4.1.0": {
72
- "dependencies": {
73
- "Microsoft.CodeAnalysis.Common": "4.1.0"
74
- },
75
- "runtime": {
76
- "lib/netcoreapp3.1/Microsoft.CodeAnalysis.CSharp.dll": {
77
- "assemblyVersion": "4.1.0.0",
78
- "fileVersion": "4.100.22.11411"
79
- }
80
- },
81
- "resources": {
82
- "lib/netcoreapp3.1/cs/Microsoft.CodeAnalysis.CSharp.resources.dll": {
83
- "locale": "cs"
84
- },
85
- "lib/netcoreapp3.1/de/Microsoft.CodeAnalysis.CSharp.resources.dll": {
86
- "locale": "de"
87
- },
88
- "lib/netcoreapp3.1/es/Microsoft.CodeAnalysis.CSharp.resources.dll": {
89
- "locale": "es"
90
- },
91
- "lib/netcoreapp3.1/fr/Microsoft.CodeAnalysis.CSharp.resources.dll": {
92
- "locale": "fr"
93
- },
94
- "lib/netcoreapp3.1/it/Microsoft.CodeAnalysis.CSharp.resources.dll": {
95
- "locale": "it"
96
- },
97
- "lib/netcoreapp3.1/ja/Microsoft.CodeAnalysis.CSharp.resources.dll": {
98
- "locale": "ja"
99
- },
100
- "lib/netcoreapp3.1/ko/Microsoft.CodeAnalysis.CSharp.resources.dll": {
101
- "locale": "ko"
102
- },
103
- "lib/netcoreapp3.1/pl/Microsoft.CodeAnalysis.CSharp.resources.dll": {
104
- "locale": "pl"
105
- },
106
- "lib/netcoreapp3.1/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll": {
107
- "locale": "pt-BR"
108
- },
109
- "lib/netcoreapp3.1/ru/Microsoft.CodeAnalysis.CSharp.resources.dll": {
110
- "locale": "ru"
111
- },
112
- "lib/netcoreapp3.1/tr/Microsoft.CodeAnalysis.CSharp.resources.dll": {
113
- "locale": "tr"
114
- },
115
- "lib/netcoreapp3.1/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll": {
116
- "locale": "zh-Hans"
117
- },
118
- "lib/netcoreapp3.1/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll": {
119
- "locale": "zh-Hant"
120
- }
121
- }
122
- },
123
- "Microsoft.JavaScript.NodeApi/0.9.19": {
124
- "runtime": {
125
- "lib/net9.0/Microsoft.JavaScript.NodeApi.dll": {
126
- "assemblyVersion": "0.9.0.0",
127
- "fileVersion": "0.9.19.35779"
128
- }
129
- }
130
- },
131
- "Microsoft.JavaScript.NodeApi.Generator/0.9.19": {
132
- "dependencies": {
133
- "Microsoft.CodeAnalysis.CSharp": "4.1.0",
134
- "System.Reflection.MetadataLoadContext": "6.0.0"
135
- },
136
- "runtime": {
137
- "lib/net9.0/Microsoft.JavaScript.NodeApi.Generator.dll": {
138
- "assemblyVersion": "0.9.0.0",
139
- "fileVersion": "0.9.19.35779"
140
- }
141
- }
142
- },
143
- "Microsoft.Web.WebView2/1.0.3719.77": {
144
- "runtimeTargets": {
145
- "runtimes/win-arm64/native/WebView2Loader.dll": {
146
- "rid": "win-arm64",
147
- "assetType": "native",
148
- "fileVersion": "1.0.3719.77"
149
- },
150
- "runtimes/win-x64/native/WebView2Loader.dll": {
151
- "rid": "win-x64",
152
- "assetType": "native",
153
- "fileVersion": "1.0.3719.77"
154
- },
155
- "runtimes/win-x86/native/WebView2Loader.dll": {
156
- "rid": "win-x86",
157
- "assetType": "native",
158
- "fileVersion": "1.0.3719.77"
159
- }
160
- }
161
- },
162
- "System.Reflection.MetadataLoadContext/6.0.0": {
163
- "runtime": {
164
- "lib/net6.0/System.Reflection.MetadataLoadContext.dll": {
165
- "assemblyVersion": "6.0.0.0",
166
- "fileVersion": "6.0.21.52210"
167
- }
168
- }
169
- },
170
- "Microsoft.Web.WebView2.Core/1.0.3719.77": {
171
- "runtime": {
172
- "Microsoft.Web.WebView2.Core.dll": {
173
- "assemblyVersion": "1.0.3719.77",
174
- "fileVersion": "1.0.3719.77"
175
- }
176
- }
177
- },
178
- "Microsoft.Web.WebView2.WinForms/1.0.3719.77": {
179
- "runtime": {
180
- "Microsoft.Web.WebView2.WinForms.dll": {
181
- "assemblyVersion": "1.0.3719.77",
182
- "fileVersion": "1.0.3719.77"
183
- }
184
- }
185
- },
186
- "Microsoft.Web.WebView2.Wpf/1.0.3719.77": {
187
- "runtime": {
188
- "Microsoft.Web.WebView2.Wpf.dll": {
189
- "assemblyVersion": "1.0.3719.77",
190
- "fileVersion": "1.0.3719.77"
191
- }
192
- }
193
- }
194
- }
195
- },
196
- "libraries": {
197
- "WebView/1.0.0": {
198
- "type": "project",
199
- "serviceable": false,
200
- "sha512": ""
201
- },
202
- "Microsoft.CodeAnalysis.Common/4.1.0": {
203
- "type": "package",
204
- "serviceable": true,
205
- "sha512": "sha512-bNzTyxP3iD5FPFHfVDl15Y6/wSoI7e3MeV0lOaj9igbIKTjgrmuw6LoVJ06jUNFA7+KaDC/OIsStWl/FQJz6sQ==",
206
- "path": "microsoft.codeanalysis.common/4.1.0",
207
- "hashPath": "microsoft.codeanalysis.common.4.1.0.nupkg.sha512"
208
- },
209
- "Microsoft.CodeAnalysis.CSharp/4.1.0": {
210
- "type": "package",
211
- "serviceable": true,
212
- "sha512": "sha512-sbu6kDGzo9bfQxuqWpeEE7I9P30bSuZEnpDz9/qz20OU6pm79Z63+/BsAzO2e/R/Q97kBrpj647wokZnEVr97w==",
213
- "path": "microsoft.codeanalysis.csharp/4.1.0",
214
- "hashPath": "microsoft.codeanalysis.csharp.4.1.0.nupkg.sha512"
215
- },
216
- "Microsoft.JavaScript.NodeApi/0.9.19": {
217
- "type": "package",
218
- "serviceable": true,
219
- "sha512": "sha512-sqPwVW/vIf04S9HhEfKah9fSyszbGxfJhRomACLDivlhMrZl7gni6MCtZ+FcoZGNTzjhLCrvBaEP2bNHQ1movA==",
220
- "path": "microsoft.javascript.nodeapi/0.9.19",
221
- "hashPath": "microsoft.javascript.nodeapi.0.9.19.nupkg.sha512"
222
- },
223
- "Microsoft.JavaScript.NodeApi.Generator/0.9.19": {
224
- "type": "package",
225
- "serviceable": true,
226
- "sha512": "sha512-S+pnFx/TpO1njVK3cHE+uIx19QSNXZA6ceAaSLSOjOiIq8p0RoyxxVX5ISRJH2ZDQdHpQzMhJ952vcMQDHjh1g==",
227
- "path": "microsoft.javascript.nodeapi.generator/0.9.19",
228
- "hashPath": "microsoft.javascript.nodeapi.generator.0.9.19.nupkg.sha512"
229
- },
230
- "Microsoft.Web.WebView2/1.0.3719.77": {
231
- "type": "package",
232
- "serviceable": true,
233
- "sha512": "sha512-t+ucyKw5NTwMjsUrDF6R9Lk40lpcKQD1/HgyGFxl49tdA4h9dKlsj6FYGEmDRpFNfnTpENuTypMcdbrlkqBdDA==",
234
- "path": "microsoft.web.webview2/1.0.3719.77",
235
- "hashPath": "microsoft.web.webview2.1.0.3719.77.nupkg.sha512"
236
- },
237
- "System.Reflection.MetadataLoadContext/6.0.0": {
238
- "type": "package",
239
- "serviceable": true,
240
- "sha512": "sha512-SuK8qTHbmG3PToLo1TEq8YSfY31FiKhASBmjozUTAleDgiX4H2X4jm0VPFb+K2soSSmYPyHTpHp35TctfNtDzQ==",
241
- "path": "system.reflection.metadataloadcontext/6.0.0",
242
- "hashPath": "system.reflection.metadataloadcontext.6.0.0.nupkg.sha512"
243
- },
244
- "Microsoft.Web.WebView2.Core/1.0.3719.77": {
245
- "type": "reference",
246
- "serviceable": false,
247
- "sha512": ""
248
- },
249
- "Microsoft.Web.WebView2.WinForms/1.0.3719.77": {
250
- "type": "reference",
251
- "serviceable": false,
252
- "sha512": ""
253
- },
254
- "Microsoft.Web.WebView2.Wpf/1.0.3719.77": {
255
- "type": "reference",
256
- "serviceable": false,
257
- "sha512": ""
258
- }
259
- }
260
- }
@@ -1,31 +0,0 @@
1
- // Generated for: WebView 1.0.0.0
2
- // Generated by: Microsoft.JavaScript.NodeApi.Generator 0.9.0.0
3
- /* eslint-disable */
4
-
5
- import dotnet from 'node-api-dotnet/net10.0';
6
- import * as path from 'node:path';
7
- import { fileURLToPath } from 'node:url';
8
- // @ts-ignore - https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/65252
9
- import { dlopen, platform, arch } from 'node:process';
10
-
11
- const __filename = fileURLToPath(import.meta.url);
12
- const __dirname = path.dirname(__filename);
13
- const moduleName = path.basename(__filename, __filename.match(/(\.[cm]?js)?$/)[0]);
14
- const exports = dotnet ? importDotnetModule(moduleName) : importAotModule(moduleName);
15
-
16
- function importDotnetModule(moduleName) {
17
- const moduleFilePath = path.join(__dirname, moduleName + '.dll');
18
- return dotnet.require(moduleFilePath);
19
- }
20
-
21
- function importAotModule(moduleName) {
22
- const ridPlatform = platform === 'win32' ? 'win' : platform === 'darwin' ? 'osx' : platform;
23
- const ridArch = arch === 'ia32' ? 'x86' : arch;
24
- const rid = `${ridPlatform}-${ridArch}`;
25
- const moduleFilePath = path.join(__dirname, rid, moduleName + '.node');
26
- const module = { exports: {} };
27
- dlopen(module, moduleFilePath);
28
- return module.exports;
29
- }
30
-
31
- export const EwvjsInterop = exports.EwvjsInterop;
@@ -1,3 +0,0 @@
1
- // This module wraps the ES import keyword in a CommonJS function,
2
- // to enable directly importing ES modules into .NET.
3
- module.exports = function importModule(modulePath) { return import(modulePath); };