Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.2.1 #166

Merged
merged 118 commits into from
Jan 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
8973083
Merge pull request #104 from Basaingeal/release/v1.2.0
Basaingeal Dec 3, 2019
a998424
Bump typescript from 3.7.2 to 3.7.3
dependabot-preview[bot] Dec 4, 2019
cc60e7a
Merge pull request #105 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 4, 2019
f1f3cdd
Bump @babel/cli from 7.7.4 to 7.7.5
dependabot-preview[bot] Dec 6, 2019
7f59463
Merge pull request #106 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 6, 2019
731a094
Bump @babel/core from 7.7.4 to 7.7.5
dependabot-preview[bot] Dec 6, 2019
ed8f77f
Merge pull request #107 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 6, 2019
2fb233b
Bump @babel/preset-env from 7.7.4 to 7.7.5
dependabot-preview[bot] Dec 6, 2019
c854107
Merge pull request #108 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 6, 2019
1ae2c13
Bump terser-webpack-plugin from 2.2.1 to 2.2.2
dependabot-preview[bot] Dec 6, 2019
ef6b566
Merge pull request #109 from Basaingeal/dependabot/npm_and_yarn/terse…
mergify[bot] Dec 6, 2019
65b64f7
Bump @babel/preset-env from 7.7.5 to 7.7.6
dependabot-preview[bot] Dec 8, 2019
e53e3ce
Merge pull request #110 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 8, 2019
f79f1e6
Bump @types/node from 12.12.14 to 12.12.15
dependabot-preview[bot] Dec 9, 2019
bc6905f
Merge pull request #111 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 9, 2019
35b092e
Bump @typescript-eslint/parser from 2.10.0 to 2.11.0
dependabot-preview[bot] Dec 9, 2019
59eeed2
Merge pull request #112 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 9, 2019
f1c6f34
Bump @typescript-eslint/eslint-plugin from 2.10.0 to 2.11.0
dependabot-preview[bot] Dec 9, 2019
c292fd7
Merge pull request #113 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 9, 2019
d5178ae
Bump @types/node from 12.12.15 to 12.12.16
dependabot-preview[bot] Dec 9, 2019
c89e1d0
Merge pull request #114 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 9, 2019
c0bd2b8
Bump @types/node from 12.12.16 to 12.12.17
dependabot-preview[bot] Dec 10, 2019
30b6c0b
Merge pull request #115 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 10, 2019
d5926fa
Bump terser-webpack-plugin from 2.2.2 to 2.2.3
dependabot-preview[bot] Dec 11, 2019
18a64af
Merge pull request #116 from Basaingeal/dependabot/npm_and_yarn/terse…
mergify[bot] Dec 11, 2019
47cbb03
Bump terser-webpack-plugin from 2.2.3 to 2.3.0
dependabot-preview[bot] Dec 12, 2019
0512928
Merge pull request #117 from Basaingeal/dependabot/npm_and_yarn/terse…
mergify[bot] Dec 12, 2019
286fb33
Bump webpack from 4.41.2 to 4.41.3
dependabot-preview[bot] Dec 16, 2019
e60f978
Merge pull request #118 from Basaingeal/dependabot/npm_and_yarn/webpa…
mergify[bot] Dec 16, 2019
821dcde
Bump @types/node from 12.12.17 to 12.12.18
dependabot-preview[bot] Dec 16, 2019
53db92f
Merge pull request #119 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 16, 2019
0379825
Bump @typescript-eslint/parser from 2.11.0 to 2.12.0
dependabot-preview[bot] Dec 16, 2019
f2e85b3
Merge pull request #120 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 16, 2019
4934b00
Bump @typescript-eslint/eslint-plugin from 2.11.0 to 2.12.0
dependabot-preview[bot] Dec 16, 2019
877a4b3
Merge pull request #121 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 16, 2019
807ed23
Bump @types/node from 12.12.18 to 12.12.21
dependabot-preview[bot] Dec 18, 2019
1b24950
Merge pull request #126 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 18, 2019
0934098
Bump @babel/cli from 7.7.5 to 7.7.7
dependabot-preview[bot] Dec 19, 2019
cce05eb
Merge pull request #128 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 19, 2019
29c6d5a
Bump @babel/preset-typescript from 7.7.4 to 7.7.7
dependabot-preview[bot] Dec 19, 2019
76fff9b
Merge pull request #127 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 19, 2019
89f73e6
Bump @babel/preset-env from 7.7.6 to 7.7.7
dependabot-preview[bot] Dec 19, 2019
96e9967
Merge pull request #129 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 19, 2019
8f9f478
Bump @babel/core from 7.7.5 to 7.7.7
dependabot-preview[bot] Dec 19, 2019
9382ad2
Merge pull request #130 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Dec 19, 2019
39ed73f
Bump webpack from 4.41.3 to 4.41.4
dependabot-preview[bot] Dec 19, 2019
3de11be
Merge pull request #131 from Basaingeal/dependabot/npm_and_yarn/webpa…
mergify[bot] Dec 19, 2019
24293a1
Bump terser-webpack-plugin from 2.3.0 to 2.3.1
dependabot-preview[bot] Dec 19, 2019
8580baa
Merge pull request #122 from Basaingeal/dependabot/npm_and_yarn/terse…
mergify[bot] Dec 19, 2019
6d8291f
Bump eslint from 6.7.2 to 6.8.0
dependabot-preview[bot] Dec 20, 2019
6094847
Merge pull request #132 from Basaingeal/dependabot/npm_and_yarn/eslin…
mergify[bot] Dec 20, 2019
059451a
Bump typescript from 3.7.3 to 3.7.4
dependabot-preview[bot] Dec 20, 2019
e11053d
Merge pull request #133 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 20, 2019
5932de9
Bump @types/node from 12.12.21 to 13.1.0
dependabot-preview[bot] Dec 23, 2019
bf228ff
Merge pull request #134 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 23, 2019
347391e
Bump @typescript-eslint/eslint-plugin from 2.12.0 to 2.13.0
dependabot-preview[bot] Dec 23, 2019
63d5163
Merge pull request #135 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 23, 2019
cedc593
Bump @typescript-eslint/parser from 2.12.0 to 2.13.0
dependabot-preview[bot] Dec 23, 2019
d27bc4b
Merge pull request #136 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 23, 2019
968e7e7
Bump eslint-config-prettier from 6.7.0 to 6.8.0
dependabot-preview[bot] Dec 25, 2019
6476165
Merge pull request #137 from Basaingeal/dependabot/npm_and_yarn/eslin…
mergify[bot] Dec 25, 2019
d4808f5
Bump @types/node from 13.1.0 to 13.1.1
dependabot-preview[bot] Dec 26, 2019
3ff2138
Merge pull request #138 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 26, 2019
decf122
Bump eslint-config-prettier from 6.8.0 to 6.9.0
dependabot-preview[bot] Dec 27, 2019
ca4631e
Merge pull request #139 from Basaingeal/dependabot/npm_and_yarn/eslin…
mergify[bot] Dec 27, 2019
3308f10
Bump webpack from 4.41.4 to 4.41.5
dependabot-preview[bot] Dec 27, 2019
3922d2e
Merge pull request #140 from Basaingeal/dependabot/npm_and_yarn/webpa…
mergify[bot] Dec 27, 2019
37412af
Bump @types/node from 13.1.1 to 13.1.2
dependabot-preview[bot] Dec 30, 2019
1cffe78
Merge pull request #141 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 30, 2019
c07658a
Bump @typescript-eslint/eslint-plugin from 2.13.0 to 2.14.0
dependabot-preview[bot] Dec 30, 2019
00efe74
Merge pull request #142 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 30, 2019
668b4a2
Bump @typescript-eslint/parser from 2.13.0 to 2.14.0
dependabot-preview[bot] Dec 30, 2019
b7b7a66
Merge pull request #143 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Dec 30, 2019
c97b6ed
Bump @types/node from 13.1.2 to 13.1.3
dependabot-preview[bot] Jan 3, 2020
58f8266
Merge pull request #144 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 3, 2020
636900b
Bump @types/node from 13.1.3 to 13.1.4
dependabot-preview[bot] Jan 3, 2020
08b4416
Merge pull request #145 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 3, 2020
3208eec
Bump @typescript-eslint/eslint-plugin from 2.14.0 to 2.15.0
dependabot-preview[bot] Jan 6, 2020
7e68884
Merge pull request #146 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 6, 2020
68351e6
Bump @types/node from 13.1.4 to 13.1.5
dependabot-preview[bot] Jan 8, 2020
30380a7
Merge pull request #148 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 8, 2020
d04ee93
Bump @typescript-eslint/parser from 2.14.0 to 2.15.0
dependabot-preview[bot] Jan 8, 2020
dee8719
Merge pull request #147 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 8, 2020
ce912e8
Bump terser-webpack-plugin from 2.3.1 to 2.3.2
dependabot-preview[bot] Jan 9, 2020
0bd7060
Merge pull request #149 from Basaingeal/dependabot/npm_and_yarn/terse…
mergify[bot] Jan 9, 2020
5c66c23
Bump @types/node from 13.1.5 to 13.1.6
dependabot-preview[bot] Jan 9, 2020
8b4793c
Merge pull request #150 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 9, 2020
6d70c0a
add gotchas to readme
Basaingeal Jan 10, 2020
fe6b253
Merge branch 'develop' of https://github.com/Basaingeal/Razor.Clipboa…
Basaingeal Jan 10, 2020
7fbd721
Bump @babel/cli from 7.7.7 to 7.8.0
dependabot-preview[bot] Jan 12, 2020
5150fe8
Merge pull request #151 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 12, 2020
33d52c7
Bump @babel/core from 7.7.7 to 7.8.0
dependabot-preview[bot] Jan 12, 2020
e7e3118
Merge pull request #152 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 12, 2020
2311809
Bump @babel/preset-env from 7.7.7 to 7.8.0
dependabot-preview[bot] Jan 12, 2020
df6fee3
Merge pull request #153 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 12, 2020
7feb6ff
Bump @babel/preset-env from 7.8.0 to 7.8.2
dependabot-preview[bot] Jan 12, 2020
d502647
Merge pull request #154 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 12, 2020
17255ed
Bump @babel/preset-typescript from 7.7.7 to 7.8.0
dependabot-preview[bot] Jan 13, 2020
ca70eba
Merge pull request #155 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 13, 2020
9fe8d8c
Bump @typescript-eslint/eslint-plugin from 2.15.0 to 2.16.0
dependabot-preview[bot] Jan 13, 2020
bc76f81
Merge pull request #156 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 13, 2020
1ac41f3
Bump @babel/cli from 7.8.0 to 7.8.3
dependabot-preview[bot] Jan 13, 2020
2c196e1
Merge pull request #158 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 13, 2020
172fc2f
Bump @babel/core from 7.8.0 to 7.8.3
dependabot-preview[bot] Jan 13, 2020
8a760e9
Merge pull request #159 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 13, 2020
9c829ef
Bump @babel/preset-env from 7.8.2 to 7.8.3
dependabot-preview[bot] Jan 13, 2020
d81161e
Merge pull request #161 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 13, 2020
64d9afc
Bump @babel/preset-typescript from 7.8.0 to 7.8.3
dependabot-preview[bot] Jan 13, 2020
28759e5
Merge pull request #160 from Basaingeal/dependabot/npm_and_yarn/babel…
mergify[bot] Jan 13, 2020
5e28ea6
Bump @typescript-eslint/parser from 2.15.0 to 2.16.0
dependabot-preview[bot] Jan 13, 2020
26f2712
Merge pull request #157 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 13, 2020
dc458d9
Bump Microsoft.AspNetCore.Components.Web from 3.1.0 to 3.1.1
dependabot-preview[bot] Jan 14, 2020
6d4feea
Merge pull request #163 from Basaingeal/dependabot/nuget/Microsoft.As…
Basaingeal Jan 14, 2020
9ecc249
Bump Microsoft.AspNetCore.Components from 3.1.0 to 3.1.1
dependabot-preview[bot] Jan 14, 2020
067f094
Merge pull request #162 from Basaingeal/dependabot/nuget/Microsoft.As…
Basaingeal Jan 14, 2020
7da75f7
Bump @types/node from 13.1.6 to 13.1.7
dependabot-preview[bot] Jan 15, 2020
2945b02
Merge pull request #164 from Basaingeal/dependabot/npm_and_yarn/types…
mergify[bot] Jan 15, 2020
d6551da
v1.2.1 changes
Jan 15, 2020
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
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# v1.2.0
# v1.2.1

