Skip to content

Commit ae7cda4

Browse files
author
Vic Shóstak
committed
Set size-limit to 140 ms, Update dependencies
1 parent cbbabe0 commit ae7cda4

File tree

5 files changed

+6420
-5696
lines changed

5 files changed

+6420
-5696
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 6.x
44

5+
- `6.1.3`: pushed to master only if limit `140 ms` is passed.
56
- `6.1.2`: pushed to master only if limit `250 ms` is passed.
67
- `6.1.0`: added Flipboard and WeChat; switch StumbleUpon to Mix; deleted GooglePlus.
78
- `6.0.3`: goodshare.js only support: MSIE 11+, Edge 13+, Google Chrome 59+ and FireFox 50+.
@@ -14,4 +15,4 @@
1415

1516
## 4.x
1617

17-
- `4.0.0`: no longer support the old goodshare.js version ([3.2.9](https://github.com/koddr/goodshare.js/tree/3.2.9) and lower). Thank you jQuery, but ES6 is better and cleaner. Drop support Microsoft Internet Explorer 8 and older.
18+
- `4.0.0`: no longer support the old goodshare.js version ([3.2.9](https://github.com/koddr/goodshare.js/tree/3.2.9) and lower). Thank you jQuery, but ES6 is better and cleaner. Drop support Microsoft Internet Explorer 8 and older.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<p align="center">
99
<img src="https://badge.fury.io/js/goodshare.js.svg" alt="npm version"/>
10-
<img src="https://img.shields.io/badge/minified_and_gzipped-2.56_KB-blue.svg" alt="bundle size"/>
10+
<img src="https://img.shields.io/badge/minified_and_gzipped-2.55_KB-blue.svg" alt="bundle size"/>
1111
<a href="https://www.jsdelivr.com/package/npm/goodshare.js" target="_blank">
1212
<img src="https://data.jsdelivr.com/v1/package/npm/goodshare.js/badge?style=rounded" alt="jsDelivr download"/>
1313
</a>
@@ -25,9 +25,9 @@
2525

2626
## The Why?
2727

28-
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **~36 KB** (not gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**.
28+
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **~2.55 KB** (with all dependencies, minified and gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**.
2929

30-
## [Docs](https://goodshare.js.org), [Change log](https://github.com/koddr/goodshare.js/blob/master/CHANGELOG.md)
30+
## [Docs](https://goodshare.js.org), [Change log](CHANGELOG.md)
3131

3232
## Installation
3333

@@ -84,19 +84,19 @@ By default, `goodshare.js` search this tags for get title, description and image
8484
```console
8585
foo@bar:~$ npm run size
8686

87-
Time limit: 250 ms
88-
Package size: 2.56 KB with all dependencies, minified and gzipped
87+
Time limit: 140 ms
88+
Package size: 2.55 KB with all dependencies, minified and gzipped
8989
Loading time: 52 ms on slow 3G
90-
Running time: 165 ms on Snapdragon 410
91-
Total time: 216 ms
90+
Running time: 82 ms on Snapdragon 410
91+
Total time: 133 ms
9292
```
9393

9494
_Thanks to Andrey Sitnik [@ai/size-limit](https://github.com/ai/size-limit)._
9595

9696
## Developers
9797

9898
- Idea and active development by [Vic Shóstak](https://github.com/koddr) (aka Koddr).
99-
- Collaborators:
99+
- Collaborators:
100100
- [Ilya Reshetnikov](https://github.com/devxom) (aka devxom).
101101

102102
## Project assistance

docs/index.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
## The Why?
2626

27-
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **~36 KB** (not gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**.
27+
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **~2.55 KB** (with all dependencies, minified and gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**.
2828

2929
## Installation
3030

@@ -43,34 +43,37 @@ Or include from [jsDelivr](https://www.jsdelivr.com) CDN:
4343
## Size limit report
4444

4545
``` bash
46-
$ npm run size
46+
npm run size
4747

48-
Time limit: 250 ms
49-
Package size: 2.56 KB with all dependencies, minified and gzipped
48+
Time limit: 140 ms
49+
Package size: 2.55 KB with all dependencies, minified and gzipped
5050
Loading time: 52 ms on slow 3G
51-
Running time: 165 ms on Snapdragon 410
52-
Total time: 216 ms
51+
Running time: 82 ms on Snapdragon 410
52+
Total time: 133 ms
5353
```
5454

5555
_Thanks to Andrey Sitnik [@ai/size-limit](https://github.com/ai/size-limit)._
5656

5757
## Developers
5858

5959
- Idea and active development by [Vic Shóstak](https://github.com/koddr) (aka Koddr).
60-
- Collaborators:
61-
- [Ilya Reshetnikov](https://github.com/devxom) (aka devxom).
60+
- Collaborators:
61+
- [Ilya Reshetnikov](https://github.com/devxom) (aka devxom).
6262

6363
## Project assistance
6464

6565
If you want to say «thank you» or/and support active development `goodshare.js`:
6666

6767
1. Add a GitHub Star to project.
6868
2. Twit about project [on your Twitter](https://twitter.com/intent/tweet?text=Wow%20%F0%9F%91%8D%20Useful%20%23js%20solution%20for%20%23share%20a%20link%20from%20your%20%23website%20to%20%23social%20networks%20and%20mobile%20%23messengers%3A&url=https%3A%2F%2Fgithub.com%2Fkoddr%2Fgoodshare.js).
69-
3. Help project with some money, become a Patron:
69+
3. Donate some money to project author via PayPal: [@paypal.me/koddr](https://paypal.me/koddr?locale.x=en_EN).
70+
4. Join DigitalOcean at our [referral link](https://m.do.co/c/b41859fa9b6e) (your profit is **$100** and we get $25).
7071

71-
<a href="https://www.patreon.com/bePatron?u=20124951">
72-
<img width="200px" src="https://c5.patreon.com/external/logo/[email protected]" alt="Become a Patron!"/>
73-
</a>
72+
Thanks for your support! 😘 Together, we make this project better every day.
73+
74+
### Stargazers over time
75+
76+
[![Stargazers over time](https://starchart.cc/koddr/goodshare.js.svg)](https://starchart.cc/koddr/goodshare.js)
7477

7578
## License
7679

0 commit comments

Comments
 (0)