vercel 43.1.0 → 43.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -126655,7 +126655,7 @@ async function getLinkedProject(client2, path11 = client2.cwd) {
126655
126655
  output_manager_default.stopSpinner();
126656
126656
  if (err.missingToken || err.invalidToken) {
126657
126657
  throw new InvalidToken();
126658
- } else {
126658
+ } else if (err.code === "forbidden" || err.code === "team_unauthorized") {
126659
126659
  throw new import_build_utils6.NowBuildError({
126660
126660
  message: `Could not retrieve Project Settings. To link your Project, remove the ${code(
126661
126661
  VERCEL_DIR2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "43.1.0",
3
+ "version": "43.2.0",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -161,8 +161,8 @@
161
161
  "xdg-app-paths": "5.1.0",
162
162
  "yauzl-promise": "2.1.3",
163
163
  "@vercel-internals/constants": "1.0.4",
164
- "@vercel-internals/get-package-json": "1.0.0",
165
- "@vercel-internals/types": "3.0.6"
164
+ "@vercel-internals/types": "3.0.6",
165
+ "@vercel-internals/get-package-json": "1.0.0"
166
166
  },
167
167
  "scripts": {
168
168
  "test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",