Commit Graph

396 Commits

Author SHA1 Message Date
dependabot[bot] 899378dee9
chore(deps): bump nanoid and mocha (#835)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 15:13:04 +00:00
dependabot[bot] b1bcc3dd73
chore(deps): bump qs and body-parser (#833)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 15:08:42 +00:00
dependabot[bot] 5d497db230
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#832)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 15:08:29 +00:00
dependabot[bot] 57ccdf4253
chore(deps): bump engine.io and socket.io (#831)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Helder Berto <helder.burato@gmail.com>
2022-12-10 15:08:17 +00:00
dependabot[bot] 07ba4a89da
chore(deps): bump loader-utils from 1.4.0 to 1.4.2 (#830)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 15:07:47 +00:00
dependabot[bot] f4daa96342
chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#829)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-10 15:07:35 +00:00
dependabot[bot] b31ef09fd0
chore(deps): bump terser from 5.5.1 to 5.14.2 (#813)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-29 11:33:13 +01:00
Beto Muniz 2b2f9eef6f 2.0.11 2022-05-04 14:51:40 -03:00
Beto Muniz 21db7250ed
Support more HTML input types. Close #800 (#808)
* Support more HTML input types.

* Improve test description. Remove .only

* Apply logic only when target is an input element
2022-05-04 14:47:44 -03:00
Patrick H. Lauke 08169bce8c
Fix #805 don't `blur()` the trigger after a clipboard action (#807)
* Remove the `blur()` following a clipboard action

It's pointless to set `focus()` on the trigger first, if in the next step you're just going to `blur()` the active element anyway.

* Tweak test to not expect active element to be body

Since it's now not `blur()`ing anymore

* Fix test

see https://github.com/zenorocha/clipboard.js/pull/807#discussion_r862080076
2022-05-04 14:45:44 -03:00
dependabot[bot] c7c7fda422
chore(deps): bump ansi-regex from 3.0.0 to 3.0.1 (#806)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 09:32:02 +01:00
Shabai Liu 9b0c87b184
Fix type for copy function (#795)
Co-authored-by: Shabai Liu <shabai_liu@apple.com>
2022-04-28 17:15:48 -03:00
dependabot[bot] 98c96a1136
chore(deps): bump minimist from 1.2.5 to 1.2.6 (#803)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 09:40:26 +01:00
dependabot[bot] 7bb4433be0
chore(deps-dev): bump karma from 6.3.14 to 6.3.16 (#799) 2022-03-06 13:53:54 +00:00
dependabot[bot] 67067f316f
Bump pathval from 1.1.0 to 1.1.1 (#796)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 16:08:43 +00:00
dependabot[bot] 2d11cf1a9d
Bump karma from 6.0.0 to 6.3.14 (#797)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 16:08:32 +00:00
dependabot[bot] 88bb463cc5
Bump follow-redirects from 1.14.7 to 1.14.8 (#798)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-18 16:08:20 +00:00
Beto Muniz 98d92f2a42 2.0.10 2022-02-02 12:21:27 -03:00
Beto Muniz 7d675f5fc1
Fix Event API. Update demos. Update tests (#793) 2022-02-02 12:13:00 -03:00
Beto Muniz 9698b1176a 2.0.9 2022-01-27 22:50:17 -03:00
dependabot[bot] 2f70c7af6e
Bump follow-redirects from 1.13.1 to 1.14.7 (#788)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 09:32:59 +00:00
dependabot[bot] b0cd56df35
Bump engine.io from 4.1.0 to 4.1.2 (#789)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 09:32:46 +00:00
dependabot[bot] d07940ecb0
Bump log4js from 6.3.0 to 6.4.0 (#790)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-27 09:32:32 +00:00
dependabot[bot] 57345ab3ce
Bump browserslist from 4.16.1 to 4.16.6 (#763) 2021-06-29 21:03:06 +01:00
dependabot[bot] 641ac851e8
Bump ws from 7.4.2 to 7.4.6 (#764) 2021-06-29 21:02:45 +01:00
Beto Muniz 44df750c9f
Isolate actions strategies in order to code improvement and programmatic usage. (#749)
* Isolate cut, copy and core helper functions.

* Update tests to accommodate new proposal

* Add/update tests

* Add tests to static copy/cut methods

* Update condition syntax based on PR reviews

* Migrate clipboard-action-default to functional approach. Update tests. Add tests

* Improve folder structure. Clean up code.

* Add types. Fix tsd check env. Improve in-code doc comments

* Improve in-code doc comments
2021-05-18 11:46:22 -03:00
dependabot[bot] 8762fc7c66
Bump ssri from 6.0.1 to 6.0.2 (#756)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 13:36:22 +01:00
dependabot[bot] 957080dcad
Bump lodash from 4.17.20 to 4.17.21 (#760)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 13:36:14 +01:00
dependabot[bot] b9d1496b9c
Bump ua-parser-js from 0.7.23 to 0.7.28 (#761)
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.23 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.23...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 13:36:06 +01:00
dependabot[bot] f1b1ab2b1a
Bump hosted-git-info from 2.8.8 to 2.8.9 (#762)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 13:35:48 +01:00
Vitor Alencar 5ffe395b3a
Merge pull request #752 from XhmikosR/patch-1
Update CI config
2021-05-12 21:59:16 +02:00
XhmikosR 9c062df900
Update CI config
* add `FORCE_COLOR: 2` so that we get colored output
* update to `actions/setup-node@v2`
* fix formatting
2021-04-08 09:29:09 +03:00
Vitor Alencar 734d36b6ff
Merge pull request #747 from zenorocha/feat-update-meteor-package
update release version for package.js
2021-03-21 12:57:36 +01:00
Vitor Alencar 4c2eb0e9cf
update to a project wide babel config (#746) 2021-03-18 14:41:50 -03:00
Vitor Alencar 7da9deb2cc
Merge pull request #744 from zenorocha/bump-bower-verssion
updating bower version
2021-03-16 17:41:47 +01:00
vitormalencar cda958cd5f update release version for package.js 2021-03-16 17:32:48 +01:00
vitormalencar 983a8c0b41 updating bower version 2021-03-11 16:57:30 +01:00
Vitor Alencar ac3ed34071
Merge pull request #743 from zenorocha/feat-fix-bower-release
updating production version for bower
2021-03-11 16:51:39 +01:00
vitormalencar 5c27fe02b8 updating production version for bower 2021-03-11 16:12:59 +01:00
vitormalencar 7dea403fbb 2.0.8 2021-03-10 21:28:10 +01:00
Vitor Alencar 47f64816eb
Merge pull request #741 from zenorocha/feat-fix-webpack-target
feat adding es5 as target for webpack compilation
2021-03-10 17:29:00 +01:00
Vitor Alencar 801cdd4ee3
Merge pull request #736 from zenorocha/feat-update-type-definitions
updating type definitions
2021-03-10 16:39:23 +01:00
vitormalencar 6f10cf7e12 feat adding es5 as target for webpack compilation 2021-03-09 11:38:00 +01:00
vitormalencar 2d5e3d2317 updating type definitons 2021-03-07 14:15:36 +01:00
vitormalencar c38b4ee76f 2.0.7 2021-03-06 13:51:09 +01:00
Vitor Alencar 15737fe877
Merge pull request #733 from zenorocha/feature-732-removing-dom-el 2021-03-01 14:07:29 +01:00
vitormalencar c23b30d052 feat : add blank line between class members 2021-02-25 16:29:36 +01:00
vitormalencar 4ab89f3d98 feat: merge with master 2021-02-25 16:25:24 +01:00
vitormalencar 7b7ce32b65 Merge branch 'master' of github.com:zenorocha/clipboard.js into feature-732-removing-dom-el
* 'master' of github.com:zenorocha/clipboard.js:
  refactor(workflows): remove unused lint file
  feat(workflows): add lint code job
  chore(eslint): add comments and new rules
  chore(deps): remove sort-package-json
  refactor: remove eslint ignore rules comments
  ci(lint): create a ci workflow
  chore(clipboard): remove linter bugs
  chore(deps): add dependencies and new scripts
  chore(test): remove linter bugs
  chore(linter): add linter configuration
  feat(eslint): add linter configuration
  chore(deps): add linter
  updating naming
  adding deploy action
2021-02-25 16:21:53 +01:00
vitormalencar 5d3da80640 feat: updating test coverage 2021-02-25 16:16:42 +01:00