@dolthub/doltlite 0.11.30 → 0.11.38
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/binding.gyp +2 -1
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/doltlite +0 -0
- package/prebuilds/darwin-arm64/doltlite.node +0 -0
- package/prebuilds/darwin-x64/doltlite.node +0 -0
- package/prebuilds/linux-arm64/doltlite.node +0 -0
- package/prebuilds/linux-x64/doltlite +0 -0
- package/prebuilds/linux-x64/doltlite.node +0 -0
- package/prebuilds/win32-x64/doltlite.exe +0 -0
- package/prebuilds/win32-x64/doltlite.node +0 -0
- package/scripts/build-amalgamation.js +11 -7
package/binding.gyp
CHANGED
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -31,15 +31,19 @@ if (!fs.existsSync(inH)) {
|
|
|
31
31
|
console.log("Preparing released doltlite amalgamation...")
|
|
32
32
|
fs.mkdirSync(outDir, { recursive: true })
|
|
33
33
|
let amalgamation = fs.readFileSync(inC, "utf8")
|
|
34
|
-
amalgamation += `
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
// DoltLite releases before v0.11.37 emitted the Winsock 2 headers after
|
|
36
|
+
// SQLite's Windows VFS had already included windows.h. Keep those releases
|
|
37
|
+
// buildable while newer release amalgamations carry the ordering fix directly.
|
|
38
|
+
if (!amalgamation.includes("DOLTLITE_AMALGAMATION_WINSOCK2_EARLY")) {
|
|
39
|
+
amalgamation = `/* DOLTLITE_NODE_WINSOCK2_EARLY_FALLBACK */
|
|
40
|
+
#ifdef _WIN32
|
|
41
|
+
# include <winsock2.h>
|
|
42
|
+
# include <ws2tcpip.h>
|
|
41
43
|
#endif
|
|
42
|
-
|
|
44
|
+
|
|
45
|
+
${amalgamation}`
|
|
46
|
+
}
|
|
43
47
|
fs.writeFileSync(outC, amalgamation)
|
|
44
48
|
fs.copyFileSync(inH, outH)
|
|
45
49
|
fs.writeFileSync(versionMarker, `${pkg.version}\n`)
|