Skip to content

Commit 56daf0b

Browse files
Peter Martonhekike
authored andcommitted
chore(package): drop 4.x and 6.x Node support
BREAKING CHANGE: drop 4.x and 6.x Node support
1 parent 3454cb2 commit 56daf0b

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "6"
5-
- "8"
6-
- "stable"
3+
- '8'
4+
- '10'
5+
- "lts/*" # Active LTS release
6+
- "node" # Latest stable release
77
after_success:
88
- make report-coverage
9-
- make nsp
109

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ ESLINT := $(NODE_BIN)/eslint
2626
ISTANBUL := $(NODE_BIN)/istanbul
2727
MOCHA := $(NODE_BIN)/mocha
2828
_MOCHA := $(NODE_BIN)/_mocha
29-
NSP := $(NODE_BIN)/nsp
3029
UNLEASH := $(NODE_BIN)/unleash
3130

3231

@@ -77,13 +76,8 @@ lint: $(NODE_MODULES) ## Run lint and style checks
7776
@$(ESLINT) $(ALL_FILES)
7877

7978

80-
.PHONY: nsp
81-
nsp: $(NODE_MODULES) $(YARN_LOCK) ## Check for dependency vulnerabilities
82-
@$(NSP) check --preprocessor yarn
83-
84-
8579
.PHONY: prepush
86-
prepush: $(NODE_MODULES) lint test nsp ## Run all required tasks for a git push
80+
prepush: $(NODE_MODULES) lint test ## Run all required tasks for a git push
8781

8882

8983
.PHONY: test

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
"istanbul": "^0.4.5",
4343
"mkdirp": "^0.5.1",
4444
"mocha": "^6.1.4",
45-
"nsp": "^3.2.1",
46-
"nsp-preprocessor-yarn": "^1.0.1",
4745
"restify": "^8.3.1",
4846
"restify-clients": "^2.6.4"
4947
},

0 commit comments

Comments
 (0)