Skip to content

Commit

Permalink
fix: Compatibility problems with older JavaScript engines (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnns authored Oct 19, 2018
1 parent e75367a commit d9d782b
Show file tree
Hide file tree
Showing 15 changed files with 5,374 additions and 1,168 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{ "presets": ["es2015"] }
{
"presets": [
["@babel/preset-env"]
]
}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ node_modules
.node_repl_history

# We don't check in the compiled lists. They are created upon npm publish and npm install.
build/tries
build/tries

# Don't include the build target directory.
lib
5 changes: 1 addition & 4 deletions .nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"functions": 100,
"branches": 100,
"include": [
"lib"
],
"exclude": [
"lib/build"
"src"
],
"reporter": [
"lcov",
Expand Down
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ os:
- linux
language: node_js
node_js:
- "4"
- "6"
- "7"
- "8"
- "9"
- "10"

script:
- npm test
Expand Down
Loading

0 comments on commit d9d782b

Please sign in to comment.