@printers/printers-linux-arm64-gnu 0.5.6 → 0.5.8
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.js +46 -47
- package/package.json +5 -4
- package/printers.linux-arm64-gnu.node +0 -0
package/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// prettier-ignore
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
// @ts-nocheck
|
|
4
3
|
/* auto-generated by NAPI-RS */
|
|
5
4
|
|
|
6
5
|
import { createRequire } from 'node:module'
|
|
@@ -75,8 +74,8 @@ function requireNative() {
|
|
|
75
74
|
try {
|
|
76
75
|
const binding = require('@printers/printers-android-arm64')
|
|
77
76
|
const bindingPackageVersion = require('@printers/printers-android-arm64/package.json').version
|
|
78
|
-
if (bindingPackageVersion !== '0.5.
|
|
79
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
77
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
78
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
80
79
|
}
|
|
81
80
|
return binding
|
|
82
81
|
} catch (e) {
|
|
@@ -91,8 +90,8 @@ function requireNative() {
|
|
|
91
90
|
try {
|
|
92
91
|
const binding = require('@printers/printers-android-arm-eabi')
|
|
93
92
|
const bindingPackageVersion = require('@printers/printers-android-arm-eabi/package.json').version
|
|
94
|
-
if (bindingPackageVersion !== '0.5.
|
|
95
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
93
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
94
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
96
95
|
}
|
|
97
96
|
return binding
|
|
98
97
|
} catch (e) {
|
|
@@ -111,8 +110,8 @@ function requireNative() {
|
|
|
111
110
|
try {
|
|
112
111
|
const binding = require('@printers/printers-win32-x64-msvc')
|
|
113
112
|
const bindingPackageVersion = require('@printers/printers-win32-x64-msvc/package.json').version
|
|
114
|
-
if (bindingPackageVersion !== '0.5.
|
|
115
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
113
|
+
if (bindingPackageVersion !== '0.5.8' && 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 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
116
115
|
}
|
|
117
116
|
return binding
|
|
118
117
|
} catch (e) {
|
|
@@ -127,8 +126,8 @@ function requireNative() {
|
|
|
127
126
|
try {
|
|
128
127
|
const binding = require('@printers/printers-win32-ia32-msvc')
|
|
129
128
|
const bindingPackageVersion = require('@printers/printers-win32-ia32-msvc/package.json').version
|
|
130
|
-
if (bindingPackageVersion !== '0.5.
|
|
131
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
129
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
130
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
132
131
|
}
|
|
133
132
|
return binding
|
|
134
133
|
} catch (e) {
|
|
@@ -143,8 +142,8 @@ function requireNative() {
|
|
|
143
142
|
try {
|
|
144
143
|
const binding = require('@printers/printers-win32-arm64-msvc')
|
|
145
144
|
const bindingPackageVersion = require('@printers/printers-win32-arm64-msvc/package.json').version
|
|
146
|
-
if (bindingPackageVersion !== '0.5.
|
|
147
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
145
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
146
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
148
147
|
}
|
|
149
148
|
return binding
|
|
150
149
|
} catch (e) {
|
|
@@ -162,8 +161,8 @@ function requireNative() {
|
|
|
162
161
|
try {
|
|
163
162
|
const binding = require('@printers/printers-darwin-universal')
|
|
164
163
|
const bindingPackageVersion = require('@printers/printers-darwin-universal/package.json').version
|
|
165
|
-
if (bindingPackageVersion !== '0.5.
|
|
166
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
164
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
165
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
167
166
|
}
|
|
168
167
|
return binding
|
|
169
168
|
} catch (e) {
|
|
@@ -178,8 +177,8 @@ function requireNative() {
|
|
|
178
177
|
try {
|
|
179
178
|
const binding = require('@printers/printers-darwin-x64')
|
|
180
179
|
const bindingPackageVersion = require('@printers/printers-darwin-x64/package.json').version
|
|
181
|
-
if (bindingPackageVersion !== '0.5.
|
|
182
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
180
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
181
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
183
182
|
}
|
|
184
183
|
return binding
|
|
185
184
|
} catch (e) {
|
|
@@ -194,8 +193,8 @@ function requireNative() {
|
|
|
194
193
|
try {
|
|
195
194
|
const binding = require('@printers/printers-darwin-arm64')
|
|
196
195
|
const bindingPackageVersion = require('@printers/printers-darwin-arm64/package.json').version
|
|
197
|
-
if (bindingPackageVersion !== '0.5.
|
|
198
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
196
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
197
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
199
198
|
}
|
|
200
199
|
return binding
|
|
201
200
|
} catch (e) {
|
|
@@ -214,8 +213,8 @@ function requireNative() {
|
|
|
214
213
|
try {
|
|
215
214
|
const binding = require('@printers/printers-freebsd-x64')
|
|
216
215
|
const bindingPackageVersion = require('@printers/printers-freebsd-x64/package.json').version
|
|
217
|
-
if (bindingPackageVersion !== '0.5.
|
|
218
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
216
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
217
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
218
|
}
|
|
220
219
|
return binding
|
|
221
220
|
} catch (e) {
|
|
@@ -230,8 +229,8 @@ function requireNative() {
|
|
|
230
229
|
try {
|
|
231
230
|
const binding = require('@printers/printers-freebsd-arm64')
|
|
232
231
|
const bindingPackageVersion = require('@printers/printers-freebsd-arm64/package.json').version
|
|
233
|
-
if (bindingPackageVersion !== '0.5.
|
|
234
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
232
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
233
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
235
234
|
}
|
|
236
235
|
return binding
|
|
237
236
|
} catch (e) {
|
|
@@ -251,8 +250,8 @@ function requireNative() {
|
|
|
251
250
|
try {
|
|
252
251
|
const binding = require('@printers/printers-linux-x64-musl')
|
|
253
252
|
const bindingPackageVersion = require('@printers/printers-linux-x64-musl/package.json').version
|
|
254
|
-
if (bindingPackageVersion !== '0.5.
|
|
255
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
253
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
254
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
256
255
|
}
|
|
257
256
|
return binding
|
|
258
257
|
} catch (e) {
|
|
@@ -267,8 +266,8 @@ function requireNative() {
|
|
|
267
266
|
try {
|
|
268
267
|
const binding = require('@printers/printers-linux-x64-gnu')
|
|
269
268
|
const bindingPackageVersion = require('@printers/printers-linux-x64-gnu/package.json').version
|
|
270
|
-
if (bindingPackageVersion !== '0.5.
|
|
271
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
269
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
270
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
272
271
|
}
|
|
273
272
|
return binding
|
|
274
273
|
} catch (e) {
|
|
@@ -285,8 +284,8 @@ function requireNative() {
|
|
|
285
284
|
try {
|
|
286
285
|
const binding = require('@printers/printers-linux-arm64-musl')
|
|
287
286
|
const bindingPackageVersion = require('@printers/printers-linux-arm64-musl/package.json').version
|
|
288
|
-
if (bindingPackageVersion !== '0.5.
|
|
289
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
287
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
288
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
290
289
|
}
|
|
291
290
|
return binding
|
|
292
291
|
} catch (e) {
|
|
@@ -301,8 +300,8 @@ function requireNative() {
|
|
|
301
300
|
try {
|
|
302
301
|
const binding = require('@printers/printers-linux-arm64-gnu')
|
|
303
302
|
const bindingPackageVersion = require('@printers/printers-linux-arm64-gnu/package.json').version
|
|
304
|
-
if (bindingPackageVersion !== '0.5.
|
|
305
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
303
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
304
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
306
305
|
}
|
|
307
306
|
return binding
|
|
308
307
|
} catch (e) {
|
|
@@ -319,8 +318,8 @@ function requireNative() {
|
|
|
319
318
|
try {
|
|
320
319
|
const binding = require('@printers/printers-linux-arm-musleabihf')
|
|
321
320
|
const bindingPackageVersion = require('@printers/printers-linux-arm-musleabihf/package.json').version
|
|
322
|
-
if (bindingPackageVersion !== '0.5.
|
|
323
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
321
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
322
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
324
323
|
}
|
|
325
324
|
return binding
|
|
326
325
|
} catch (e) {
|
|
@@ -335,8 +334,8 @@ function requireNative() {
|
|
|
335
334
|
try {
|
|
336
335
|
const binding = require('@printers/printers-linux-arm-gnueabihf')
|
|
337
336
|
const bindingPackageVersion = require('@printers/printers-linux-arm-gnueabihf/package.json').version
|
|
338
|
-
if (bindingPackageVersion !== '0.5.
|
|
339
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
337
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
338
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
340
339
|
}
|
|
341
340
|
return binding
|
|
342
341
|
} catch (e) {
|
|
@@ -353,8 +352,8 @@ function requireNative() {
|
|
|
353
352
|
try {
|
|
354
353
|
const binding = require('@printers/printers-linux-riscv64-musl')
|
|
355
354
|
const bindingPackageVersion = require('@printers/printers-linux-riscv64-musl/package.json').version
|
|
356
|
-
if (bindingPackageVersion !== '0.5.
|
|
357
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
355
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
356
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
358
357
|
}
|
|
359
358
|
return binding
|
|
360
359
|
} catch (e) {
|
|
@@ -369,8 +368,8 @@ function requireNative() {
|
|
|
369
368
|
try {
|
|
370
369
|
const binding = require('@printers/printers-linux-riscv64-gnu')
|
|
371
370
|
const bindingPackageVersion = require('@printers/printers-linux-riscv64-gnu/package.json').version
|
|
372
|
-
if (bindingPackageVersion !== '0.5.
|
|
373
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
371
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
372
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
374
373
|
}
|
|
375
374
|
return binding
|
|
376
375
|
} catch (e) {
|
|
@@ -386,8 +385,8 @@ function requireNative() {
|
|
|
386
385
|
try {
|
|
387
386
|
const binding = require('@printers/printers-linux-ppc64-gnu')
|
|
388
387
|
const bindingPackageVersion = require('@printers/printers-linux-ppc64-gnu/package.json').version
|
|
389
|
-
if (bindingPackageVersion !== '0.5.
|
|
390
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
388
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
389
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
391
390
|
}
|
|
392
391
|
return binding
|
|
393
392
|
} catch (e) {
|
|
@@ -402,8 +401,8 @@ function requireNative() {
|
|
|
402
401
|
try {
|
|
403
402
|
const binding = require('@printers/printers-linux-s390x-gnu')
|
|
404
403
|
const bindingPackageVersion = require('@printers/printers-linux-s390x-gnu/package.json').version
|
|
405
|
-
if (bindingPackageVersion !== '0.5.
|
|
406
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
404
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
405
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
407
406
|
}
|
|
408
407
|
return binding
|
|
409
408
|
} catch (e) {
|
|
@@ -422,8 +421,8 @@ function requireNative() {
|
|
|
422
421
|
try {
|
|
423
422
|
const binding = require('@printers/printers-openharmony-arm64')
|
|
424
423
|
const bindingPackageVersion = require('@printers/printers-openharmony-arm64/package.json').version
|
|
425
|
-
if (bindingPackageVersion !== '0.5.
|
|
426
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
424
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
425
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
427
426
|
}
|
|
428
427
|
return binding
|
|
429
428
|
} catch (e) {
|
|
@@ -438,8 +437,8 @@ function requireNative() {
|
|
|
438
437
|
try {
|
|
439
438
|
const binding = require('@printers/printers-openharmony-x64')
|
|
440
439
|
const bindingPackageVersion = require('@printers/printers-openharmony-x64/package.json').version
|
|
441
|
-
if (bindingPackageVersion !== '0.5.
|
|
442
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
440
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
441
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
443
442
|
}
|
|
444
443
|
return binding
|
|
445
444
|
} catch (e) {
|
|
@@ -454,8 +453,8 @@ function requireNative() {
|
|
|
454
453
|
try {
|
|
455
454
|
const binding = require('@printers/printers-openharmony-arm')
|
|
456
455
|
const bindingPackageVersion = require('@printers/printers-openharmony-arm/package.json').version
|
|
457
|
-
if (bindingPackageVersion !== '0.5.
|
|
458
|
-
throw new Error(`Native binding package version mismatch, expected 0.5.
|
|
456
|
+
if (bindingPackageVersion !== '0.5.8' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
457
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.8 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
459
458
|
}
|
|
460
459
|
return binding
|
|
461
460
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@printers/printers-linux-arm64-gnu",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"cpu": [
|
|
5
5
|
"arm64"
|
|
6
6
|
],
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"files": [
|
|
9
|
+
"printers.linux-arm64-gnu.node",
|
|
9
10
|
"index.js",
|
|
10
|
-
"index.
|
|
11
|
-
"
|
|
11
|
+
"index.d.ts",
|
|
12
|
+
"README.md"
|
|
12
13
|
],
|
|
13
14
|
"description": "Cross-platform printer library for Node.js, Deno, and Bun",
|
|
14
15
|
"license": "MIT",
|
|
@@ -26,4 +27,4 @@
|
|
|
26
27
|
"glibc"
|
|
27
28
|
],
|
|
28
29
|
"types": "index.d.ts"
|
|
29
|
-
}
|
|
30
|
+
}
|
|
Binary file
|