@shgysk8zer0/polyfills 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -15,3 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
 
16
16
  ### Added
17
17
  - Add missing `deprefixer.js` script
18
+
19
+ ## [v0.0.5] - 2023-05-08
20
+
21
+ ### Changed
22
+ - Update README with instructions
package/README.md CHANGED
@@ -1,2 +1,77 @@
1
1
  # polyfills
2
2
  A set of JavaScript polyfills
3
+
4
+ [![CodeQL](https://github.com/shgysk8zer0/polyfills/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/shgysk8zer0/polyfills/actions/workflows/codeql-analysis.yml)
5
+ ![Node CI](https://github.com/shgysk8zer0/polyfills/workflows/Node%20CI/badge.svg)
6
+ ![Lint Code Base](https://github.com/shgysk8zer0/polyfills/workflows/Lint%20Code%20Base/badge.svg)
7
+
8
+ [![GitHub license](https://img.shields.io/github/license/shgysk8zer0/polyfills.svg)](https://github.com/shgysk8zer0/polyfills/blob/master/LICENSE)
9
+ [![GitHub last commit](https://img.shields.io/github/last-commit/shgysk8zer0/polyfills.svg)](https://github.com/shgysk8zer0/polyfills/commits/master)
10
+ [![GitHub release](https://img.shields.io/github/release/shgysk8zer0/polyfills?logo=github)](https://github.com/shgysk8zer0/polyfills/releases)
11
+ [![GitHub Sponsors](https://img.shields.io/github/sponsors/shgysk8zer0?logo=github)](https://github.com/sponsors/shgysk8zer0)
12
+
13
+ [![npm](https://img.shields.io/npm/v/@shgysk8zer0/polyfills)](https://www.npmjs.com/package/@shgysk8zer0/polyfills)
14
+ <!-- ![node-current](https://img.shields.io/node/v/@shgysk8zer0/polyfills) -->
15
+ ![npm bundle size gzipped](https://img.shields.io/bundlephobia/minzip/@shgysk8zer0/polyfills)
16
+ [![npm](https://img.shields.io/npm/dw/@shgysk8zer0/polyfills?logo=npm)](https://www.npmjs.com/package/@shgysk8zer0/polyfills)
17
+
18
+ [![GitHub followers](https://img.shields.io/github/followers/shgysk8zer0.svg?style=social)](https://github.com/shgysk8zer0)
19
+ ![GitHub forks](https://img.shields.io/github/forks/shgysk8zer0/polyfills.svg?style=social)
20
+ ![GitHub stars](https://img.shields.io/github/stars/shgysk8zer0/polyfills.svg?style=social)
21
+ [![Twitter Follow](https://img.shields.io/twitter/follow/shgysk8zer0.svg?style=social)](https://twitter.com/shgysk8zer0)
22
+
23
+ [![Donate using Liberapay](https://img.shields.io/liberapay/receives/shgysk8zer0.svg?logo=liberapay)](https://liberapay.com/shgysk8zer0/donate "Donate using Liberapay")
24
+ - - -
25
+
26
+ - [Code of Conduct](./.github/CODE_OF_CONDUCT.md)
27
+ - [Contributing](./.github/CONTRIBUTING.md)
28
+ <!-- - [Security Policy](./.github/SECURITY.md) -->
29
+
30
+ ## Installation / Usage
31
+ This may be used via [unpkg.com](https://unpkg.com/browse/@shgysk8zer0/polyfills/),
32
+ as an [npm package](https://www.npmjs.com/package/@shgysk8zer0/polyfills), or
33
+ as a submodule.
34
+
35
+ Simply adding the `<script>`, `import`, or `require()` is all you need to do.
36
+
37
+ ### From CDN
38
+
39
+ ### The simplest
40
+
41
+ ```html
42
+ <script src="https://unpkg.com/@shgysk8zer0/polyfills/all.min.js" referrerpolicy="no-referrer" crossorigin="anonymous" defer=""></script>
43
+ ```
44
+
45
+ ### With version and SRI
46
+
47
+ ```html
48
+ <script src="https://unpkg.com/@shgysk8zer0/polyfills@0.0.4/all.min.js" referrerpolicy="no-referrer" crossorigin="anonymous" integrity="sha384-xoY6kDRPTvbDfGdGA3S6Ercudev5mWGBWZIErLB38f7TeN6hV7zof6WBpzMdx/z0" fetchpriority="high" defer=""></script>
49
+ ```
50
+
51
+ ### Using specific polyfills via `<script>`
52
+
53
+ **Note** that some polyfills require `type="module"`
54
+
55
+ ```html
56
+ <script src="https://unpkg.com/@shgysk8zer0/polyfills/math.js" referrerpolicy="no-referrer" crossorigin="anonymous" defer=""></script>
57
+ ```
58
+
59
+ ### Selecting specific polyfills as `import`s
60
+
61
+ ```js
62
+ import 'https://unpkg.com/@shgysk8zer0/polyfills/abort.js';
63
+ import 'https://unpkg.com/@shgysk8zer0/polyfills/elementInternals.js';
64
+ /* ... */
65
+ ```
66
+
67
+ ## As an npm package
68
+
69
+ ```bash
70
+ npm i @shgysk8zer0/polyfills
71
+ ```
72
+
73
+ ## As a git submodule
74
+
75
+ ```bash
76
+ git submodule add https://github.com/shgysk8zer0/polyfills.git :path
77
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shgysk8zer0/polyfills",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "private": false,
5
5
  "description": "A collection of JavaScript polyfills",
6
6
  "config": {