Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sass
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-sass
Commits
5a4a48a4
Commit
5a4a48a4
authored
Apr 21, 2020
by
Nick Schonning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add Node 14 support
parent
b54053a1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
.travis.yml
.travis.yml
+9
-3
README.md
README.md
+1
-0
appveyor.yml
appveyor.yml
+6
-0
extensions.js
lib/extensions.js
+1
-0
No files found.
.travis.yml
View file @
5a4a48a4
...
@@ -9,12 +9,18 @@ env:
...
@@ -9,12 +9,18 @@ env:
jobs
:
jobs
:
include
:
include
:
-
stage
:
test
-
stage
:
test
node_js
:
"
node
"
node_js
:
"
14
"
os
:
linux
os
:
linux
before_script
:
npm run lint || exit 1;
before_script
:
npm run lint || exit 1;
after_success
:
npm run-script coverage;
after_success
:
npm run-script coverage;
-
stage
:
platform-test
-
stage
:
platform-test
node_js
:
"
node"
node_js
:
"
14"
os
:
osx
-
stage
:
platform-test
node_js
:
"
13"
os
:
linux
-
stage
:
platform-test
node_js
:
"
13"
os
:
osx
os
:
osx
-
stage
:
platform-test
-
stage
:
platform-test
node_js
:
"
12"
node_js
:
"
12"
...
@@ -87,7 +93,7 @@ before_install:
...
@@ -87,7 +93,7 @@ before_install:
-
echo $TRAVIS_NODE_VERSION
-
echo $TRAVIS_NODE_VERSION
-
npm config set python `which python`
-
npm config set python `which python`
-
if [ $TRAVIS_OS_NAME == "linux" ]; then
-
if [ $TRAVIS_OS_NAME == "linux" ]; then
if [[ $(node -v) =~ v1[23] ]]; then
if [[ $(node -v) =~ v1[23
4
] ]]; then
export CC="gcc-6";
export CC="gcc-6";
export CXX="g++-6";
export CXX="g++-6";
export LINK="gcc-6";
export LINK="gcc-6";
...
...
README.md
View file @
5a4a48a4
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
NodeJS | Minimum node-sass version | Node Module
NodeJS | Minimum node-sass version | Node Module
--------|--------------------------|------------
--------|--------------------------|------------
Node 14 | 4.14+ | 83
Node 13 | 4.13+ | 79
Node 13 | 4.13+ | 79
Node 12 | 4.12+ | 72
Node 12 | 4.12+ | 72
Node 11 | 4.10+ | 67
Node 11 | 4.10+ | 67
...
...
appveyor.yml
View file @
5a4a48a4
...
@@ -79,6 +79,9 @@
...
@@ -79,6 +79,9 @@
-
nodejs_version
:
13
-
nodejs_version
:
13
GYP_MSVS_VERSION
:
2017
GYP_MSVS_VERSION
:
2017
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 2017
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 2017
-
nodejs_version
:
14
GYP_MSVS_VERSION
:
2017
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 2017
install
:
install
:
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
...
@@ -179,6 +182,9 @@
...
@@ -179,6 +182,9 @@
-
nodejs_version
:
13
-
nodejs_version
:
13
GYP_MSVS_VERSION
:
2017
GYP_MSVS_VERSION
:
2017
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 2017
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 2017
-
nodejs_version
:
14
GYP_MSVS_VERSION
:
2017
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 2017
install
:
install
:
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
...
...
lib/extensions.js
View file @
5a4a48a4
...
@@ -79,6 +79,7 @@ function getHumanNodeVersion(abi) {
...
@@ -79,6 +79,7 @@ function getHumanNodeVersion(abi) {
case
67
:
return
'Node.js 11.x'
;
case
67
:
return
'Node.js 11.x'
;
case
72
:
return
'Node.js 12.x'
;
case
72
:
return
'Node.js 12.x'
;
case
79
:
return
'Node.js 13.x'
;
case
79
:
return
'Node.js 13.x'
;
case
83
:
return
'Node.js 14.x'
;
default
:
return
false
;
default
:
return
false
;
}
}
}
}
...
...
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