@tarojs/parse-css-to-stylesheet 0.0.67 → 0.0.68

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.
Files changed (2) hide show
  1. package/index.js +61 -3
  2. package/package.json +12 -12
package/index.js CHANGED
@@ -224,14 +224,72 @@ switch (platform) {
224
224
  }
225
225
  break
226
226
  case 'arm':
227
+ if (isMusl()) {
228
+ localFileExisted = existsSync(
229
+ join(__dirname, 'parse-css-to-stylesheet.linux-arm-musleabihf.node')
230
+ )
231
+ try {
232
+ if (localFileExisted) {
233
+ nativeBinding = require('./parse-css-to-stylesheet.linux-arm-musleabihf.node')
234
+ } else {
235
+ nativeBinding = require('@tarojs/parse-css-to-stylesheet-linux-arm-musleabihf')
236
+ }
237
+ } catch (e) {
238
+ loadError = e
239
+ }
240
+ } else {
241
+ localFileExisted = existsSync(
242
+ join(__dirname, 'parse-css-to-stylesheet.linux-arm-gnueabihf.node')
243
+ )
244
+ try {
245
+ if (localFileExisted) {
246
+ nativeBinding = require('./parse-css-to-stylesheet.linux-arm-gnueabihf.node')
247
+ } else {
248
+ nativeBinding = require('@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf')
249
+ }
250
+ } catch (e) {
251
+ loadError = e
252
+ }
253
+ }
254
+ break
255
+ case 'riscv64':
256
+ if (isMusl()) {
257
+ localFileExisted = existsSync(
258
+ join(__dirname, 'parse-css-to-stylesheet.linux-riscv64-musl.node')
259
+ )
260
+ try {
261
+ if (localFileExisted) {
262
+ nativeBinding = require('./parse-css-to-stylesheet.linux-riscv64-musl.node')
263
+ } else {
264
+ nativeBinding = require('@tarojs/parse-css-to-stylesheet-linux-riscv64-musl')
265
+ }
266
+ } catch (e) {
267
+ loadError = e
268
+ }
269
+ } else {
270
+ localFileExisted = existsSync(
271
+ join(__dirname, 'parse-css-to-stylesheet.linux-riscv64-gnu.node')
272
+ )
273
+ try {
274
+ if (localFileExisted) {
275
+ nativeBinding = require('./parse-css-to-stylesheet.linux-riscv64-gnu.node')
276
+ } else {
277
+ nativeBinding = require('@tarojs/parse-css-to-stylesheet-linux-riscv64-gnu')
278
+ }
279
+ } catch (e) {
280
+ loadError = e
281
+ }
282
+ }
283
+ break
284
+ case 's390x':
227
285
  localFileExisted = existsSync(
228
- join(__dirname, 'parse-css-to-stylesheet.linux-arm-gnueabihf.node')
286
+ join(__dirname, 'parse-css-to-stylesheet.linux-s390x-gnu.node')
229
287
  )
230
288
  try {
231
289
  if (localFileExisted) {
232
- nativeBinding = require('./parse-css-to-stylesheet.linux-arm-gnueabihf.node')
290
+ nativeBinding = require('./parse-css-to-stylesheet.linux-s390x-gnu.node')
233
291
  } else {
234
- nativeBinding = require('@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf')
292
+ nativeBinding = require('@tarojs/parse-css-to-stylesheet-linux-s390x-gnu')
235
293
  }
236
294
  } catch (e) {
237
295
  loadError = e
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/parse-css-to-stylesheet",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "napi": {
@@ -53,16 +53,16 @@
53
53
  "packageManager": "yarn@3.6.4",
54
54
  "repository": "https://github.com/NervJS/parse-css-to-stylesheet",
55
55
  "optionalDependencies": {
56
- "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "0.0.67",
57
- "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.67",
58
- "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.67",
59
- "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.67",
60
- "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.67",
61
- "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.67",
62
- "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.67",
63
- "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.67",
64
- "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.67",
65
- "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.67",
66
- "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.67"
56
+ "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "0.0.68",
57
+ "@tarojs/parse-css-to-stylesheet-darwin-x64": "0.0.68",
58
+ "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "0.0.68",
59
+ "@tarojs/parse-css-to-stylesheet-darwin-arm64": "0.0.68",
60
+ "@tarojs/parse-css-to-stylesheet-android-arm64": "0.0.68",
61
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "0.0.68",
62
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "0.0.68",
63
+ "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "0.0.68",
64
+ "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "0.0.68",
65
+ "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "0.0.68",
66
+ "@tarojs/parse-css-to-stylesheet-darwin-universal": "0.0.68"
67
67
  }
68
68
  }