Skip to content

Commit

Permalink
chore(deps): remove node-fetch from individual provider repos (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan authored Nov 27, 2023
1 parent 2a7866f commit a517e1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
5 changes: 0 additions & 5 deletions src/scripts/check-for-upgrades.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ export class CheckForUpgradesScriptFile extends FileBase {
) {
super(project, "scripts/check-for-upgrades.js", options);
this.options = options;

// commonjs version, We can remove this import when we are on Node 18
// (currently ubuntu-latest is still on Node 16)
project.addDevDeps("node-fetch@cjs");
}

protected synthesizeContent(resolver: IResolver): string | undefined {
Expand All @@ -41,7 +37,6 @@ export class CheckForUpgradesScriptFile extends FileBase {
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
const fetch = require("node-fetch");
const semver = require("semver");
const actions = require("@actions/core");
Expand Down
21 changes: 0 additions & 21 deletions test/__snapshots__/index.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a517e1b

Please sign in to comment.