couchbase 4.4.1-dev.1 → 4.4.1-dev.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -8
- package/scripts/prebuilds.js +6 -5
package/package.json
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
"type": "git",
|
55
55
|
"url": "http://github.com/couchbase/couchnode.git"
|
56
56
|
},
|
57
|
-
"version": "4.4.1-dev.
|
57
|
+
"version": "4.4.1-dev.2",
|
58
58
|
"config": {
|
59
59
|
"native": false
|
60
60
|
},
|
@@ -79,13 +79,13 @@
|
|
79
79
|
]
|
80
80
|
},
|
81
81
|
"optionalDependencies": {
|
82
|
-
"@couchbase/couchbase-darwin-arm64-napi": "4.4.1-dev.
|
83
|
-
"@couchbase/couchbase-darwin-x64-napi": "4.4.1-dev.
|
84
|
-
"@couchbase/couchbase-linux-arm64-napi": "4.4.1-dev.
|
85
|
-
"@couchbase/couchbase-linuxmusl-arm64-napi": "4.4.1-dev.
|
86
|
-
"@couchbase/couchbase-linuxmusl-x64-napi": "4.4.1-dev.
|
87
|
-
"@couchbase/couchbase-linux-x64-napi": "4.4.1-dev.
|
88
|
-
"@couchbase/couchbase-win32-x64-napi": "4.4.1-dev.
|
82
|
+
"@couchbase/couchbase-darwin-arm64-napi": "4.4.1-dev.2",
|
83
|
+
"@couchbase/couchbase-darwin-x64-napi": "4.4.1-dev.2",
|
84
|
+
"@couchbase/couchbase-linux-arm64-napi": "4.4.1-dev.2",
|
85
|
+
"@couchbase/couchbase-linuxmusl-arm64-napi": "4.4.1-dev.2",
|
86
|
+
"@couchbase/couchbase-linuxmusl-x64-napi": "4.4.1-dev.2",
|
87
|
+
"@couchbase/couchbase-linux-x64-napi": "4.4.1-dev.2",
|
88
|
+
"@couchbase/couchbase-win32-x64-napi": "4.4.1-dev.2"
|
89
89
|
},
|
90
90
|
"files": [
|
91
91
|
"LICENSE",
|
package/scripts/prebuilds.js
CHANGED
@@ -304,7 +304,8 @@ function getSupportedPlatformPackages(packageName) {
|
|
304
304
|
supportedPlatforms.forEach((plat) => {
|
305
305
|
supportedArches.forEach((arch) => {
|
306
306
|
// we don't support Windows or linuxmusl ARM atm
|
307
|
-
|
307
|
+
// UPDATE 07/2024: JSCBC-1268 adds linuxmusl + ARM support
|
308
|
+
if (plat === 'win32' && arch === 'arm64') return
|
308
309
|
allowedRuntimes.forEach((rt) => {
|
309
310
|
packageNames.push(`${packageName}-${plat}-${arch}-${rt}`)
|
310
311
|
})
|
@@ -342,8 +343,8 @@ function matchingPlatformPrebuild(filename, useElectronRuntime = false) {
|
|
342
343
|
const _runtime = useElectronRuntime
|
343
344
|
? 'electron'
|
344
345
|
: runtime === 'node'
|
345
|
-
|
346
|
-
|
346
|
+
? 'napi'
|
347
|
+
: runtime
|
347
348
|
const tokens = filename.split('-')
|
348
349
|
// filename format:
|
349
350
|
// couchbase-v<pkg-version>-<runtime>-v<runtime-version>-<platform>-<arch>-<ssl-type>.node
|
@@ -401,8 +402,8 @@ function resolvePrebuild(
|
|
401
402
|
const _runtime = useElectronRuntime
|
402
403
|
? 'electron'
|
403
404
|
: runtime === 'node'
|
404
|
-
|
405
|
-
|
405
|
+
? 'napi'
|
406
|
+
: runtime
|
406
407
|
try {
|
407
408
|
const localPrebuild = getLocalPrebuild(dir)
|
408
409
|
if (localPrebuild) {
|