Skip to content

Commit

Permalink
Replace comments with single README
Browse files Browse the repository at this point in the history
The package code generated a lot of extra comments, which felt sub-optimal. Instead, I've included a README.md file in the polyfills folder with the message and removed all mention of it from the code.
  • Loading branch information
domoscargin committed Jul 10, 2024
1 parent 77e6daf commit a5eba82
Show file tree
Hide file tree
Showing 77 changed files with 48 additions and 1,113 deletions.
2 changes: 1 addition & 1 deletion dist/govuk-frontend-4.8.0.min.js.map

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions package/govuk-esm/vendor/polyfills/Date/now.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
// @ts-nocheck

/**
* NOTE
*
* These polyfills were generated using polyfill.io, which was reported as compromised on 25th June 2024.
*
* We generated this code well before the compromise, and it is free of malicious code.
* However, we recommend checking any polyfills you have generated in a similar way.
*/
(function (undefined) {

// Detection from https://github.com/Financial-Times/polyfill-library/blob/v3.111.0/polyfills/Date/now/detect.js
Expand Down
2 changes: 1 addition & 1 deletion package/govuk-esm/vendor/polyfills/Date/now.mjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions package/govuk-esm/vendor/polyfills/Document.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
// @ts-nocheck

/**
* NOTE
*
* These polyfills were generated using polyfill.io, which was reported as compromised on 25th June 2024.
*
* We generated this code well before the compromise, and it is free of malicious code.
* However, we recommend checking any polyfills you have generated in a similar way.
*/
(function (undefined) {

// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Document/detect.js
Expand Down
2 changes: 1 addition & 1 deletion package/govuk-esm/vendor/polyfills/Document.mjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions package/govuk-esm/vendor/polyfills/Element.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ import './Document.mjs';

// @ts-nocheck

/**
* NOTE
*
* These polyfills were generated using polyfill.io, which was reported as compromised on 25th June 2024.
*
* We generated this code well before the compromise, and it is free of malicious code.
* However, we recommend checking any polyfills you have generated in a similar way.
*/
(function(undefined) {

// Detection from https://github.com/Financial-Times/polyfill-service/blob/master/packages/polyfill-library/polyfills/Element/detect.js
Expand Down
Loading

0 comments on commit a5eba82

Please sign in to comment.