File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,6 @@ switch (platform) {
22
22
loadError = e ;
23
23
}
24
24
break ;
25
- case 'arm64' :
26
- localFileExisted = existsSync ( join ( __dirname , 'zstd.win32-arm64-msvc.node' ) ) ;
27
- try {
28
- if ( localFileExisted ) {
29
- nativeBinding = require ( './zstd.win32-arm64-msvc.node' ) ;
30
- } else {
31
- nativeBinding = require ( '@mongodb-js/zstd-win32-arm64-msvc' ) ;
32
- }
33
- } catch ( e ) {
34
- loadError = e ;
35
- }
36
- break ;
37
25
default :
38
26
throw new Error ( `Unsupported architecture on Windows: ${ arch } ` ) ;
39
27
}
@@ -68,21 +56,6 @@ switch (platform) {
68
56
throw new Error ( `Unsupported architecture on macOS: ${ arch } ` ) ;
69
57
}
70
58
break ;
71
- case 'freebsd' :
72
- if ( arch !== 'x64' ) {
73
- throw new Error ( `Unsupported architecture on FreeBSD: ${ arch } ` ) ;
74
- }
75
- localFileExisted = existsSync ( join ( __dirname , 'zstd.freebsd-x64.node' ) ) ;
76
- try {
77
- if ( localFileExisted ) {
78
- nativeBinding = require ( './zstd.freebsd-x64.node' ) ;
79
- } else {
80
- nativeBinding = require ( '@mongodb-js/zstd-freebsd-x64' ) ;
81
- }
82
- } catch ( e ) {
83
- loadError = e ;
84
- }
85
- break ;
86
59
case 'linux' :
87
60
switch ( arch ) {
88
61
case 'x64' :
You can’t perform that action at this time.
0 commit comments