Skip to content

Commit

Permalink
Merge pull request #566 from semantic-release/dependencies
Browse files Browse the repository at this point in the history
upgrade dependencies that are now unblocked after the esm transition
  • Loading branch information
travi committed Jan 17, 2023
2 parents 697f16b + b55bb01 commit 6c5d581
Show file tree
Hide file tree
Showing 11 changed files with 1,045 additions and 464 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function verifyConditions(pluginConfig, context) {
await verifyNpmAuth(npmrc, pkg, context);
}
} catch (error) {
errors.push(...error);
errors.push(...error.errors);
}

if (errors.length > 0) {
Expand All @@ -53,7 +53,7 @@ export async function prepare(pluginConfig, context) {
await verifyNpmAuth(npmrc, pkg, context);
}
} catch (error) {
errors.push(...error);
errors.push(...error.errors);
}

if (errors.length > 0) {
Expand All @@ -75,7 +75,7 @@ export async function publish(pluginConfig, context) {
await verifyNpmAuth(npmrc, pkg, context);
}
} catch (error) {
errors.push(...error);
errors.push(...error.errors);
}

if (errors.length > 0) {
Expand All @@ -100,7 +100,7 @@ export async function addChannel(pluginConfig, context) {
await verifyNpmAuth(npmrc, pkg, context);
}
} catch (error) {
errors.push(...error);
errors.push(...error.errors);
}

if (errors.length > 0) {
Expand Down
2 changes: 1 addition & 1 deletion lib/add-channel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import execa from "execa";
import { execa } from "execa";
import getRegistry from "./get-registry.js";
import getChannel from "./get-channel.js";
import getReleaseInfo from "./get-release-info.js";
Expand Down
2 changes: 1 addition & 1 deletion lib/prepare.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from "path";
import { move } from "fs-extra";
import execa from "execa";
import { execa } from "execa";

export default async function (
npmrc,
Expand Down
2 changes: 1 addition & 1 deletion lib/publish.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from "path";
import execa from "execa";
import { execa } from "execa";
import getRegistry from "./get-registry.js";
import getChannel from "./get-channel.js";
import getReleaseInfo from "./get-release-info.js";
Expand Down
2 changes: 1 addition & 1 deletion lib/verify-auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import execa from "execa";
import { execa } from "execa";
import normalizeUrl from "normalize-url";
import AggregateError from "aggregate-error";
import getError from "./get-error.js";
Expand Down
Loading

0 comments on commit 6c5d581

Please sign in to comment.