Skip to content

Commit 217687b

Browse files
committed
Fixed vulnerabilities
1 parent 59868a9 commit 217687b

File tree

7 files changed

+524
-349
lines changed

7 files changed

+524
-349
lines changed

.gitattributes

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
# Auto detect text files and perform LF normalization
1+
# Set the default behavior, in case users don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Declare files that will always have LF line endings on checkout.
25
* text eol=lf
36

7+
# Denote all files that are truly binary and should not be modified.
8+
*.png binary
9+
*.jpg binary
10+
*.gif binary
11+
*.pdf binary

.github/workflows/release-package.yml

+9
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@ name: Publish Package to npmjs
22
on:
33
release:
44
types: [created]
5+
workflow_dispatch:
6+
inputs:
7+
branch:
8+
description: 'The branch to checkout'
9+
required: false
10+
default: 'master'
511
jobs:
612
build:
713
runs-on: ubuntu-latest
814
steps:
915
- uses: actions/checkout@v2
16+
with:
17+
ref: ${{ github.event.inputs.branch || 'master' }}
18+
1019
# Setup .npmrc file to publish to npm
1120
- uses: actions/setup-node@v2
1221
with:

0 commit comments

Comments
 (0)