Bump clipboard from 1.7.1 to 2.0.4 (#1479)

Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 1.7.1 to 2.0.4.
<details>
<summary>Release notes</summary>

*Sourced from [clipboard's releases](https://github.com/zenorocha/clipboard.js/releases).*

> ## v2.0.4
> * Support server-side render
> 
> ## v2.0.3
> * Always run Webpack in production mode
> 
> ## v2.0.2
> * Updates to Webpack 4 and fixes issue when requiring the module.
> 
> ## v2.0.1
> * Fixes packaging issue when requiring module.
> 
> ## v2.0.0
> * Changes constructor from `new Clipboard()` to `new ClipboardJS()` [#468](https://github-redirect.dependabot.com/zenorocha/clipboard.js/issues/468) 
> 
> There are **no new features on this release**. This breaking change was only introduced due to a name conflict with the new `window.Clipboard` native API.
</details>
<details>
<summary>Commits</summary>

- [`d17eca0`](d17eca050e) 2.0.4
- [`5381600`](5381600a26) fix webpack umd build ([#599](https://github-redirect.dependabot.com/zenorocha/clipboard.js/issues/599))
- [`5be63e2`](5be63e28dd) 2.0.3
- [`adc669d`](adc669df06) Always run webpack in production mode. ([#595](https://github-redirect.dependabot.com/zenorocha/clipboard.js/issues/595))
- [`b57e6d0`](b57e6d019f) Don't claim to support ESM
- [`3d005b5`](3d005b547e) Maintain banner in minified file
- [`cf9e8fd`](cf9e8fd7ce) Updates devDependencies
- [`f1d99de`](f1d99de5d3) Removes .npmignore file
- [`fdb66d3`](fdb66d3f16) 2.0.2
- [`e0f8224`](e0f82241d0) Removes bundle analyzer
- Additional commits viewable in [compare view](https://github.com/zenorocha/clipboard.js/compare/v1.7.1...v2.0.4)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=clipboard&package-manager=npm_and_yarn&previous-version=1.7.1&new-version=2.0.4)](https://dependabot.com/compatibility-score.html?dependency-name=clipboard&package-manager=npm_and_yarn&previous-version=1.7.1&new-version=2.0.4)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
This commit is contained in:
dependabot[bot] 2019-01-17 18:07:00 +01:00 коммит произвёл Jannis Leidel
Родитель 2cbb8e0f40
Коммит bc4b892d9d
3 изменённых файлов: 9 добавлений и 17 удалений

Просмотреть файл

@ -66,7 +66,7 @@ $(function() {
}, 1000);
}
var clipboard = new Clipboard(selector);
var clipboard = new ClipboardJS(selector);
clipboard.on('success', function(e) {
setTooltip(e.trigger, 'Copied!');

22
package-lock.json сгенерированный
Просмотреть файл

@ -38,26 +38,19 @@
"integrity": "sha1-t8/oQ6PG0iHAMpPJpGSkzDXXOWg="
},
"clipboard": {
"version": "1.7.1",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-1.7.1.tgz",
"integrity": "sha1-Ng1taUbpmnof7zleQrqStem1oWs=",
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.4.tgz",
"integrity": "sha512-Vw26VSLRpJfBofiVaFb/I8PVfdI1OxKcYShe6fm0sP/DtmiWQNCjhM/okTvdCo0G+lMMm1rMYbk4IK4x1X+kgQ==",
"requires": {
"good-listener": "^1.2.2",
"select": "^1.1.2",
"tiny-emitter": "^2.0.0"
},
"dependencies": {
"tiny-emitter": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz",
"integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow=="
}
}
},
"delegate": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/delegate/-/delegate-3.1.3.tgz",
"integrity": "sha1-moJRp3fXAl+qVXN7w7BxdCEnqf0="
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz",
"integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw=="
},
"good-listener": {
"version": "1.2.2",
@ -847,8 +840,7 @@
"tiny-emitter": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz",
"integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow==",
"optional": true
"integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow=="
},
"underscore": {
"version": "1.7.0",

Просмотреть файл

@ -12,7 +12,7 @@
"bootstrap": "3.4.0",
"bootstrap-confirmation2": "2.4.2",
"bootstrap-datetime-picker": "2.4.4",
"clipboard": "1.7.1",
"clipboard": "2.0.4",
"jquery": "3.3.1",
"marked": "0.6.0",
"moment": "2.23.0",