Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
sudo: false
os: linux
dist: bionic

language: node_js

matrix:
jobs:
include:
- node_js: "node"
env: NPM_AUDIT=yes NPM_PACK=yes NPM_RUN_LINT=yes NYC="nyc --no-clean --reporter=lcov"
- node_js: "12"
- node_js: "10"
- node_js: "8"

install:
- set -e
Expand All @@ -16,9 +17,8 @@ install:

script:
- if [ -n "$NPM_RUN_LINT" ]; then npm run lint; fi
- echo "--reporter dot --color" > test/mocha.opts
- if [ -n "$NPM_PACK" ]; then npm pack; fi
- npm run test:spec
- npm run test:spec -- --reporter dot --color
- if [ -n "$NYC" ]; then npx nyc report --color && npx nyc report --reporter=text-lcov | npx coveralls; fi
- git diff --stat --exit-code
- for f in $(git ls-files --others --exclude-standard); do git diff --no-index --stat --exit-code /dev/null $next; done
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## v3.0.0 YYYY-mm-dd

- `DEFAULT_EXT` and `DEFAULT_PART` are constant strings.
- Requires Node >= 10.
- Correct typings for updates @types/node.
- Converted from tslint to eslint.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Features:

## Requirements

This module requires Node >= 8.
This module requires Node >= 10.

## Installation

Expand All @@ -36,7 +36,7 @@ npm install -D @types/node
## Usage

```js
const {FsBlobStorage} = require("fs-blob-storage")
const {FsBlobStorage, DEFAULT_EXT, DEFAULT_PART} = require("fs-blob-storage")
```

_Typescript:_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"homepage": "http://github.com/dex4er/js-fs-blob-storage",
"engines": {
"node": ">=8.0.0"
"node": ">=10.0.0"
},
"dependencies": {
"fs.mkdir-shim": "^1.1.1",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"declaration": true,
"esModuleInterop": true,
"importHelpers": true,
"lib": ["es2017"],
"lib": ["es2018"],
"module": "commonjs",
"noImplicitAny": true,
"noImplicitReturns": true,
Expand All @@ -12,7 +12,7 @@
"outDir": "./lib",
"sourceMap": true,
"strict": true,
"target": "es2017",
"target": "es2018",
"typeRoots": ["node_modules/@types"]
},
"exclude": ["./examples/**/*", "./lib/**/*", "./test/**/*"]
Expand Down