- bump `Microsoft.AspNetCore.Components` to `3.1.0`
- bump `Microsoft.AspNetCore.Components.Web` to `3.1.0`
- bump `Microsoft.AspNetCore.Components` to `3.1.1`
- bump `Microsoft.AspNetCore.Components.Web` to `3.1.1`
4 changes: 2 additions & 2 deletions CurrieTechnologies.Razor.Clipboard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="3.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="3.1.1" />
</ItemGroup>

</Project>
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,21 @@ This package provides Blazor applications with access to the browser's [Clipboar

## Compatibility

| Chrome | Edge Legacy | Edge (Chromium) | Firefox | IE | Opera | Safari |
| :----: | :---------: | :-------------: | :-----: | :-: | :----: | :----: |
| ✔️ 63+ | ❌ | ✔️ | ❌\* | ❌ | ✔️ 53+ | ❔ |
| Chrome | Edge Legacy | Edge (Chromium) | Firefox | IE | Opera | Safari |
| :----: | :---------: | :-------------: | :-----: | :---: | :----: | :----: |
| ✔️ 63+ | ❌ | ✔️ | ❌\* | | ✔️ 53+ | ❔ |

_\* Firefox does support the clipboard API, but in a very restricted way that Blazor doesn't support._

### Clipboard API Gotchas

The Clipboard API is a relatively new API and presents some security concerns, so keep these in mind.

1. Clipboard events can only be raised in response to user input.
2. Focus must be on the DOM window. (not the debugger, or another window)
3. The page must be served over HTTPS

### References

[Unblocking Clipboard Access](https://developers.google.com/web/updates/2018/03/clipboardapi)
[Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API)
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "currietechnologies-razorclipboard",
"version": "1.2.0",
"version": "1.2.1",
"description": "A Razor Class Library for interacting with the browser clipboard",
"scripts": {
"build": "SET NODE_ENV=production && webpack -p --color",
Expand All @@ -12,21 +12,21 @@
"babel": "babel ./src/clipboard.ts --out-dir wwwroot --extensions .ts,.tsx"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@types/node": "^12.12.14",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@types/node": "^13.1.7",
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"prettier": "^1.19.1",
"terser-webpack-plugin": "^2.2.1",
"typescript": "^3.7.2",
"webpack": "^4.41.2",
"terser-webpack-plugin": "^2.3.2",
"typescript": "^3.7.4",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"browserslist": [
Expand Down
Loading