@shgysk8zer0/polyfills 0.8.1 → 0.8.3

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
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [v0.8.3] - 2026-06-12
11
+
12
+ ### Added
13
+ - Added `SECURITY.md` for reporting security issues
14
+
15
+ ### Changed
16
+ - Update permissions in GitHub Actions
17
+ - Update `CONTRIBUTING.md`
18
+
19
+ ## [v0.8.2] - 2026-06-12
20
+
21
+ ### Added
22
+ - Add `.npmrc` to harden `npm i` & `npm ci` operations
23
+
10
24
  ## [v0.8.1] - 2026-06-11
11
25
 
12
26
  ### Fixed
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # [@shgysk8zer0/polyfills](https://www.npmjs.com/package/@shgysk8zer0/rollup-import)
2
2
 
3
3
  @shgysk8zer0/polyfills is a collection of JavaScript polyfills designed to provide
4
- modern functionality in older browsers. This library provides a range of polyfills
4
+ modern functionality in older browsers and node. This library provides a range of polyfills
5
5
  for features including `AbortSignal`, `CookieStore`, `Sanitizer`, and many more.
6
6
 
7
7
  [![CodeQL](https://github.com/shgysk8zer0/polyfills/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/shgysk8zer0/polyfills/actions/workflows/codeql-analysis.yml)
@@ -28,7 +28,7 @@ for features including `AbortSignal`, `CookieStore`, `Sanitizer`, and many more.
28
28
 
29
29
  - [Code of Conduct](./.github/CODE_OF_CONDUCT.md)
30
30
  - [Contributing](./.github/CONTRIBUTING.md)
31
- <!-- - [Security Policy](./.github/SECURITY.md) -->
31
+ - [Security Policy](./.github/SECURITY.md)
32
32
 
33
33
  ## Installation
34
34
 
@@ -40,13 +40,13 @@ You can use a CDN to access the library. Add the following script tag to your
40
40
  HTML file to load the latest version:
41
41
 
42
42
  ```html
43
- <script src="https://unpkg.com/@shgysk8zer0/polyfills[@version]/all.min.js"></script>
43
+ <script src="https://unpkg.com/@shgysk8zer0/polyfills[@version]/browser.min.js"></script>
44
44
  ```
45
45
 
46
46
  #### With version and SRI
47
47
 
48
48
  ```html
49
- <script src="https://unpkg.com/@shgysk8zer0/polyfills@0.0.6/all.min.js" referrerpolicy="no-referrer" crossorigin="anonymous" integrity="sha384-xoY6kDRPTvbDfGdGA3S6Ercudev5mWGBWZIErLB38f7TeN6hV7zof6WBpzMdx/z0" fetchpriority="high" defer=""></script>
49
+ <script src="https://unpkg.com/@shgysk8zer0/polyfills@0.8.3/browser.min.js" referrerpolicy="no-referrer" crossorigin="anonymous" integrity="sha384-xoY6kDRPTvbDfGdGA3S6Ercudev5mWGBWZIErLB38f7TeN6hV7zof6WBpzMdx/z0" fetchpriority="high" defer=""></script>
50
50
  ```
51
51
 
52
52
  ### NPM
@@ -59,7 +59,7 @@ npm install @shgysk8zer0/polyfills
59
59
  ```
60
60
  > [!Note]
61
61
  > If using this polyfills package in a node environment, you want to use `node.js` instead
62
- > of `all.js`. The node version omits polyfills that do not make sense in NodeJS, such as DOM.
62
+ > of `browser.js`. The node version omits polyfills that do not make sense in NodeJS, such as DOM.
63
63
  > Simply using `import '@shgysk8zer0/polyfills'` or `require('@shgysk8zer0/polyfills')` should work.
64
64
 
65
65
  ### Git Submodule
@@ -78,7 +78,7 @@ To use the polyfills in your project, simply import them using ES6 modules:
78
78
  ```javascript
79
79
  import '@shgysk8zer0/polyfills';
80
80
  // Or
81
- import 'https://unpkg.com/@shgysk8zer0/polyfills/all.js';
81
+ import 'https://unpkg.com/@shgysk8zer0/polyfills/browser.js';
82
82
  ```
83
83
 
84
84
  This will load all the polyfills in the library.
@@ -102,8 +102,8 @@ for more details.
102
102
  <script type="importmap">
103
103
  {
104
104
  "imports": {
105
- "@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.0.6/all.min.js",
106
- "@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.0.6/",
105
+ "@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.3/browser.min.js",
106
+ "@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.3/",
107
107
  }
108
108
  }
109
109
  </script>
package/SECURITY.md ADDED
@@ -0,0 +1,10 @@
1
+ # Security Policy
2
+
3
+ ## Reporting a Vulnerability
4
+ Please do not report security vulnerabilities via public GitHub issues or pull requests.
5
+
6
+ Instead, please use the native **Private Vulnerability Reporting** feature on this repository:
7
+ 1. Navigate to the main page of the repository.
8
+ 2. Click the **Security** tab.
9
+ 3. On the left sidebar, click **Vulnerabilities**.
10
+ 4. Click **Report a vulnerability** to submit a private report.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shgysk8zer0/polyfills",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A collection of JavaScript polyfills",