This repository was archived by the owner on Sep 23, 2024. It is now read-only.
File tree 3 files changed +6
-9
lines changed
3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 14
14
}
15
15
}],
16
16
['OS=="win"' , {
17
- 'configurations' : {
18
- 'Release' : {
19
- 'msvs_settings' : {
20
- 'VCCLCompilerTool' : {
21
- 'ExceptionHandling' : 1
22
- }
23
- }
17
+ 'msvs_settings' : {
18
+ 'VCCLCompilerTool' : {
19
+ 'ExceptionHandling' : 1
24
20
}
25
21
}
26
22
}]
Original file line number Diff line number Diff line change 7
7
} else if ( process . platform == "win32" && process . arch == "ia32" ) {
8
8
bson = require ( './win32/ia32/bson' ) ;
9
9
} else {
10
- bson = require ( '../build/Release/ bson' ) ;
10
+ bson = require ( 'bindings' ) ( ' bson.node ') ;
11
11
}
12
12
} catch ( err ) {
13
13
// Attempt to load the release bson version
14
14
try {
15
- bson = require ( '../build/Release/ bson' ) ;
15
+ bson = require ( 'bindings' ) ( ' bson.node ') ;
16
16
} catch ( err ) {
17
17
throw new Error ( "js-bson: Failed to load c++ bson extension, using pure JS version" ) ;
18
18
}
Original file line number Diff line number Diff line change 18
18
"url" : " https://github.com/christkv/bson-ext/issues"
19
19
},
20
20
"dependencies" : {
21
+ "bindings" : " ^1.2.1" ,
21
22
"nan" : " ~2.0.9" ,
22
23
"node-pre-gyp" : " https://github.com/mongodb-js/node-pre-gyp/archive/v0.6.5-appveyor.tar.gz"
23
24
},
You can’t perform that action at this time.
0 commit comments