node-api-dotnet 0.9.18 → 0.9.24-g9c8dd0444e

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.
package/index.d.ts CHANGED
@@ -27,7 +27,7 @@
27
27
  * const dotnet = require('node-api-dotnet/net8.0');
28
28
  * ```
29
29
  * :::
30
- * Currently the supported target frameworks are `net472`, `net8.0`, and `net9.0`.
30
+ * Currently the supported target frameworks are `net472`, `net8.0`, `net9.0`, and `net10.0`.
31
31
  * @module node-api-dotnet
32
32
  */
33
33
  declare module 'node-api-dotnet' {
@@ -0,0 +1,14 @@
1
+ {
2
+ "runtimeOptions": {
3
+ "tfm": "net10.0",
4
+ "framework": {
5
+ "name": "Microsoft.NETCore.App",
6
+ "version": "10.0.0"
7
+ },
8
+ "configProperties": {
9
+ "System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
10
+ "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
11
+ "System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": true
12
+ }
13
+ }
14
+ }
package/net10.0.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import './index';
2
+ export * from 'node-api-dotnet';
package/net10.0.js ADDED
@@ -0,0 +1,2 @@
1
+ const initialize = require('./init');
2
+ module.exports = initialize('net10.0');
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "node-api-dotnet",
3
- "version": "0.9.18",
3
+ "version": "0.9.24-g9c8dd0444e",
4
4
  "description": "Node-API bindings for .Net",
5
5
  "license": "MIT",
6
6
  "author": "Microsoft",
7
7
  "type": "commonjs",
8
8
  "exports": {
9
9
  ".": "./index.js",
10
+ "./net10.0": "./net10.0.js",
10
11
  "./net9.0": "./net9.0.js",
11
12
  "./net8.0": "./net8.0.js",
12
13
  "./net472": "./net472.js"