@nazarkalytiuk/rusc-xlsx 2.0.0 → 2.2.0
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/README.md +68 -5
- package/index.d.ts +117 -22
- package/index.js +217 -82
- package/package.json +44 -17
- package/wrapper.d.ts +149 -532
- package/wrapper.js +1227 -1423
package/index.js
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
// prettier-ignore
|
|
2
1
|
/* eslint-disable */
|
|
3
2
|
// @ts-nocheck
|
|
4
3
|
/* auto-generated by NAPI-RS */
|
|
5
4
|
|
|
6
5
|
const { readFileSync } = require('fs')
|
|
7
6
|
let nativeBinding = null
|
|
7
|
+
// Which artifact actually loaded. The WASI fallback chain overwrites it with
|
|
8
|
+
// the flavor it resolved; the late native retry below leaves it alone because
|
|
9
|
+
// it only runs while no WASI candidate has been loaded. The take-over check
|
|
10
|
+
// after the load-failure block can also set it.
|
|
11
|
+
let __napiLoadedBindingTarget = 'native'
|
|
12
|
+
// What this loader's own `requireNative()` calls returned. The check after
|
|
13
|
+
// the load-failure block compares it with `nativeBinding` to tell a binding
|
|
14
|
+
// this loader loaded from one that code outside it put in its place.
|
|
15
|
+
let __napiRequiredNativeBinding = null
|
|
8
16
|
const loadErrors = []
|
|
9
17
|
|
|
10
18
|
const isMusl = () => {
|
|
@@ -63,7 +71,16 @@ const isMuslFromChildProcess = () => {
|
|
|
63
71
|
function requireNative() {
|
|
64
72
|
if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
|
|
65
73
|
try {
|
|
66
|
-
|
|
74
|
+
const overrideBinding = require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH)
|
|
75
|
+
// The override may be a generated WASI loader, which already reports its
|
|
76
|
+
// own flavor. Adopt it: `module.exports` aliases this object, so claiming
|
|
77
|
+
// 'native' would both misreport the artifact and overwrite the loader's
|
|
78
|
+
// marker through the alias.
|
|
79
|
+
__napiLoadedBindingTarget =
|
|
80
|
+
overrideBinding && typeof overrideBinding.__napiBindingTarget === 'string'
|
|
81
|
+
? overrideBinding.__napiBindingTarget
|
|
82
|
+
: 'native'
|
|
83
|
+
return overrideBinding
|
|
67
84
|
} catch (err) {
|
|
68
85
|
loadErrors.push(err)
|
|
69
86
|
}
|
|
@@ -77,8 +94,8 @@ function requireNative() {
|
|
|
77
94
|
try {
|
|
78
95
|
const binding = require('@nazarkalytiuk/rusc-xlsx-android-arm64')
|
|
79
96
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-android-arm64/package.json').version
|
|
80
|
-
if (bindingPackageVersion !== '2.
|
|
81
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
97
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
98
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
82
99
|
}
|
|
83
100
|
return binding
|
|
84
101
|
} catch (e) {
|
|
@@ -93,8 +110,8 @@ function requireNative() {
|
|
|
93
110
|
try {
|
|
94
111
|
const binding = require('@nazarkalytiuk/rusc-xlsx-android-arm-eabi')
|
|
95
112
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-android-arm-eabi/package.json').version
|
|
96
|
-
if (bindingPackageVersion !== '2.
|
|
97
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
113
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
114
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
98
115
|
}
|
|
99
116
|
return binding
|
|
100
117
|
} catch (e) {
|
|
@@ -107,36 +124,36 @@ function requireNative() {
|
|
|
107
124
|
if (process.arch === 'x64') {
|
|
108
125
|
if ((process.config && process.config.variables && process.config.variables.shlib_suffix === 'dll.a') || (process.config && process.config.variables && process.config.variables.node_target_type === 'shared_library')) {
|
|
109
126
|
try {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
127
|
+
return require('./rusc_xlsx.win32-x64-gnu.node')
|
|
128
|
+
} catch (e) {
|
|
129
|
+
loadErrors.push(e)
|
|
130
|
+
}
|
|
131
|
+
try {
|
|
132
|
+
const binding = require('@nazarkalytiuk/rusc-xlsx-win32-x64-gnu')
|
|
133
|
+
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-win32-x64-gnu/package.json').version
|
|
134
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
135
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
136
|
+
}
|
|
137
|
+
return binding
|
|
138
|
+
} catch (e) {
|
|
139
|
+
loadErrors.push(e)
|
|
119
140
|
}
|
|
120
|
-
return binding
|
|
121
|
-
} catch (e) {
|
|
122
|
-
loadErrors.push(e)
|
|
123
|
-
}
|
|
124
141
|
} else {
|
|
125
142
|
try {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
143
|
+
return require('./rusc_xlsx.win32-x64-msvc.node')
|
|
144
|
+
} catch (e) {
|
|
145
|
+
loadErrors.push(e)
|
|
146
|
+
}
|
|
147
|
+
try {
|
|
148
|
+
const binding = require('@nazarkalytiuk/rusc-xlsx-win32-x64-msvc')
|
|
149
|
+
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-win32-x64-msvc/package.json').version
|
|
150
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
151
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
152
|
+
}
|
|
153
|
+
return binding
|
|
154
|
+
} catch (e) {
|
|
155
|
+
loadErrors.push(e)
|
|
135
156
|
}
|
|
136
|
-
return binding
|
|
137
|
-
} catch (e) {
|
|
138
|
-
loadErrors.push(e)
|
|
139
|
-
}
|
|
140
157
|
}
|
|
141
158
|
} else if (process.arch === 'ia32') {
|
|
142
159
|
try {
|
|
@@ -147,8 +164,8 @@ function requireNative() {
|
|
|
147
164
|
try {
|
|
148
165
|
const binding = require('@nazarkalytiuk/rusc-xlsx-win32-ia32-msvc')
|
|
149
166
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-win32-ia32-msvc/package.json').version
|
|
150
|
-
if (bindingPackageVersion !== '2.
|
|
151
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
167
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
168
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
152
169
|
}
|
|
153
170
|
return binding
|
|
154
171
|
} catch (e) {
|
|
@@ -163,8 +180,8 @@ function requireNative() {
|
|
|
163
180
|
try {
|
|
164
181
|
const binding = require('@nazarkalytiuk/rusc-xlsx-win32-arm64-msvc')
|
|
165
182
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-win32-arm64-msvc/package.json').version
|
|
166
|
-
if (bindingPackageVersion !== '2.
|
|
167
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
183
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
184
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
168
185
|
}
|
|
169
186
|
return binding
|
|
170
187
|
} catch (e) {
|
|
@@ -182,8 +199,8 @@ function requireNative() {
|
|
|
182
199
|
try {
|
|
183
200
|
const binding = require('@nazarkalytiuk/rusc-xlsx-darwin-universal')
|
|
184
201
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-darwin-universal/package.json').version
|
|
185
|
-
if (bindingPackageVersion !== '2.
|
|
186
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
202
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
203
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
187
204
|
}
|
|
188
205
|
return binding
|
|
189
206
|
} catch (e) {
|
|
@@ -198,8 +215,8 @@ function requireNative() {
|
|
|
198
215
|
try {
|
|
199
216
|
const binding = require('@nazarkalytiuk/rusc-xlsx-darwin-x64')
|
|
200
217
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-darwin-x64/package.json').version
|
|
201
|
-
if (bindingPackageVersion !== '2.
|
|
202
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
218
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
219
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
203
220
|
}
|
|
204
221
|
return binding
|
|
205
222
|
} catch (e) {
|
|
@@ -214,8 +231,8 @@ function requireNative() {
|
|
|
214
231
|
try {
|
|
215
232
|
const binding = require('@nazarkalytiuk/rusc-xlsx-darwin-arm64')
|
|
216
233
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-darwin-arm64/package.json').version
|
|
217
|
-
if (bindingPackageVersion !== '2.
|
|
218
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
234
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
235
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
236
|
}
|
|
220
237
|
return binding
|
|
221
238
|
} catch (e) {
|
|
@@ -234,8 +251,8 @@ function requireNative() {
|
|
|
234
251
|
try {
|
|
235
252
|
const binding = require('@nazarkalytiuk/rusc-xlsx-freebsd-x64')
|
|
236
253
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-freebsd-x64/package.json').version
|
|
237
|
-
if (bindingPackageVersion !== '2.
|
|
238
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
254
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
255
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
239
256
|
}
|
|
240
257
|
return binding
|
|
241
258
|
} catch (e) {
|
|
@@ -250,8 +267,24 @@ function requireNative() {
|
|
|
250
267
|
try {
|
|
251
268
|
const binding = require('@nazarkalytiuk/rusc-xlsx-freebsd-arm64')
|
|
252
269
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-freebsd-arm64/package.json').version
|
|
253
|
-
if (bindingPackageVersion !== '2.
|
|
254
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
270
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
271
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
272
|
+
}
|
|
273
|
+
return binding
|
|
274
|
+
} catch (e) {
|
|
275
|
+
loadErrors.push(e)
|
|
276
|
+
}
|
|
277
|
+
} else if (process.arch === 'ppc64') {
|
|
278
|
+
try {
|
|
279
|
+
return require('./rusc_xlsx.freebsd-ppc64.node')
|
|
280
|
+
} catch (e) {
|
|
281
|
+
loadErrors.push(e)
|
|
282
|
+
}
|
|
283
|
+
try {
|
|
284
|
+
const binding = require('@nazarkalytiuk/rusc-xlsx-freebsd-ppc64')
|
|
285
|
+
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-freebsd-ppc64/package.json').version
|
|
286
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
287
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
255
288
|
}
|
|
256
289
|
return binding
|
|
257
290
|
} catch (e) {
|
|
@@ -271,8 +304,8 @@ function requireNative() {
|
|
|
271
304
|
try {
|
|
272
305
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-x64-musl')
|
|
273
306
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-x64-musl/package.json').version
|
|
274
|
-
if (bindingPackageVersion !== '2.
|
|
275
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
307
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
308
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
276
309
|
}
|
|
277
310
|
return binding
|
|
278
311
|
} catch (e) {
|
|
@@ -287,8 +320,8 @@ function requireNative() {
|
|
|
287
320
|
try {
|
|
288
321
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-x64-gnu')
|
|
289
322
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-x64-gnu/package.json').version
|
|
290
|
-
if (bindingPackageVersion !== '2.
|
|
291
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
323
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
324
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
292
325
|
}
|
|
293
326
|
return binding
|
|
294
327
|
} catch (e) {
|
|
@@ -305,8 +338,8 @@ function requireNative() {
|
|
|
305
338
|
try {
|
|
306
339
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-arm64-musl')
|
|
307
340
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-arm64-musl/package.json').version
|
|
308
|
-
if (bindingPackageVersion !== '2.
|
|
309
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
341
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
342
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
310
343
|
}
|
|
311
344
|
return binding
|
|
312
345
|
} catch (e) {
|
|
@@ -321,8 +354,8 @@ function requireNative() {
|
|
|
321
354
|
try {
|
|
322
355
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-arm64-gnu')
|
|
323
356
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-arm64-gnu/package.json').version
|
|
324
|
-
if (bindingPackageVersion !== '2.
|
|
325
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
357
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
358
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
326
359
|
}
|
|
327
360
|
return binding
|
|
328
361
|
} catch (e) {
|
|
@@ -339,8 +372,8 @@ function requireNative() {
|
|
|
339
372
|
try {
|
|
340
373
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-arm-musleabihf')
|
|
341
374
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-arm-musleabihf/package.json').version
|
|
342
|
-
if (bindingPackageVersion !== '2.
|
|
343
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
375
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
376
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
344
377
|
}
|
|
345
378
|
return binding
|
|
346
379
|
} catch (e) {
|
|
@@ -355,8 +388,8 @@ function requireNative() {
|
|
|
355
388
|
try {
|
|
356
389
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-arm-gnueabihf')
|
|
357
390
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-arm-gnueabihf/package.json').version
|
|
358
|
-
if (bindingPackageVersion !== '2.
|
|
359
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
391
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
392
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
360
393
|
}
|
|
361
394
|
return binding
|
|
362
395
|
} catch (e) {
|
|
@@ -373,8 +406,8 @@ function requireNative() {
|
|
|
373
406
|
try {
|
|
374
407
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-loong64-musl')
|
|
375
408
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-loong64-musl/package.json').version
|
|
376
|
-
if (bindingPackageVersion !== '2.
|
|
377
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
409
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
410
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
378
411
|
}
|
|
379
412
|
return binding
|
|
380
413
|
} catch (e) {
|
|
@@ -389,8 +422,8 @@ function requireNative() {
|
|
|
389
422
|
try {
|
|
390
423
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-loong64-gnu')
|
|
391
424
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-loong64-gnu/package.json').version
|
|
392
|
-
if (bindingPackageVersion !== '2.
|
|
393
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
425
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
426
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
394
427
|
}
|
|
395
428
|
return binding
|
|
396
429
|
} catch (e) {
|
|
@@ -407,8 +440,8 @@ function requireNative() {
|
|
|
407
440
|
try {
|
|
408
441
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-riscv64-musl')
|
|
409
442
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-riscv64-musl/package.json').version
|
|
410
|
-
if (bindingPackageVersion !== '2.
|
|
411
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
443
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
444
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
412
445
|
}
|
|
413
446
|
return binding
|
|
414
447
|
} catch (e) {
|
|
@@ -423,8 +456,8 @@ function requireNative() {
|
|
|
423
456
|
try {
|
|
424
457
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-riscv64-gnu')
|
|
425
458
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-riscv64-gnu/package.json').version
|
|
426
|
-
if (bindingPackageVersion !== '2.
|
|
427
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
459
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
460
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
428
461
|
}
|
|
429
462
|
return binding
|
|
430
463
|
} catch (e) {
|
|
@@ -440,8 +473,8 @@ function requireNative() {
|
|
|
440
473
|
try {
|
|
441
474
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-ppc64-gnu')
|
|
442
475
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-ppc64-gnu/package.json').version
|
|
443
|
-
if (bindingPackageVersion !== '2.
|
|
444
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
476
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
477
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
445
478
|
}
|
|
446
479
|
return binding
|
|
447
480
|
} catch (e) {
|
|
@@ -456,8 +489,8 @@ function requireNative() {
|
|
|
456
489
|
try {
|
|
457
490
|
const binding = require('@nazarkalytiuk/rusc-xlsx-linux-s390x-gnu')
|
|
458
491
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-linux-s390x-gnu/package.json').version
|
|
459
|
-
if (bindingPackageVersion !== '2.
|
|
460
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
492
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
493
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
461
494
|
}
|
|
462
495
|
return binding
|
|
463
496
|
} catch (e) {
|
|
@@ -476,8 +509,8 @@ function requireNative() {
|
|
|
476
509
|
try {
|
|
477
510
|
const binding = require('@nazarkalytiuk/rusc-xlsx-openharmony-arm64')
|
|
478
511
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-openharmony-arm64/package.json').version
|
|
479
|
-
if (bindingPackageVersion !== '2.
|
|
480
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
512
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
513
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
481
514
|
}
|
|
482
515
|
return binding
|
|
483
516
|
} catch (e) {
|
|
@@ -492,8 +525,8 @@ function requireNative() {
|
|
|
492
525
|
try {
|
|
493
526
|
const binding = require('@nazarkalytiuk/rusc-xlsx-openharmony-x64')
|
|
494
527
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-openharmony-x64/package.json').version
|
|
495
|
-
if (bindingPackageVersion !== '2.
|
|
496
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
528
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
529
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
497
530
|
}
|
|
498
531
|
return binding
|
|
499
532
|
} catch (e) {
|
|
@@ -508,8 +541,8 @@ function requireNative() {
|
|
|
508
541
|
try {
|
|
509
542
|
const binding = require('@nazarkalytiuk/rusc-xlsx-openharmony-arm')
|
|
510
543
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-openharmony-arm/package.json').version
|
|
511
|
-
if (bindingPackageVersion !== '2.
|
|
512
|
-
throw new Error(`Native binding package version mismatch, expected 2.
|
|
544
|
+
if (bindingPackageVersion !== '2.2.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
545
|
+
throw new Error(`Native binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
513
546
|
}
|
|
514
547
|
return binding
|
|
515
548
|
} catch (e) {
|
|
@@ -550,7 +583,7 @@ function createLoadErrorChain(errors) {
|
|
|
550
583
|
//
|
|
551
584
|
// NAPI_RS_WASI_FLAVOR selects one exact generated flavor and implies strict
|
|
552
585
|
// WASI loading. It never crosses into another flavor or falls back to native.
|
|
553
|
-
const __napiWasiFlavors = [
|
|
586
|
+
const __napiWasiFlavors = ['wasm32-wasi']
|
|
554
587
|
const __napiWasiFlavor = process.env.NAPI_RS_WASI_FLAVOR
|
|
555
588
|
const __napiWasiFlavorRequested =
|
|
556
589
|
typeof __napiWasiFlavor === 'string' && __napiWasiFlavor.length > 0
|
|
@@ -573,6 +606,7 @@ const forceWasi =
|
|
|
573
606
|
|
|
574
607
|
if (!forceWasi) {
|
|
575
608
|
nativeBinding = requireNative()
|
|
609
|
+
__napiRequiredNativeBinding = nativeBinding
|
|
576
610
|
}
|
|
577
611
|
|
|
578
612
|
if (!nativeBinding || forceWasi) {
|
|
@@ -619,15 +653,16 @@ if (!nativeBinding || forceWasi) {
|
|
|
619
653
|
}
|
|
620
654
|
return null
|
|
621
655
|
}
|
|
622
|
-
if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor ===
|
|
656
|
+
if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === 'wasm32-wasi')) {
|
|
623
657
|
let candidateError = null
|
|
624
658
|
let candidateFailed = false
|
|
625
659
|
try {
|
|
626
|
-
candidateError = __napiWasiResolveCandidate('./rusc_xlsx.wasi.cjs', false, [
|
|
660
|
+
candidateError = __napiWasiResolveCandidate('./rusc_xlsx.wasi.cjs', false, ['./rusc_xlsx.wasm32-wasi.debug.wasm', './rusc_xlsx.wasm32-wasi.wasm'])
|
|
627
661
|
candidateFailed = candidateError !== null
|
|
628
662
|
if (!candidateFailed) {
|
|
629
663
|
wasiBinding = require('./rusc_xlsx.wasi.cjs')
|
|
630
664
|
nativeBinding = wasiBinding
|
|
665
|
+
__napiLoadedBindingTarget = 'wasm32-wasi'
|
|
631
666
|
wasiBindingLoaded = true
|
|
632
667
|
}
|
|
633
668
|
} catch (err) {
|
|
@@ -639,7 +674,7 @@ if (!nativeBinding || forceWasi) {
|
|
|
639
674
|
loadErrors.push(candidateError)
|
|
640
675
|
}
|
|
641
676
|
}
|
|
642
|
-
if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor ===
|
|
677
|
+
if (!wasiBindingLoaded && (!__napiWasiFlavorRequested || __napiWasiFlavor === 'wasm32-wasi')) {
|
|
643
678
|
let candidateError = null
|
|
644
679
|
let candidateFailed = false
|
|
645
680
|
try {
|
|
@@ -648,12 +683,13 @@ if (!nativeBinding || forceWasi) {
|
|
|
648
683
|
if (!candidateFailed) {
|
|
649
684
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
650
685
|
const bindingPackageVersion = require('@nazarkalytiuk/rusc-xlsx-wasm32-wasi/package.json').version
|
|
651
|
-
if (bindingPackageVersion !== '2.
|
|
652
|
-
throw new Error(`WASI binding package version mismatch, expected 2.
|
|
686
|
+
if (bindingPackageVersion !== '2.2.0') {
|
|
687
|
+
throw new Error(`WASI binding package version mismatch, expected 2.2.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
653
688
|
}
|
|
654
689
|
}
|
|
655
690
|
wasiBinding = require('@nazarkalytiuk/rusc-xlsx-wasm32-wasi')
|
|
656
691
|
nativeBinding = wasiBinding
|
|
692
|
+
__napiLoadedBindingTarget = 'wasm32-wasi'
|
|
657
693
|
wasiBindingLoaded = true
|
|
658
694
|
}
|
|
659
695
|
} catch (err) {
|
|
@@ -672,6 +708,7 @@ if (!nativeBinding || forceWasi) {
|
|
|
672
708
|
!__napiWasiFlavorRequested
|
|
673
709
|
) {
|
|
674
710
|
nativeBinding = requireNative()
|
|
711
|
+
__napiRequiredNativeBinding = nativeBinding
|
|
675
712
|
}
|
|
676
713
|
if ((forceWasiError || __napiWasiFlavorRequested) && !wasiBindingLoaded) {
|
|
677
714
|
const error = new Error(
|
|
@@ -699,6 +736,104 @@ if (!nativeBinding) {
|
|
|
699
736
|
throw new Error(`Failed to load native binding`)
|
|
700
737
|
}
|
|
701
738
|
|
|
739
|
+
// A package can patch its own fallback in front of the load-failure check
|
|
740
|
+
// above, e.g. a WebContainer download through `napi-postinstall/fallback`.
|
|
741
|
+
// That fallback swaps `nativeBinding` for a generated WASI loader, which has
|
|
742
|
+
// already stamped its own flavor, while the target above still says 'native'.
|
|
743
|
+
// Take that flavor over, or the CommonJS stamp throws a conflict and the ESM
|
|
744
|
+
// export reports the wrong artifact. Three limits keep the conflict check:
|
|
745
|
+
// - only a binding this loader did not load itself, so a native addon whose
|
|
746
|
+
// `#[napi(module_exports)]` hook claims the name is still rejected;
|
|
747
|
+
// - only an own data property, read through its descriptor, so no addon
|
|
748
|
+
// getter runs here, and it must read back the same, as the stamp reads it;
|
|
749
|
+
// - only a flavor in `__napiWasiFlavors`, the ones this loader's own WASI
|
|
750
|
+
// chain can report ('wasm32-wasi' for a package without a WASI target).
|
|
751
|
+
// This is metadata and never fails a load: a throwing Proxy trap keeps 'native'.
|
|
752
|
+
if (
|
|
753
|
+
__napiLoadedBindingTarget === 'native' &&
|
|
754
|
+
nativeBinding !== __napiRequiredNativeBinding
|
|
755
|
+
) {
|
|
756
|
+
try {
|
|
757
|
+
const __napiBindingTargetDescriptor = Object.getOwnPropertyDescriptor(
|
|
758
|
+
nativeBinding,
|
|
759
|
+
'__napiBindingTarget',
|
|
760
|
+
)
|
|
761
|
+
if (
|
|
762
|
+
__napiBindingTargetDescriptor &&
|
|
763
|
+
__napiWasiFlavors.indexOf(__napiBindingTargetDescriptor.value) !== -1 &&
|
|
764
|
+
nativeBinding.__napiBindingTarget === __napiBindingTargetDescriptor.value
|
|
765
|
+
) {
|
|
766
|
+
__napiLoadedBindingTarget = __napiBindingTargetDescriptor.value
|
|
767
|
+
}
|
|
768
|
+
} catch {
|
|
769
|
+
// keep 'native'
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
function __napiStampBindingTarget(exportsObject, target) {
|
|
774
|
+
if (
|
|
775
|
+
Object.prototype.hasOwnProperty.call(exportsObject, '__napiBindingTarget')
|
|
776
|
+
) {
|
|
777
|
+
if (exportsObject.__napiBindingTarget === target) {
|
|
778
|
+
// Already ours: the root entry aliases the object it loaded, so a WASI
|
|
779
|
+
// fallback candidate — or a `NAPI_RS_NATIVE_LIBRARY_PATH` override that
|
|
780
|
+
// is a generated loader — arrives already stamped with this same value.
|
|
781
|
+
return target
|
|
782
|
+
}
|
|
783
|
+
const error = new Error(
|
|
784
|
+
'`__napiBindingTarget` is reserved by the generated binding loader, but the loaded binding already exports it. Rename the export, e.g. #[napi(js_name = "...")].',
|
|
785
|
+
)
|
|
786
|
+
error.code = 'ERR_NAPI_BINDING_TARGET_CONFLICT'
|
|
787
|
+
throw error
|
|
788
|
+
}
|
|
789
|
+
if (!Object.isExtensible(exportsObject)) {
|
|
790
|
+
// A `#[napi(module_exports)]` hook may seal or freeze this object
|
|
791
|
+
// (`Object::seal` / `Object::freeze`). Reporting the artifact is metadata,
|
|
792
|
+
// never a reason to fail an otherwise successful load, so the stamp is
|
|
793
|
+
// skipped. What a consumer still sees then follows the entry point: the
|
|
794
|
+
// browser and deferred loaders declare `__napiBindingTarget` at module
|
|
795
|
+
// level and go on reporting it, while the CommonJS entries hand back this
|
|
796
|
+
// very object as `module.exports`, so there the value is absent.
|
|
797
|
+
return target
|
|
798
|
+
}
|
|
799
|
+
try {
|
|
800
|
+
// [[Define]], not [[Set]]: an ordinary assignment walks the prototype
|
|
801
|
+
// chain, so an inherited accessor could swallow the value or throw and
|
|
802
|
+
// fail an otherwise successful load. The descriptor is what a successful
|
|
803
|
+
// assignment would have produced.
|
|
804
|
+
Object.defineProperty(exportsObject, '__napiBindingTarget', {
|
|
805
|
+
configurable: true,
|
|
806
|
+
enumerable: true,
|
|
807
|
+
value: target,
|
|
808
|
+
writable: true,
|
|
809
|
+
})
|
|
810
|
+
} catch {
|
|
811
|
+
// Same rule as the non-extensible skip above: reporting the artifact is
|
|
812
|
+
// metadata, never a reason to fail an otherwise successful load. An exotic
|
|
813
|
+
// object (a Proxy whose defineProperty trap refuses) is skipped, not
|
|
814
|
+
// thrown over.
|
|
815
|
+
}
|
|
816
|
+
// The CommonJS loaders assign this return value so `cjs-module-lexer` — and
|
|
817
|
+
// therefore Node's CJS -> ESM named export detection — can see
|
|
818
|
+
// `__napiBindingTarget` statically.
|
|
819
|
+
return target
|
|
820
|
+
}
|
|
821
|
+
// Stamp before the alias, not after. The guard only reads `nativeBinding`
|
|
822
|
+
// (`hasOwnProperty` plus a comparison), which is safe against any addon
|
|
823
|
+
// accessor; an assignment is not, because a `#[napi(module_exports)]` hook can
|
|
824
|
+
// expose a getter reporting this very value and a setter that throws. So the
|
|
825
|
+
// assignment lands on the loader's own `module.exports`, still the original
|
|
826
|
+
// object here, and the alias below replaces it.
|
|
827
|
+
//
|
|
828
|
+
// The assignment is what keeps the marker a statically visible CommonJS export:
|
|
829
|
+
// `cjs-module-lexer` is Node's CJS -> ESM named export detection, it cannot see
|
|
830
|
+
// a bare call, and the later `module.exports = nativeBinding` does not undo the
|
|
831
|
+
// detection. The assignment itself always succeeds — its target is this
|
|
832
|
+
// loader's own, still extensible `module.exports` — and the alias below then
|
|
833
|
+
// discards the value it wrote. What a consumer reads is whatever the guard put
|
|
834
|
+
// on `nativeBinding`, so on a frozen binding, where the guard skips, the
|
|
835
|
+
// linked import resolves to `undefined`.
|
|
836
|
+
module.exports.__napiBindingTarget = __napiStampBindingTarget(nativeBinding, __napiLoadedBindingTarget)
|
|
702
837
|
module.exports = nativeBinding
|
|
703
838
|
module.exports.RuscButton = nativeBinding.RuscButton
|
|
704
839
|
module.exports.RuscChart = nativeBinding.RuscChart
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nazarkalytiuk/rusc-xlsx",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Fast Excel XLSX library for Node.js powered by rust_xlsxwriter",
|
|
5
|
+
"type": "commonjs",
|
|
5
6
|
"main": "wrapper.js",
|
|
6
7
|
"types": "wrapper.d.ts",
|
|
7
8
|
"repository": {
|
|
@@ -32,14 +33,29 @@
|
|
|
32
33
|
"artifacts": "napi artifacts",
|
|
33
34
|
"build": "napi build --platform --release",
|
|
34
35
|
"build:debug": "napi build --platform",
|
|
36
|
+
"build:wrapper": "tsdown",
|
|
37
|
+
"prepare": "tsdown",
|
|
35
38
|
"benchmark": "node benchmarks/compare-generation.js",
|
|
36
39
|
"benchmark:languages": "node benchmarks/compare-languages.js",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
40
|
+
"benchmark:runtimes": "node benchmarks/compare-runtimes.js",
|
|
41
|
+
"benchmark:runtimes:exceljs": "node benchmarks/compare-runtimes.js --library exceljs",
|
|
42
|
+
"prepublishOnly": "napi prepublish -t npm --no-gh-release",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"test:watch": "vitest",
|
|
45
|
+
"test:coverage": "vitest run --coverage",
|
|
46
|
+
"test:coverage:rust": "bash scripts/rust-coverage.sh",
|
|
47
|
+
"lint": "oxlint --deny-warnings",
|
|
48
|
+
"lint:rust": "cargo clippy --locked --all-targets -- -D warnings",
|
|
49
|
+
"fmt": "oxfmt && cargo fmt --all",
|
|
50
|
+
"fmt:check": "oxfmt --check && cargo fmt --all -- --check",
|
|
51
|
+
"lint:package": "publint --strict && attw --pack .",
|
|
39
52
|
"typecheck": "tsc --project tsconfig.json",
|
|
53
|
+
"check": "npm run fmt:check && npm run lint && npm run lint:rust && npm run lint:package && npm run typecheck && npm run coverage:check",
|
|
40
54
|
"universal": "napi universalize",
|
|
41
55
|
"version": "napi version",
|
|
42
|
-
"clean": "cargo clean && rm -rf *.node"
|
|
56
|
+
"clean": "cargo clean && rm -rf *.node",
|
|
57
|
+
"coverage:sync": "node scripts/coverage-checklist/cli.mts",
|
|
58
|
+
"coverage:check": "node scripts/coverage-checklist/cli.mts --check"
|
|
43
59
|
},
|
|
44
60
|
"keywords": [
|
|
45
61
|
"xlsx",
|
|
@@ -61,22 +77,33 @@
|
|
|
61
77
|
"LICENSE"
|
|
62
78
|
],
|
|
63
79
|
"devDependencies": {
|
|
64
|
-
"@
|
|
65
|
-
"@
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
80
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
81
|
+
"@napi-rs/cli": "^3.10.12",
|
|
82
|
+
"@types/node": "^26.6.6",
|
|
83
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
84
|
+
"adm-zip": "^0.6.1",
|
|
85
|
+
"exceljs": "^4.4.0",
|
|
86
|
+
"oxc-parser": "^0.158.0",
|
|
87
|
+
"oxfmt": "^0.78.0",
|
|
88
|
+
"oxlint": "^1.93.0",
|
|
89
|
+
"publint": "^0.3.25",
|
|
90
|
+
"tsdown": "^0.23.7",
|
|
91
|
+
"typescript": "^7.0.2",
|
|
92
|
+
"vitest": "^5.1.0"
|
|
69
93
|
},
|
|
70
94
|
"engines": {
|
|
71
95
|
"node": ">=22.13.0"
|
|
72
96
|
},
|
|
97
|
+
"publishConfig": {
|
|
98
|
+
"access": "public"
|
|
99
|
+
},
|
|
73
100
|
"optionalDependencies": {
|
|
74
|
-
"@nazarkalytiuk/rusc-xlsx-win32-x64-msvc": "2.
|
|
75
|
-
"@nazarkalytiuk/rusc-xlsx-win32-ia32-msvc": "2.
|
|
76
|
-
"@nazarkalytiuk/rusc-xlsx-win32-arm64-msvc": "2.
|
|
77
|
-
"@nazarkalytiuk/rusc-xlsx-darwin-universal": "2.
|
|
78
|
-
"@nazarkalytiuk/rusc-xlsx-linux-x64-gnu": "2.
|
|
79
|
-
"@nazarkalytiuk/rusc-xlsx-linux-arm64-gnu": "2.
|
|
80
|
-
"@nazarkalytiuk/rusc-xlsx-linux-x64-musl": "2.
|
|
101
|
+
"@nazarkalytiuk/rusc-xlsx-win32-x64-msvc": "2.2.0",
|
|
102
|
+
"@nazarkalytiuk/rusc-xlsx-win32-ia32-msvc": "2.2.0",
|
|
103
|
+
"@nazarkalytiuk/rusc-xlsx-win32-arm64-msvc": "2.2.0",
|
|
104
|
+
"@nazarkalytiuk/rusc-xlsx-darwin-universal": "2.2.0",
|
|
105
|
+
"@nazarkalytiuk/rusc-xlsx-linux-x64-gnu": "2.2.0",
|
|
106
|
+
"@nazarkalytiuk/rusc-xlsx-linux-arm64-gnu": "2.2.0",
|
|
107
|
+
"@nazarkalytiuk/rusc-xlsx-linux-x64-musl": "2.2.0"
|
|
81
108
|
}
|
|
82
|
-
}
|
|
109
|
+
}
|