@tailwindcss/oxide 4.1.16 → 4.1.17
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 +53 -56
- package/package.json +15 -15
package/index.js
CHANGED
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
/* auto-generated by NAPI-RS */
|
|
5
5
|
|
|
6
|
-
const { createRequire } = require('node:module')
|
|
7
|
-
require = createRequire(__filename)
|
|
8
|
-
|
|
9
6
|
const { readFileSync } = require('node:fs')
|
|
10
7
|
let nativeBinding = null
|
|
11
8
|
const loadErrors = []
|
|
@@ -80,8 +77,8 @@ function requireNative() {
|
|
|
80
77
|
try {
|
|
81
78
|
const binding = require('@tailwindcss/oxide-android-arm64')
|
|
82
79
|
const bindingPackageVersion = require('@tailwindcss/oxide-android-arm64/package.json').version
|
|
83
|
-
if (bindingPackageVersion !== '4.1.
|
|
84
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
80
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
81
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
85
82
|
}
|
|
86
83
|
return binding
|
|
87
84
|
} catch (e) {
|
|
@@ -96,8 +93,8 @@ function requireNative() {
|
|
|
96
93
|
try {
|
|
97
94
|
const binding = require('@tailwindcss/oxide-android-arm-eabi')
|
|
98
95
|
const bindingPackageVersion = require('@tailwindcss/oxide-android-arm-eabi/package.json').version
|
|
99
|
-
if (bindingPackageVersion !== '4.1.
|
|
100
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
96
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
97
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
101
98
|
}
|
|
102
99
|
return binding
|
|
103
100
|
} catch (e) {
|
|
@@ -108,7 +105,7 @@ function requireNative() {
|
|
|
108
105
|
}
|
|
109
106
|
} else if (process.platform === 'win32') {
|
|
110
107
|
if (process.arch === 'x64') {
|
|
111
|
-
if (process.
|
|
108
|
+
if (process.config?.variables?.shlib_suffix === 'dll.a' || process.config?.variables?.node_target_type === 'shared_library') {
|
|
112
109
|
try {
|
|
113
110
|
return require('./tailwindcss-oxide.win32-x64-gnu.node')
|
|
114
111
|
} catch (e) {
|
|
@@ -117,8 +114,8 @@ function requireNative() {
|
|
|
117
114
|
try {
|
|
118
115
|
const binding = require('@tailwindcss/oxide-win32-x64-gnu')
|
|
119
116
|
const bindingPackageVersion = require('@tailwindcss/oxide-win32-x64-gnu/package.json').version
|
|
120
|
-
if (bindingPackageVersion !== '4.1.
|
|
121
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
117
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
118
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
122
119
|
}
|
|
123
120
|
return binding
|
|
124
121
|
} catch (e) {
|
|
@@ -133,8 +130,8 @@ function requireNative() {
|
|
|
133
130
|
try {
|
|
134
131
|
const binding = require('@tailwindcss/oxide-win32-x64-msvc')
|
|
135
132
|
const bindingPackageVersion = require('@tailwindcss/oxide-win32-x64-msvc/package.json').version
|
|
136
|
-
if (bindingPackageVersion !== '4.1.
|
|
137
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
133
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
134
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
138
135
|
}
|
|
139
136
|
return binding
|
|
140
137
|
} catch (e) {
|
|
@@ -150,8 +147,8 @@ function requireNative() {
|
|
|
150
147
|
try {
|
|
151
148
|
const binding = require('@tailwindcss/oxide-win32-ia32-msvc')
|
|
152
149
|
const bindingPackageVersion = require('@tailwindcss/oxide-win32-ia32-msvc/package.json').version
|
|
153
|
-
if (bindingPackageVersion !== '4.1.
|
|
154
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
150
|
+
if (bindingPackageVersion !== '4.1.17' && 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 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
155
152
|
}
|
|
156
153
|
return binding
|
|
157
154
|
} catch (e) {
|
|
@@ -166,8 +163,8 @@ function requireNative() {
|
|
|
166
163
|
try {
|
|
167
164
|
const binding = require('@tailwindcss/oxide-win32-arm64-msvc')
|
|
168
165
|
const bindingPackageVersion = require('@tailwindcss/oxide-win32-arm64-msvc/package.json').version
|
|
169
|
-
if (bindingPackageVersion !== '4.1.
|
|
170
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
166
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
167
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
171
168
|
}
|
|
172
169
|
return binding
|
|
173
170
|
} catch (e) {
|
|
@@ -185,8 +182,8 @@ function requireNative() {
|
|
|
185
182
|
try {
|
|
186
183
|
const binding = require('@tailwindcss/oxide-darwin-universal')
|
|
187
184
|
const bindingPackageVersion = require('@tailwindcss/oxide-darwin-universal/package.json').version
|
|
188
|
-
if (bindingPackageVersion !== '4.1.
|
|
189
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
185
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
186
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
190
187
|
}
|
|
191
188
|
return binding
|
|
192
189
|
} catch (e) {
|
|
@@ -201,8 +198,8 @@ function requireNative() {
|
|
|
201
198
|
try {
|
|
202
199
|
const binding = require('@tailwindcss/oxide-darwin-x64')
|
|
203
200
|
const bindingPackageVersion = require('@tailwindcss/oxide-darwin-x64/package.json').version
|
|
204
|
-
if (bindingPackageVersion !== '4.1.
|
|
205
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
201
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
202
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
206
203
|
}
|
|
207
204
|
return binding
|
|
208
205
|
} catch (e) {
|
|
@@ -217,8 +214,8 @@ function requireNative() {
|
|
|
217
214
|
try {
|
|
218
215
|
const binding = require('@tailwindcss/oxide-darwin-arm64')
|
|
219
216
|
const bindingPackageVersion = require('@tailwindcss/oxide-darwin-arm64/package.json').version
|
|
220
|
-
if (bindingPackageVersion !== '4.1.
|
|
221
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
217
|
+
if (bindingPackageVersion !== '4.1.17' && 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 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
222
219
|
}
|
|
223
220
|
return binding
|
|
224
221
|
} catch (e) {
|
|
@@ -237,8 +234,8 @@ function requireNative() {
|
|
|
237
234
|
try {
|
|
238
235
|
const binding = require('@tailwindcss/oxide-freebsd-x64')
|
|
239
236
|
const bindingPackageVersion = require('@tailwindcss/oxide-freebsd-x64/package.json').version
|
|
240
|
-
if (bindingPackageVersion !== '4.1.
|
|
241
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
237
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
238
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
242
239
|
}
|
|
243
240
|
return binding
|
|
244
241
|
} catch (e) {
|
|
@@ -253,8 +250,8 @@ function requireNative() {
|
|
|
253
250
|
try {
|
|
254
251
|
const binding = require('@tailwindcss/oxide-freebsd-arm64')
|
|
255
252
|
const bindingPackageVersion = require('@tailwindcss/oxide-freebsd-arm64/package.json').version
|
|
256
|
-
if (bindingPackageVersion !== '4.1.
|
|
257
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
253
|
+
if (bindingPackageVersion !== '4.1.17' && 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 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
258
255
|
}
|
|
259
256
|
return binding
|
|
260
257
|
} catch (e) {
|
|
@@ -274,8 +271,8 @@ function requireNative() {
|
|
|
274
271
|
try {
|
|
275
272
|
const binding = require('@tailwindcss/oxide-linux-x64-musl')
|
|
276
273
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-x64-musl/package.json').version
|
|
277
|
-
if (bindingPackageVersion !== '4.1.
|
|
278
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
274
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
275
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
279
276
|
}
|
|
280
277
|
return binding
|
|
281
278
|
} catch (e) {
|
|
@@ -290,8 +287,8 @@ function requireNative() {
|
|
|
290
287
|
try {
|
|
291
288
|
const binding = require('@tailwindcss/oxide-linux-x64-gnu')
|
|
292
289
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-x64-gnu/package.json').version
|
|
293
|
-
if (bindingPackageVersion !== '4.1.
|
|
294
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
290
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
291
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
295
292
|
}
|
|
296
293
|
return binding
|
|
297
294
|
} catch (e) {
|
|
@@ -308,8 +305,8 @@ function requireNative() {
|
|
|
308
305
|
try {
|
|
309
306
|
const binding = require('@tailwindcss/oxide-linux-arm64-musl')
|
|
310
307
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-arm64-musl/package.json').version
|
|
311
|
-
if (bindingPackageVersion !== '4.1.
|
|
312
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
308
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
309
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
313
310
|
}
|
|
314
311
|
return binding
|
|
315
312
|
} catch (e) {
|
|
@@ -324,8 +321,8 @@ function requireNative() {
|
|
|
324
321
|
try {
|
|
325
322
|
const binding = require('@tailwindcss/oxide-linux-arm64-gnu')
|
|
326
323
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-arm64-gnu/package.json').version
|
|
327
|
-
if (bindingPackageVersion !== '4.1.
|
|
328
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
324
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
325
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
329
326
|
}
|
|
330
327
|
return binding
|
|
331
328
|
} catch (e) {
|
|
@@ -342,8 +339,8 @@ function requireNative() {
|
|
|
342
339
|
try {
|
|
343
340
|
const binding = require('@tailwindcss/oxide-linux-arm-musleabihf')
|
|
344
341
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-arm-musleabihf/package.json').version
|
|
345
|
-
if (bindingPackageVersion !== '4.1.
|
|
346
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
342
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
343
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
347
344
|
}
|
|
348
345
|
return binding
|
|
349
346
|
} catch (e) {
|
|
@@ -358,8 +355,8 @@ function requireNative() {
|
|
|
358
355
|
try {
|
|
359
356
|
const binding = require('@tailwindcss/oxide-linux-arm-gnueabihf')
|
|
360
357
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-arm-gnueabihf/package.json').version
|
|
361
|
-
if (bindingPackageVersion !== '4.1.
|
|
362
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
358
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
359
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
363
360
|
}
|
|
364
361
|
return binding
|
|
365
362
|
} catch (e) {
|
|
@@ -376,8 +373,8 @@ function requireNative() {
|
|
|
376
373
|
try {
|
|
377
374
|
const binding = require('@tailwindcss/oxide-linux-loong64-musl')
|
|
378
375
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-loong64-musl/package.json').version
|
|
379
|
-
if (bindingPackageVersion !== '4.1.
|
|
380
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
376
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
377
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
381
378
|
}
|
|
382
379
|
return binding
|
|
383
380
|
} catch (e) {
|
|
@@ -392,8 +389,8 @@ function requireNative() {
|
|
|
392
389
|
try {
|
|
393
390
|
const binding = require('@tailwindcss/oxide-linux-loong64-gnu')
|
|
394
391
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-loong64-gnu/package.json').version
|
|
395
|
-
if (bindingPackageVersion !== '4.1.
|
|
396
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
392
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
393
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
397
394
|
}
|
|
398
395
|
return binding
|
|
399
396
|
} catch (e) {
|
|
@@ -410,8 +407,8 @@ function requireNative() {
|
|
|
410
407
|
try {
|
|
411
408
|
const binding = require('@tailwindcss/oxide-linux-riscv64-musl')
|
|
412
409
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-riscv64-musl/package.json').version
|
|
413
|
-
if (bindingPackageVersion !== '4.1.
|
|
414
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
410
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
411
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
415
412
|
}
|
|
416
413
|
return binding
|
|
417
414
|
} catch (e) {
|
|
@@ -426,8 +423,8 @@ function requireNative() {
|
|
|
426
423
|
try {
|
|
427
424
|
const binding = require('@tailwindcss/oxide-linux-riscv64-gnu')
|
|
428
425
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-riscv64-gnu/package.json').version
|
|
429
|
-
if (bindingPackageVersion !== '4.1.
|
|
430
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
426
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
427
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
431
428
|
}
|
|
432
429
|
return binding
|
|
433
430
|
} catch (e) {
|
|
@@ -443,8 +440,8 @@ function requireNative() {
|
|
|
443
440
|
try {
|
|
444
441
|
const binding = require('@tailwindcss/oxide-linux-ppc64-gnu')
|
|
445
442
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-ppc64-gnu/package.json').version
|
|
446
|
-
if (bindingPackageVersion !== '4.1.
|
|
447
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
443
|
+
if (bindingPackageVersion !== '4.1.17' && 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 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
448
445
|
}
|
|
449
446
|
return binding
|
|
450
447
|
} catch (e) {
|
|
@@ -459,8 +456,8 @@ function requireNative() {
|
|
|
459
456
|
try {
|
|
460
457
|
const binding = require('@tailwindcss/oxide-linux-s390x-gnu')
|
|
461
458
|
const bindingPackageVersion = require('@tailwindcss/oxide-linux-s390x-gnu/package.json').version
|
|
462
|
-
if (bindingPackageVersion !== '4.1.
|
|
463
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
459
|
+
if (bindingPackageVersion !== '4.1.17' && 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 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
464
461
|
}
|
|
465
462
|
return binding
|
|
466
463
|
} catch (e) {
|
|
@@ -479,8 +476,8 @@ function requireNative() {
|
|
|
479
476
|
try {
|
|
480
477
|
const binding = require('@tailwindcss/oxide-openharmony-arm64')
|
|
481
478
|
const bindingPackageVersion = require('@tailwindcss/oxide-openharmony-arm64/package.json').version
|
|
482
|
-
if (bindingPackageVersion !== '4.1.
|
|
483
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
479
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
480
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
484
481
|
}
|
|
485
482
|
return binding
|
|
486
483
|
} catch (e) {
|
|
@@ -495,8 +492,8 @@ function requireNative() {
|
|
|
495
492
|
try {
|
|
496
493
|
const binding = require('@tailwindcss/oxide-openharmony-x64')
|
|
497
494
|
const bindingPackageVersion = require('@tailwindcss/oxide-openharmony-x64/package.json').version
|
|
498
|
-
if (bindingPackageVersion !== '4.1.
|
|
499
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
495
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
496
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
500
497
|
}
|
|
501
498
|
return binding
|
|
502
499
|
} catch (e) {
|
|
@@ -511,8 +508,8 @@ function requireNative() {
|
|
|
511
508
|
try {
|
|
512
509
|
const binding = require('@tailwindcss/oxide-openharmony-arm')
|
|
513
510
|
const bindingPackageVersion = require('@tailwindcss/oxide-openharmony-arm/package.json').version
|
|
514
|
-
if (bindingPackageVersion !== '4.1.
|
|
515
|
-
throw new Error(`Native binding package version mismatch, expected 4.1.
|
|
511
|
+
if (bindingPackageVersion !== '4.1.17' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
|
512
|
+
throw new Error(`Native binding package version mismatch, expected 4.1.17 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
|
516
513
|
}
|
|
517
514
|
return binding
|
|
518
515
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailwindcss/oxide",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.17",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/tailwindlabs/tailwindcss.git",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@napi-rs/cli": "^3.
|
|
36
|
+
"@napi-rs/cli": "^3.4.1",
|
|
37
37
|
"@napi-rs/wasm-runtime": "^1.0.7",
|
|
38
|
-
"emnapi": "1.
|
|
38
|
+
"emnapi": "1.6.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">= 10"
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"@tailwindcss/oxide-
|
|
53
|
-
"@tailwindcss/oxide-
|
|
54
|
-
"@tailwindcss/oxide-
|
|
55
|
-
"@tailwindcss/oxide-linux-
|
|
56
|
-
"@tailwindcss/oxide-linux-
|
|
57
|
-
"@tailwindcss/oxide-
|
|
58
|
-
"@tailwindcss/oxide-
|
|
59
|
-
"@tailwindcss/oxide-linux-
|
|
60
|
-
"@tailwindcss/oxide-win32-
|
|
61
|
-
"@tailwindcss/oxide-
|
|
62
|
-
"@tailwindcss/oxide-
|
|
63
|
-
"@tailwindcss/oxide-
|
|
52
|
+
"@tailwindcss/oxide-android-arm64": "4.1.17",
|
|
53
|
+
"@tailwindcss/oxide-linux-arm64-musl": "4.1.17",
|
|
54
|
+
"@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.17",
|
|
55
|
+
"@tailwindcss/oxide-linux-x64-gnu": "4.1.17",
|
|
56
|
+
"@tailwindcss/oxide-linux-x64-musl": "4.1.17",
|
|
57
|
+
"@tailwindcss/oxide-win32-arm64-msvc": "4.1.17",
|
|
58
|
+
"@tailwindcss/oxide-freebsd-x64": "4.1.17",
|
|
59
|
+
"@tailwindcss/oxide-linux-arm64-gnu": "4.1.17",
|
|
60
|
+
"@tailwindcss/oxide-win32-x64-msvc": "4.1.17",
|
|
61
|
+
"@tailwindcss/oxide-wasm32-wasi": "4.1.17",
|
|
62
|
+
"@tailwindcss/oxide-darwin-x64": "4.1.17",
|
|
63
|
+
"@tailwindcss/oxide-darwin-arm64": "4.1.17"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"build": "pnpm run build:platform && pnpm run build:wasm",
|