Skip to content

Commit fec6f0e

Browse files
CopilotTieske
andcommitted
Fix undici vulnerabilities via major-version bumps of @actions packages and ESM migration
Agent-Logs-Url: https://github.com/luarocks/gh-actions-lua/sessions/ae17a216-2509-4e6d-8268-aad7f04d8ed8 Co-authored-by: Tieske <1077043+Tieske@users.noreply.github.com>
1 parent e7f2672 commit fec6f0e

5,051 files changed

Lines changed: 210202 additions & 1746921 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

main.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11

2-
const core = require("@actions/core")
3-
const exec = require("@actions/exec")
4-
const io = require("@actions/io")
5-
const tc = require("@actions/tool-cache")
6-
const ch = require("@actions/cache")
7-
const fsp = require("fs").promises
2+
import * as core from "@actions/core"
3+
import * as exec from "@actions/exec"
4+
import * as io from "@actions/io"
5+
import * as tc from "@actions/tool-cache"
6+
import * as ch from "@actions/cache"
7+
import { promises as fsp } from "fs"
8+
import path from "path"
89

910
const notice = (msg) => core.notice(`gh-actions-lua: ${msg}`)
1011
const warning = (msg) => core.warning(`gh-actions-lua: ${msg}`)
1112

12-
const path = require("path")
13-
1413
const BUILD_PREFIX = ".lua-build" // this is a temporary folder where lua will be built
1514
const LUA_PREFIX = ".lua" // this is where Lua will be installed
1615

node_modules/.bin/protoc

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/protoc-gen-dump

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/protoc-gen-ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/tsc

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/tsserver

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/uuid

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)