Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-nodejs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-nodejs
Commits
f4798c6c
Commit
f4798c6c
authored
Dec 18, 2014
by
Hunter Loftis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use semver.herokuapp
parent
49c58034
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compile
bin/compile
+1
-1
No files found.
bin/compile
View file @
f4798c6c
...
...
@@ -24,7 +24,7 @@ trap cat_npm_debug_log ERR
semver_range
=
$(
cat
$build_dir
/package.json |
$bp_dir
/vendor/jq
-r
.engines.node
)
# Resolve node version using semver.io
node_version
=
$(
curl
--silent
--get
--data-urlencode
"range=
${
semver_range
}
"
https://semver.
io
/node/resolve
)
node_version
=
$(
curl
--silent
--get
--data-urlencode
"range=
${
semver_range
}
"
https://semver.
herokuapp.com
/node/resolve
)
# Recommend using semver ranges in a safe manner
if
[
"
$semver_range
"
==
"null"
]
;
then
...
...
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