Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
36481982
Commit
36481982
authored
Sep 10, 2013
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make note of when process.versions.modules became visible
parent
4b7449cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
binary_name.js
lib/binary_name.js
+2
-0
No files found.
lib/binary_name.js
View file @
36481982
...
@@ -12,6 +12,8 @@ var Binary = function(options) {
...
@@ -12,6 +12,8 @@ var Binary = function(options) {
this
.
platform
=
options
.
platform
||
process
.
platform
;
this
.
platform
=
options
.
platform
||
process
.
platform
;
this
.
target_arch
=
options
.
target_arch
||
process
.
arch
;
this
.
target_arch
=
options
.
target_arch
||
process
.
arch
;
if
(
process
.
versions
.
modules
)
{
if
(
process
.
versions
.
modules
)
{
// added in >= v0.10.4 and v0.11.7
// https://github.com/joyent/node/commit/ccabd4a6fa8a6eb79d29bc3bbe9fe2b6531c2d8e
this
.
node_abi
=
'node-v'
+
(
+
process
.
versions
.
modules
);
this
.
node_abi
=
'node-v'
+
(
+
process
.
versions
.
modules
);
}
else
{
}
else
{
this
.
node_abi
=
'v8-'
+
process
.
versions
.
v8
.
split
(
'.'
).
slice
(
0
,
2
).
join
(
'.'
);
this
.
node_abi
=
'v8-'
+
process
.
versions
.
v8
.
split
(
'.'
).
slice
(
0
,
2
).
join
(
'.'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment