-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support node@14, and pull in #209, #245, and #255 #323
base: master
Are you sure you want to change the base?
Changes from all commits
8f72cff
f812b98
9b8adc2
bd42ca9
9fbeaf2
b9f79c6
2530581
30ff037
9c4d5ea
7e15562
36624ef
ae038bf
39f9343
8b54df3
04c143a
ee48cba
296608b
3848ee5
0d00cfc
c48a917
4dbcc17
02e43d0
ebd40c5
fe7287b
222b50c
8ba2335
718a803
ee98bce
ed9ba76
ef7c12d
4825018
f33391a
f60acb8
cc46649
363a100
da3d750
7f9b076
9b4e713
227c74a
d1df442
36a3a46
892fd67
f8d5275
0bd6981
fa16fc0
65035f0
639131c
397c56c
9df0689
246df09
74791b0
e3f28ea
d2dd2b5
6e154b4
a57fb32
7f10e03
aabf283
ae5fa37
2dacaf4
de1a8f4
fa20448
d6407a2
7c93f5c
965165e
3627be9
4545563
313f40f
e239a14
56c64bf
7e73454
e317555
4f32859
87905cf
66f335e
0612ecb
5b0e108
ae4e2bd
2ece1c8
3208d4f
b7c4f04
0243361
7467ffa
776821c
8b02115
ad7b3da
f7b46e2
17bcbf6
755fa08
197debd
4216888
9bb986b
b72281b
3fe776d
7879ad6
9430dfd
4dc5744
27875de
325e97b
faee2e7
635cfca
b100447
5b0ab5d
04f4e5d
f1034ce
bf31aef
51a99da
c113260
f6afcb8
94ccd3c
5f539ce
f27f960
aad1943
7d6c1a8
787096d
3f74d03
0241406
522faee
99609a9
58a1840
7dde6a8
a61c0b8
6940b49
8179efc
8165f62
863a838
a2a1a0a
39b85ca
031eb1d
0e886f9
c879955
9f3d450
8a5ea70
029a7fb
f6f0f7c
35c6c61
f1058d7
8ab12c4
8f9bfc5
adf207b
a6a92fd
67c8ddb
54fec93
f796769
3e0a43b
9add883
7c4b378
e464d4b
c8b2f3e
2b9871a
479b1d7
6fea455
5a0a3d5
f352516
9df7743
a733f97
dc36fac
d92aef6
06ab0c1
eaa1bdd
751afde
921551f
0054573
1e1efc0
5405b4f
21f41ef
5e707c4
46733f8
a59ea9d
2609c15
02176a2
ee2c7a1
cea7d33
c62b178
a915b9b
06a55ac
c4e39c3
308a3b1
fbb4d96
b42a2ac
fa45f2d
e97be01
180b959
d6bf0da
67c109b
7405703
7fc728a
314c3e5
5691e14
b539547
c37d5b5
200add6
65d78fd
7787dea
6b5553b
b3e4a18
c74ad2e
a1b1049
992e53c
d683ddf
e472532
c4d6b64
a75deda
1bd385b
e0572b6
4aa599d
c6794d7
c49ce4e
e98dcda
a79095b
5b9220c
2a54b81
afe2bc6
85a1044
b5d09ab
54354a9
0754579
c21d54b
af51793
11607a9
e71852d
d20a571
e8230f2
398a5ca
0c15261
b435f60
b77dd8a
0e08461
be75db5
9b0d382
9296315
23c81fa
9de22aa
dff613f
98af52f
1689714
01f9a41
5c7dea1
9f1d12a
6927487
4369a1c
8cdd22c
0bf37c9
b0915e5
b1f9f87
430610f
de7a90a
504a0db
764c53c
8cdc4ea
5cef435
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 4 | ||
quote_type = single | ||
|
||
[*.json] | ||
indent_size = 2 | ||
|
||
[*.yaml] | ||
indent_size = 2 | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[*.config] | ||
indent_size = 2 | ||
|
||
[*.babelrc] | ||
indent_size = 2 | ||
|
||
[*.nycrc] | ||
indent_size = 2 | ||
|
||
[**/{node_modules, build, coverage, .nyc_output, .idea}/**] | ||
end_of_line = unset | ||
insert_final_newline = unset | ||
trim_trailing_whitespace = unset | ||
indent_style = unset | ||
indent_size = unset |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
node_modules | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
build | ||
cmake-build-debug | ||
coverage | ||
.nyc_output | ||
.idea |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
extends: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
- eslint:recommended | ||
rules: | ||
no-useless-escape: 1 | ||
eqeqeq: 2 | ||
semi: 2 | ||
quotes: | ||
- 2 | ||
- single | ||
import/named: 2 | ||
import/export: 2 | ||
import/no-mutable-exports: 2 | ||
import/first: 2 | ||
import/no-duplicates: 2 | ||
import/no-unresolved: 2 | ||
import/default: 2 | ||
no-global-assign: 2 | ||
no-buffer-constructor: 2 | ||
parserOptions: | ||
ecmaVersion: 6 | ||
env: | ||
node: true | ||
es6: true | ||
mocha: true | ||
globals: | ||
Promise: true | ||
plugins: | ||
- import | ||
settings: | ||
import/resolver: | ||
node: | ||
extensions: | ||
- .js |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,55 @@ | ||
build | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd avoid reordering this to stuff to keep the diff/blame easier to follow |
||
node_modules | ||
npm-debug.log | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Test artifacts | ||
tests/results | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
jspm_packages | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Project files | ||
.idea | ||
tests/.DS_Store | ||
*.iml | ||
.vs | ||
|
||
# OS files | ||
.DS_Store | ||
|
||
# Compiled resources | ||
dist | ||
build | ||
es5 | ||
esm | ||
cmake-build-debug |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* | ||
!/lib | ||
!/index.js | ||
!/binding.gyp | ||
!/src | ||
!/typings.d.ts |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. love code coverage, do we need to add it in this PR? I'd probably add this in a separate PR before this tbh |
||
"exclude": [ | ||
"build/**", | ||
"cmake-build-debug/**", | ||
"examples/**", | ||
"node_modules/**", | ||
"coverage/**", | ||
".nyc_output/**", | ||
"tests/**", | ||
"*.js" | ||
], | ||
"reporter": [ | ||
"text-summary", | ||
"lcov" | ||
], | ||
"cache": true, | ||
"all": true, | ||
"check-coverage": true, | ||
"sourceMap": true, | ||
"instrument": true, | ||
"watermarks": { | ||
"lines": [ | ||
70, | ||
90 | ||
], | ||
"functions": [ | ||
70, | ||
90 | ||
], | ||
"branches": [ | ||
70, | ||
90 | ||
], | ||
"statements": [ | ||
70, | ||
90 | ||
] | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
plugins: | ||
- "@semantic-release/commit-analyzer" | ||
- "@semantic-release/release-notes-generator" | ||
- "@semantic-release/changelog" | ||
- "@semantic-release/npm" | ||
- - "@semantic-release/git" | ||
- assets: | ||
- package.json | ||
- package-lock.json | ||
- CHANGELOG.md | ||
message: "release(travis): Release ${nextRelease.version}\n\n[skip ci]\n\n${nextRelease.notes}" | ||
- "@semantic-release/github" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. | ||
version: v1.14.1 | ||
ignore: {} | ||
# patches apply the minimum changes required to fix a vulnerability | ||
patch: | ||
SNYK-JS-LODASH-567746: | ||
- '@semantic-release/git > lodash': | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- eslint > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- semantic-release > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- eslint > inquirer > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- eslint > table > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- mocha > yargs-unparser > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- semantic-release > @semantic-release/release-notes-generator > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- nyc > istanbul-lib-instrument > @babel/core > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- semantic-release > @semantic-release/release-notes-generator > conventional-commits-parser > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- semantic-release > @semantic-release/release-notes-generator > conventional-changelog-writer > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- nyc > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- nyc > istanbul-lib-instrument > @babel/core > @babel/helpers > @babel/traverse > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- nyc > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- nyc > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/generator > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- nyc > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-split-export-declaration > @babel/types > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' | ||
- nyc > istanbul-lib-instrument > @babel/core > @babel/helper-module-transforms > @babel/helper-replace-supers > @babel/traverse > @babel/helper-function-name > @babel/template > @babel/types > lodash: | ||
patched: '2020-04-30T21:32:17.587Z' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,51 @@ | ||
language: node_js | ||
env: | ||
- CXX=g++-4.8 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
dist: bionic | ||
os: linux | ||
matrix: | ||
allow_failures: | ||
- node_js: 8 | ||
- node_js: node | ||
- node_js: lts/* | ||
node_js: | ||
- "0.10" | ||
- "0.12" | ||
- "4.0" | ||
- "4.1" | ||
script: npm run travis | ||
- 10 | ||
- 12 | ||
- 14 | ||
- lts/* | ||
- node | ||
env: | ||
global: | ||
- secure: m6GYIw709a4vzQQaUn995+d5xg7OhjRl6ynSZj/ih0mZkhmXoXC0tgixyLyaqova3qMZ1JXKlRRRwW5RMIGFQkPCdlhhuQ6Ou85HCyDXqbxHi5uhLbE4MgkAcEZ2N+k5IxLZOarWT2bUasCSDSiIQnxC/UbRkqL9r3ZhDyjWzpK8j06BXyP/NfHO486K4bsd+6hb++6vyvBAzhT0rbCUayAWXpA+E8J7qAE3VaKIPTfzdDL1jA8KJojmL6GaMHA6e1/SlPlK4q2IRx6byXW7scB6/95eT6ETYKTeWtVN4LhprunHeAF+wvlmJ1wFJwY4Ku9hDXEmaES9FYDaaujb+DQDApS8y/u/uaui+hn3vDnJenL2rnGO72bV0AytB4DdsQa9pM2R6xrY8qr0kc+I/rxNtUOEG/iNgXMTOJwIftPrUl0zVvxERuMtX9CiNYNIobzJfOYWlW5MSs3T1E39qvrtIimUu2S+AN09TGO9hhL3J648xEk3bWZ6mV0F9sZal3/wuS8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DT+XATSKnez3hVaVsZeldpY+cK5w1m6834SMJSUfBBKeOQUy/R/fUpC242yuyi/BdnJSQ5SZ4JnBL8JQpg= | ||
before_script: | ||
- npm run pretest | ||
- |- | ||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; | ||
then curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter && chmod +x ./cc-test-reporter && ./cc-test-reporter before-build | ||
fi; | ||
script: | ||
- npm run cover | ||
after_script: | ||
- |- | ||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then | ||
npm run coveralls; | ||
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; | ||
CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=0ffbe667-c1e3-4a92-ad81-a0b592801a6b npx codeclimate-test-reporter < coverage/lcov.info | ||
python < $(curl https://report.ci/upload.py); | ||
bash <(curl -s https://codecov.io/bash); | ||
bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage/lcov.info; | ||
fi; | ||
before_deploy: | ||
- git config --local user.name "$TRAVIS_AUTHOR_NAME" | ||
- git config --local user.email "$TRAVIS_AUTHOR_EMAIL" | ||
deploy: | ||
provider: script | ||
script: npx semantic-release | ||
skip_cleanup: true | ||
on: | ||
branch: master | ||
node: 10 | ||
os: linux | ||
condition: "$TRAVIS_OS_NAME = linux" | ||
sudo: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love editorconfig, not sure it fits with an ABI compat patch, personally. I'd take this in a separate PR