Skip to content

build(deps-dev): bump surge from 0.46.0 to 0.58.0 - #738

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/surge-0.58.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/surge-0.58.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 26, 2026

Copy link
Copy Markdown
Contributor

Bumps surge from 0.46.0 to 0.58.0.

Changelog

Sourced from surge's changelog.

surge 0.49

This release is for anything that runs surge without a person at the keyboard: CI jobs, scripts and coding agents. The short version: surge now fails when it can't do what you asked, instead of exiting as if it had.

No credentials, no terminal: exit 1

Run surge where nobody can answer a prompt (a CI job, an agent, input piped from /dev/null) with no token and no stored login, and it used to print email:, read nothing and exit 0. The job went green with nothing published.

Now it stops before prompting, says why on stderr, and exits 1:

Aborted - not logged in and no terminal to ask. Run `surge login` in a terminal, or set SURGE_TOKEN.

When the CI environment variable is set, surge treats the run as having nobody to ask even if a terminal is attached:

Aborted - not logged in and CI is set, so nobody to ask. Set SURGE_TOKEN, or unset CI to log in here.

The same rule covers the other prompts. A missing project directory or domain names what's missing (Try surge <path> <domain>) instead of waiting for an answer that never comes.

surge whoami exits 1 when not authenticated

whoami is the natural "am I logged in?" check at the top of a script, and it now fails when the answer is no. When you are authenticated it also names the token in use, by id, and what it can touch:

$ SURGE_TOKEN=... surge whoami

you@example.com
tok-1a2b3c4d · scoped to my-app.surge.sh

An agent can check it was handed a token scoped to one domain without printing the token itself. A rejected SURGE_TOKEN no longer clears the login stored in ~/.netrc.

--force https at publish

surge ./dist example.com --force https

redirects all plain HTTP to HTTPS from that publish on. The setting sticks, like surge example.com config --force https. The value must be https or http; anything else stops before uploading.

Help that shows the whole workflow

... (truncated)

Commits
  • 5a9cc68 0.58.0
  • 7db2368 surge-sdk + surge-stream 0.36.0 - pull and record, which the pull verb and pu...
  • 9a7a7ed pull - surge <domain> pull makes the project match the domain, into ./<domain...
  • ba70a3b 0.57.1
  • 7fe8caa status test expects the one-action dns line - slushi b629ebc shortened it to ...
  • cec800b surge-sdk + surge-stream 0.35.0 - the carry event reports changed beside sent...
  • cfb959f changed: counts what changed, not what was sent - an unchanged project with a...
  • 9cbede3 0.57.0
  • d8be7a9 *.acme.com is a domain - one leading *. on a real zone publishes the zone's w...
  • ae6ff34 0.56.0
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [surge](https://github.com/sintaxi/surge) from 0.46.0 to 0.58.0.
- [Release notes](https://github.com/sintaxi/surge/releases)
- [Changelog](https://github.com/sintaxi/surge/blob/master/RELEASE-NOTES.md)
- [Commits](sintaxi/surge@v0.46.0...v0.58.0)

---
updated-dependencies:
- dependency-name: surge
  dependency-version: 0.58.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 26, 2026
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants