Skip to content

Commit 220355c

Browse files
authored
Merge branch 'main' into patch-3
2 parents c98abe5 + 9d5a473 commit 220355c

File tree

13 files changed

+4359
-168
lines changed

13 files changed

+4359
-168
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
name: "CodeQL"
8+
9+
on:
10+
push:
11+
branches: [ main ]
12+
pull_request:
13+
# The branches below must be a subset of the branches above
14+
branches: [ main ]
15+
schedule:
16+
- cron: '45 6 * * 4'
17+
18+
jobs:
19+
analyze:
20+
name: Analyze
21+
runs-on: ubuntu-latest
22+
permissions:
23+
actions: read
24+
contents: read
25+
security-events: write
26+
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
language: [ 'javascript' ]
31+
32+
steps:
33+
- name: Checkout repository
34+
uses: actions/checkout@v2
35+
36+
# Initializes the CodeQL tools for scanning.
37+
- name: Initialize CodeQL
38+
uses: github/codeql-action/init@v1
39+
with:
40+
languages: ${{ matrix.language }}
41+
# If you wish to specify custom queries, you can do so here or in a config file.
42+
# By default, queries listed here will override any specified in a config file.
43+
# Prefix the list here with "+" to use these queries and those in the config file.
44+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
45+
46+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
47+
# If this step fails, then you should remove it and run the build manually (see below)
48+
- name: Autobuild
49+
uses: github/codeql-action/autobuild@v1
50+
51+
# ℹ️ Command-line programs to run using the OS shell.
52+
# 📚 https://git.io/JvXDl
53+
54+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
55+
# and modify them (or add more) to build your code if your project
56+
# uses a compiled language
57+
58+
#- run: |
59+
# make bootstrap
60+
# make release
61+
62+
- name: Perform CodeQL Analysis
63+
uses: github/codeql-action/analyze@v1

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ build/Release
8282
# Dependency directories
8383
node_modules/
8484
jspm_packages/
85-
.vscode
85+
/.vscode
8686

8787
# TypeScript v1 declaration files
8888
typings/
@@ -537,5 +537,7 @@ healthchecksdb
537537

538538
# Generic directories
539539
# dist/
540+
dist/share.js.map
541+
dist/share-min.js.map
540542

541543
# End of https://www.gitignore.io/api/node,linux,macos,windows,sublimetext,visualstudio,visualstudiocode

.vscode/settings.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"statusBar.foreground": "#e7e7e7",
1414
"statusBarItem.hoverBackground": "#302055",
1515
"titleBar.inactiveBackground": "#1b123099",
16-
"titleBar.inactiveForeground": "#e7e7e799"
16+
"titleBar.inactiveForeground": "#e7e7e799",
17+
"sash.hoverBorder": "#302055",
18+
"statusBarItem.remoteBackground": "#1b1230",
19+
"statusBarItem.remoteForeground": "#e7e7e7"
1720
},
1821
"peacock.color": "#1b1230"
19-
}
22+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ navigator.share({
4646
```
4747

4848
But in this case, you can also pass your `Facebook App Id` to enable sharing with **messenger**.
49-
Also, you can pass in a list of hashtags to be used when sharing with twitter.
49+
Also, you can pass in a list of hashtags to be used when sharing with twitter or facebook. Only one hashtag can be shared with facebook so the first one in the list will be shared.
5050

5151
```js
5252
navigator.share({

SECURITY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Reporting Security Issues
2+
3+
If you believe you have found a security vulnerability in this project, we encourage you to let us know right away.
4+
5+
We will investigate all legitimate reports and do our best to quickly fix the problem.
6+
7+
Email [email protected] to disclose any security vulnerabilities.

dist/share-min.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/share.js

Lines changed: 430 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)