@napi-rs/cli 3.0.0-alpha.46 → 3.0.0-alpha.47

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.
@@ -21,8 +21,10 @@ const __wasi = new __WASI({
21
21
  const __emnapiContext = __emnapiGetDefaultContext()
22
22
 
23
23
  const __sharedMemory = new WebAssembly.Memory({
24
- initial: 1024,
25
- maximum: 10240,
24
+ // 1Gb
25
+ initial: 16384,
26
+ // 4Gb
27
+ maximum: 65536,
26
28
  shared: true,
27
29
  })
28
30
 
@@ -87,8 +89,10 @@ const __wasi = new __nodeWASI({
87
89
  const __emnapiContext = __emnapiGetDefaultContext()
88
90
 
89
91
  const __sharedMemory = new WebAssembly.Memory({
90
- initial: 1024,
91
- maximum: 10240,
92
+ // 1Gb
93
+ initial: 16384,
94
+ // 4Gb
95
+ maximum: 65536,
92
96
  shared: true,
93
97
  })
94
98
 
@@ -1 +1 @@
1
- {"version":3,"file":"load-wasi-template.js","sourceRoot":"","sources":["../../../src/api/templates/load-wasi-template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,YAAoB,EACpB,qBAA+B,EAC/B,EAAE,CAAC;;;;;;;2BAOsB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDrC,qBAAqB;KACpB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,6BAA6B,IAAI,QAAQ,CAAC;KACxD,IAAI,CAAC,IAAI,CAAC;;CAEZ,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,YAAoB,EACpB,WAAmB,EACnB,qBAA+B,EAC/B,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDA+B8C,YAAY;;;;2CAIpB,WAAW;;mCAEnB,YAAY,mBAAmB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC3E,qBAAqB;KACpB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,6BAA6B,IAAI,QAAQ,CAAC;KACxD,IAAI,CAAC,IAAI,CAAC;;CAEZ,CAAA"}
1
+ {"version":3,"file":"load-wasi-template.js","sourceRoot":"","sources":["../../../src/api/templates/load-wasi-template.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,YAAoB,EACpB,qBAA+B,EAC/B,EAAE,CAAC;;;;;;;2BAOsB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDrC,qBAAqB;KACpB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,6BAA6B,IAAI,QAAQ,CAAC;KACxD,IAAI,CAAC,IAAI,CAAC;;CAEZ,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,YAAoB,EACpB,WAAmB,EACnB,qBAA+B,EAC/B,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAiC8C,YAAY;;;;2CAIpB,WAAW;;mCAEnB,YAAY,mBAAmB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC3E,qBAAqB;KACpB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,6BAA6B,IAAI,QAAQ,CAAC;KACxD,IAAI,CAAC,IAAI,CAAC;;CAEZ,CAAA"}
package/dist/index.cjs CHANGED
@@ -17130,8 +17130,10 @@ const __wasi = new __WASI({
17130
17130
  const __emnapiContext = __emnapiGetDefaultContext()
17131
17131
 
17132
17132
  const __sharedMemory = new WebAssembly.Memory({
17133
- initial: 1024,
17134
- maximum: 10240,
17133
+ // 1Gb
17134
+ initial: 16384,
17135
+ // 4Gb
17136
+ maximum: 65536,
17135
17137
  shared: true,
17136
17138
  })
17137
17139
 
@@ -17194,8 +17196,10 @@ const __wasi = new __nodeWASI({
17194
17196
  const __emnapiContext = __emnapiGetDefaultContext()
17195
17197
 
17196
17198
  const __sharedMemory = new WebAssembly.Memory({
17197
- initial: 1024,
17198
- maximum: 10240,
17199
+ // 1Gb
17200
+ initial: 16384,
17201
+ // 4Gb
17202
+ maximum: 65536,
17199
17203
  shared: true,
17200
17204
  })
17201
17205
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@napi-rs/cli",
3
- "version": "3.0.0-alpha.46",
3
+ "version": "3.0.0-alpha.47",
4
4
  "description": "Cli tools for napi-rs",
5
5
  "author": "LongYinan <lynweklm@gmail.com>",
6
6
  "homepage": "https://github.com/napi-rs/napi-rs",
@@ -128,5 +128,5 @@
128
128
  "**/__tests__/**/*.spec.ts"
129
129
  ]
130
130
  },
131
- "gitHead": "f1b8ab5e645e674df33c796ef75aa278cd1b4a31"
131
+ "gitHead": "af625fc7df762a2de73223913d1daa4a6849fade"
132
132
  }
@@ -24,8 +24,10 @@ const __wasi = new __WASI({
24
24
  const __emnapiContext = __emnapiGetDefaultContext()
25
25
 
26
26
  const __sharedMemory = new WebAssembly.Memory({
27
- initial: 1024,
28
- maximum: 10240,
27
+ // 1Gb
28
+ initial: 16384,
29
+ // 4Gb
30
+ maximum: 65536,
29
31
  shared: true,
30
32
  })
31
33
 
@@ -95,8 +97,10 @@ const __wasi = new __nodeWASI({
95
97
  const __emnapiContext = __emnapiGetDefaultContext()
96
98
 
97
99
  const __sharedMemory = new WebAssembly.Memory({
98
- initial: 1024,
99
- maximum: 10240,
100
+ // 1Gb
101
+ initial: 16384,
102
+ // 4Gb
103
+ maximum: 65536,
100
104
  shared: true,
101
105
  })
102
106