Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from upstream #32

Merged
merged 34 commits into from
Jul 7, 2021
Merged

Merge from upstream #32

merged 34 commits into from
Jul 7, 2021

Conversation

indcoder
Copy link

@indcoder indcoder commented Jul 7, 2021

No description provided.

indcoder and others added 30 commits October 19, 2020 09:00
* Adding .netlify folder to .gitignore

* Bump the Netlify function dependencies upstair
* Make updating the test "should have script elements" easier

* Make reading minutes always >= 1.
#54)

* Prevent duplicate link rel prefetches and prevent prefetching the current page.

Add two checks against the prospective href to prefetch:
1. Has the href already been prefetched?
2. Is the href equal to the current page?

There is not a benefit to duplicate prefetches or prefetching the current page.
If either check is true, return without prefetching the href.

* Remove unnecessary check for duplicate fetches as prefetch cache should already account for this.

* Include query string in the URL comparison (exclude the fragment).

Co-authored-by: nickFalcone <nfalcone@u.rochester.edu>
The variable font was only set on the html element, while
the body and certain other elmeents always had the static
fonts applied.
This resulted in the static fonts always getting loaded,
even if the browser supports variable fonts.
Related to #57
This is needed because we throw away the metadata during resizing.
…ror. (#63)

The error was reported at cdeleeuwe/netlify-plugin-submit-sitemap#18. 
Since Netlify is also a growing service for hosting static sites, this will save people a lot of time debugging.
* Add Core Web Vitals UMD library and include in base.njk

* Send GA event with data for CLS, FID, and LCP.

* Add license and attribution info.

* Add flag to control sending web vitals data to GA

* Add module to check web vital opt-in and that library exists

* Web vitals script is dependent on GA - move inside check for GA

* Update  test to account for potential web vitals script

* Fix small typo

* Indent to show nesting

* Mention sending CWV to GA

* Move function to send CWV metrics to web-vitals.js

* Check for web vitals library independently of user opt-in

* Remove function to send CWV metrtics. Make web vitals library independent of GA

* Send CWV metrics to GA from main.js

* Remove console log

* Check web vitals library separately from GA

* Return early if user opts-out of sending CWV

* Create function to inject script. Inject CWV script if user opts-in to sending metrics

* Remove web-vitals.js and inject if user opts-in. Add attribute to body to check opt-in

* Revert back to original script test as web-vitals may be injected dynamically

* Send web vitals off by default

* Simplify and just return metadata.sendWebVitals.

* Ignore error case

* Check data-cwv-src attribute of current script for web-vitals.js

* Move data-cwv-src attribute from body to script, add hash.
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pug-code-gen](https://github.com/pugjs/pug) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/pugjs/pug/releases)
- [Commits](https://github.com/pugjs/pug/compare/pug-code-gen@2.0.2...pug@2.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@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>
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](npm/hosted-git-info@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>
dependabot bot and others added 4 commits May 31, 2021 08:04
Bumps [ws](https://github.com/websockets/ws) from 7.3.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.3.0...7.4.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
When a post has `permalink` set to false, though no output file is
generated, the file is still processed with the `url` property set to
false. Thus, the expression in base.njk testing the `url` property must
ensure page.url is defined in advance.
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@indcoder indcoder merged commit e359367 into HackerspaceMumbai:main Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants