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

Bump arweave from 1.10.23 to 1.13.1 #180

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 5, 2023

Bumps arweave from 1.10.23 to 1.13.1.

Release notes

Sourced from arweave's releases.

v1.13.0

Arweave.init changes

  • improved host detection
  • clips off subdomain so that ArNS domains can use the gateway

Arweave.api

  • expose web stream

v1.12.4

Release Notes

This update allows arweave-js to run in modern environments such as Chrome Extension Manifest V3.

Rationale: It seems like the industry is moving towards dropping the original XmlHttpRequest API in favour of Fetch API. Examples include the above browser extensions standard and web workers, which only support Fetch API.

Why not add a package like node-fetch? To simplify, rather than adding more complications to our inherited code, but PRs welcome.

Added dependency

Fetch API. Available in all modern browsers. Available as standard since node v18+ (*opt-in experimental since node v16.5).

Removed dependencies

Axios, node:utils (polyfill)

*Notes for NodeJS v16.5 - v17

To run with node v16.5+, you need to specify the --experimental-fetch flag in your app.

Examples

These can be added to your packages.json start script, or Dockerfile entrypoint

node

  • node --experimental-fetch --no-warnings <your-app.js>

ts-node

  • NODE_OPTIONS='--experimental-fetch --no-warnings' ts-node experimental-fetch.ts <your-app.ts>
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [arweave](https://github.com/ArweaveTeam/arweave-js) from 1.10.23 to 1.13.1.
- [Release notes](https://github.com/ArweaveTeam/arweave-js/releases)
- [Commits](https://github.com/ArweaveTeam/arweave-js/commits/v1.13.1)

---
updated-dependencies:
- dependency-name: arweave
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 5, 2023
@netlify
Copy link

netlify bot commented Mar 5, 2023

Deploy Preview for permatweet failed.

Name Link
🔨 Latest commit d743563
🔍 Latest deploy log https://app.netlify.com/sites/permatweet/deploys/6403eaa790f95500087285fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants