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

WIP: Moved to tRPCs fetch API #184

Merged
merged 16 commits into from
Feb 1, 2024
Merged

WIP: Moved to tRPCs fetch API #184

merged 16 commits into from
Feb 1, 2024

Conversation

FleetAdmiralJakob
Copy link
Member

@FleetAdmiralJakob FleetAdmiralJakob commented Jan 31, 2024

Fixes: #163

- Since axios is not supporting the edge runtime, I deleted axios. See more here: axios/axios#5523
- I also switched from the nodejs crypto api to the web crypto api since this api is supported by the edge runtime
Copy link

vercel bot commented Jan 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
weather-app ❌ Failed (Inspect) Feb 1, 2024 9:17pm

@FleetAdmiralJakob
Copy link
Member Author

Since Vercel is not allowing us to have such big functions, I have to rebuild the whole search system (since our search json is to big). I think I use Convex since it's free and seems to not be a hassle to implement (like Algolia or smth. similar).
image

Copy link

socket-security bot commented Feb 1, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] Transitive: environment, filesystem, network, shell +11 45.9 MB ballingt
npm/[email protected] Transitive: environment +8 138 kB stephenplusplus

🚮 Removed packages: npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented Feb 1, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/[email protected]

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

FleetAdmiralJakob and others added 2 commits February 1, 2024 21:37
This commit fixes the style issues introduced in ff9a81d according to the output
from Prettier and StandardJS.

Details: #184
@FleetAdmiralJakob FleetAdmiralJakob marked this pull request as ready for review February 1, 2024 21:23
@FleetAdmiralJakob FleetAdmiralJakob merged commit 1716b7d into master Feb 1, 2024
6 of 13 checks passed
@FleetAdmiralJakob FleetAdmiralJakob deleted the move-to-edge branch February 9, 2024 14:03
Dantemis added a commit to Dantemis/Weather-App that referenced this pull request Sep 24, 2024
This commit fixes the style issues introduced in ff9a81d according to the output
from Prettier and StandardJS.

Details: The-Creative-Programming-Group/Weather-App#184
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.

Make Weather.io FASTER aka move to edge runtime and edge location
1 participant