Skip to content

Commit

Permalink
feat: adding support for filename encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheidegger committed Feb 12, 2021
1 parent d641571 commit 9fcfb6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
- name: Lint
run: yarn lint
- name: Test
run: yarn coverage
run: yarn ci:coverage
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const debug = require('debug')('extract-zip')
const { createWriteStream, promises: fs } = require('fs')
const getStream = require('get-stream')
const path = require('path')
const { promisify } = require('util')
const { promisify, TextDecoder } = require('util')
const stream = require('stream')
const yauzl = require('yauzl')

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"lint:js": "eslint .",
"lint:ts": "eslint --config .eslintrc.typescript.js --ext .ts .",
"test": "yarn lint && ava",
"ci:coverage": "full-icu node_modules/nyc/bin/nyc.js ava",
"tsd": "tsd"
},
"files": [
Expand All @@ -29,7 +30,7 @@
"extract"
],
"engines": {
"node": ">= 10.17.0"
"node": ">= 10.18.0"
},
"dependencies": {
"debug": "^4.1.1",
Expand All @@ -40,6 +41,7 @@
"@types/yauzl": "^2.9.1"
},
"devDependencies": {
"@leichtgewicht/full-icu": "^1.3.3",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"ava": "^3.5.1",
Expand Down

0 comments on commit 9fcfb6c

Please sign in to comment.