@printers/printers-linux-arm64-gnu 0.5.6 → 0.5.7
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 -46
- package/package.json +5 -4
- package/printers.linux-arm64-gnu.node +0 -0
package/index.js
CHANGED
|
@@ -75,8 +75,8 @@ function requireNative() {
|
|
|
75
75
|
try {
|
|
76
76
|
const binding = require('@printers/printers-android-arm64')
|
|
77
77
|
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.
|
|
78
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
79
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
80
80
|
}
|
|
81
81
|
return binding
|
|
82
82
|
} catch (e) {
|
|
@@ -91,8 +91,8 @@ function requireNative() {
|
|
|
91
91
|
try {
|
|
92
92
|
const binding = require('@printers/printers-android-arm-eabi')
|
|
93
93
|
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.
|
|
94
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
95
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
96
96
|
}
|
|
97
97
|
return binding
|
|
98
98
|
} catch (e) {
|
|
@@ -111,8 +111,8 @@ function requireNative() {
|
|
|
111
111
|
try {
|
|
112
112
|
const binding = require('@printers/printers-win32-x64-msvc')
|
|
113
113
|
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.
|
|
114
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
115
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
116
116
|
}
|
|
117
117
|
return binding
|
|
118
118
|
} catch (e) {
|
|
@@ -127,8 +127,8 @@ function requireNative() {
|
|
|
127
127
|
try {
|
|
128
128
|
const binding = require('@printers/printers-win32-ia32-msvc')
|
|
129
129
|
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.
|
|
130
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
131
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
132
132
|
}
|
|
133
133
|
return binding
|
|
134
134
|
} catch (e) {
|
|
@@ -143,8 +143,8 @@ function requireNative() {
|
|
|
143
143
|
try {
|
|
144
144
|
const binding = require('@printers/printers-win32-arm64-msvc')
|
|
145
145
|
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.
|
|
146
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
147
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
148
148
|
}
|
|
149
149
|
return binding
|
|
150
150
|
} catch (e) {
|
|
@@ -162,8 +162,8 @@ function requireNative() {
|
|
|
162
162
|
try {
|
|
163
163
|
const binding = require('@printers/printers-darwin-universal')
|
|
164
164
|
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.
|
|
165
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
166
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
167
167
|
}
|
|
168
168
|
return binding
|
|
169
169
|
} catch (e) {
|
|
@@ -178,8 +178,8 @@ function requireNative() {
|
|
|
178
178
|
try {
|
|
179
179
|
const binding = require('@printers/printers-darwin-x64')
|
|
180
180
|
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.
|
|
181
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
182
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
183
183
|
}
|
|
184
184
|
return binding
|
|
185
185
|
} catch (e) {
|
|
@@ -194,8 +194,8 @@ function requireNative() {
|
|
|
194
194
|
try {
|
|
195
195
|
const binding = require('@printers/printers-darwin-arm64')
|
|
196
196
|
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.
|
|
197
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
198
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
199
199
|
}
|
|
200
200
|
return binding
|
|
201
201
|
} catch (e) {
|
|
@@ -214,8 +214,8 @@ function requireNative() {
|
|
|
214
214
|
try {
|
|
215
215
|
const binding = require('@printers/printers-freebsd-x64')
|
|
216
216
|
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.
|
|
217
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
218
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
219
219
|
}
|
|
220
220
|
return binding
|
|
221
221
|
} catch (e) {
|
|
@@ -230,8 +230,8 @@ function requireNative() {
|
|
|
230
230
|
try {
|
|
231
231
|
const binding = require('@printers/printers-freebsd-arm64')
|
|
232
232
|
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.
|
|
233
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
234
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
235
235
|
}
|
|
236
236
|
return binding
|
|
237
237
|
} catch (e) {
|
|
@@ -251,8 +251,8 @@ function requireNative() {
|
|
|
251
251
|
try {
|
|
252
252
|
const binding = require('@printers/printers-linux-x64-musl')
|
|
253
253
|
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.
|
|
254
|
+
if (bindingPackageVersion !== '0.5.7' && 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 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
256
256
|
}
|
|
257
257
|
return binding
|
|
258
258
|
} catch (e) {
|
|
@@ -267,8 +267,8 @@ function requireNative() {
|
|
|
267
267
|
try {
|
|
268
268
|
const binding = require('@printers/printers-linux-x64-gnu')
|
|
269
269
|
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.
|
|
270
|
+
if (bindingPackageVersion !== '0.5.7' && 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 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
272
272
|
}
|
|
273
273
|
return binding
|
|
274
274
|
} catch (e) {
|
|
@@ -285,8 +285,8 @@ function requireNative() {
|
|
|
285
285
|
try {
|
|
286
286
|
const binding = require('@printers/printers-linux-arm64-musl')
|
|
287
287
|
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.
|
|
288
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
289
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
290
290
|
}
|
|
291
291
|
return binding
|
|
292
292
|
} catch (e) {
|
|
@@ -301,8 +301,8 @@ function requireNative() {
|
|
|
301
301
|
try {
|
|
302
302
|
const binding = require('@printers/printers-linux-arm64-gnu')
|
|
303
303
|
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.
|
|
304
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
305
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
306
306
|
}
|
|
307
307
|
return binding
|
|
308
308
|
} catch (e) {
|
|
@@ -319,8 +319,8 @@ function requireNative() {
|
|
|
319
319
|
try {
|
|
320
320
|
const binding = require('@printers/printers-linux-arm-musleabihf')
|
|
321
321
|
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.
|
|
322
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
323
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
324
324
|
}
|
|
325
325
|
return binding
|
|
326
326
|
} catch (e) {
|
|
@@ -335,8 +335,8 @@ function requireNative() {
|
|
|
335
335
|
try {
|
|
336
336
|
const binding = require('@printers/printers-linux-arm-gnueabihf')
|
|
337
337
|
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.
|
|
338
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
339
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
340
340
|
}
|
|
341
341
|
return binding
|
|
342
342
|
} catch (e) {
|
|
@@ -353,8 +353,8 @@ function requireNative() {
|
|
|
353
353
|
try {
|
|
354
354
|
const binding = require('@printers/printers-linux-riscv64-musl')
|
|
355
355
|
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.
|
|
356
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
357
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
358
358
|
}
|
|
359
359
|
return binding
|
|
360
360
|
} catch (e) {
|
|
@@ -369,8 +369,8 @@ function requireNative() {
|
|
|
369
369
|
try {
|
|
370
370
|
const binding = require('@printers/printers-linux-riscv64-gnu')
|
|
371
371
|
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.
|
|
372
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
373
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
374
374
|
}
|
|
375
375
|
return binding
|
|
376
376
|
} catch (e) {
|
|
@@ -386,8 +386,8 @@ function requireNative() {
|
|
|
386
386
|
try {
|
|
387
387
|
const binding = require('@printers/printers-linux-ppc64-gnu')
|
|
388
388
|
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.
|
|
389
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
390
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
391
391
|
}
|
|
392
392
|
return binding
|
|
393
393
|
} catch (e) {
|
|
@@ -402,8 +402,8 @@ function requireNative() {
|
|
|
402
402
|
try {
|
|
403
403
|
const binding = require('@printers/printers-linux-s390x-gnu')
|
|
404
404
|
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.
|
|
405
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
406
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
407
407
|
}
|
|
408
408
|
return binding
|
|
409
409
|
} catch (e) {
|
|
@@ -422,8 +422,8 @@ function requireNative() {
|
|
|
422
422
|
try {
|
|
423
423
|
const binding = require('@printers/printers-openharmony-arm64')
|
|
424
424
|
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.
|
|
425
|
+
if (bindingPackageVersion !== '0.5.7' && 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 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
427
427
|
}
|
|
428
428
|
return binding
|
|
429
429
|
} catch (e) {
|
|
@@ -438,8 +438,8 @@ function requireNative() {
|
|
|
438
438
|
try {
|
|
439
439
|
const binding = require('@printers/printers-openharmony-x64')
|
|
440
440
|
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.
|
|
441
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
442
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
443
443
|
}
|
|
444
444
|
return binding
|
|
445
445
|
} catch (e) {
|
|
@@ -454,8 +454,8 @@ function requireNative() {
|
|
|
454
454
|
try {
|
|
455
455
|
const binding = require('@printers/printers-openharmony-arm')
|
|
456
456
|
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.
|
|
457
|
+
if (bindingPackageVersion !== '0.5.7' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
458
|
+
throw new Error(`Native binding package version mismatch, expected 0.5.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
459
459
|
}
|
|
460
460
|
return binding
|
|
461
461
|
} 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.7",
|
|
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
|