Skip to content

Commit

Permalink
feat: Replace fd-slicer dependency with fd-slicer2 fork
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Feb 24, 2023
1 parent 96f0eb5 commit 07d27a2
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 20 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CI

on:
push:
branches: [ master ]

pull_request:
branches: [ master ]

workflow_dispatch: {}

jobs:
Job:
name: Node.js
uses: artusjs/github-actions/.github/workflows/node-test.yml@v1
with:
os: 'ubuntu-latest, macos-latest'
version: '8, 10, 12, 14, 16, 18'
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release

on:
push:
branches: [ master ]

workflow_dispatch: {}

jobs:
release:
name: Node.js
uses: artusjs/github-actions/.github/workflows/node-release.yml@v1
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
with:
checkTest: false
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"name": "yauzl",
"name": "yauzl2",
"version": "2.10.0",
"description": "yet another unzip library for node",
"main": "index.js",
"scripts": {
"test": "node test/test.js",
"test-cov": "istanbul cover test/test.js",
"test-travis": "istanbul cover --report lcovonly test/test.js"
"ci": "istanbul cover --report lcovonly test/test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/thejoshwolfe/yauzl.git"
"url": "https://github.com/node-modules/yauzl.git"
},
"keywords": [
"unzip",
Expand All @@ -22,12 +21,12 @@
"author": "Josh Wolfe <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/thejoshwolfe/yauzl/issues"
"url": "https://github.com/node-modules/yauzl/issues"
},
"homepage": "https://github.com/thejoshwolfe/yauzl",
"homepage": "https://github.com/node-modules/yauzl",
"dependencies": {
"fd-slicer": "~1.1.0",
"buffer-crc32": "~0.2.3"
"buffer-crc32": "~0.2.3",
"fd-slicer2": "^1.2.0"
},
"devDependencies": {
"bl": "~1.0.0",
Expand Down

0 comments on commit 07d27a2

Please sign in to comment.