Bump package versions, and fix issues

This commit is contained in:
Salman Muin Kayser Chishti
2025-09-04 14:16:27 +01:00
parent 011f07d1dc
commit 8f32f385e0
13 changed files with 357 additions and 1713 deletions
+2 -1
View File
@@ -40,6 +40,7 @@
"@octokit/request": "^8.4.1", "@octokit/request": "^8.4.1",
"@octokit/request-error": "^5.1.1", "@octokit/request-error": "^5.1.1",
"@octokit/core": "^5.0.3", "@octokit/core": "^5.0.3",
"tmp": "^0.2.4" "tmp": "^0.2.4",
"@types/node": "^24.1.0"
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/artifact", "name": "@actions/artifact",
"version": "2.3.3", "version": "3.0.0",
"preview": true, "preview": true,
"description": "Actions artifact lib", "description": "Actions artifact lib",
"keywords": [ "keywords": [
+338 -1701
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/attest", "name": "@actions/attest",
"version": "1.6.0", "version": "2.0.0",
"description": "Actions attestation lib", "description": "Actions attestation lib",
"keywords": [ "keywords": [
"github", "github",
+2 -1
View File
@@ -102,7 +102,8 @@ function toAttestation(bundle: Bundle, attestationID?: string): Attestation {
throw new Error('Bundle must contain an x509 certificate') throw new Error('Bundle must contain an x509 certificate')
} }
const signingCert = new X509Certificate(certBytes) // Convert Buffer to Uint8Array for Node.js 24 compatibility
const signingCert = new X509Certificate(new Uint8Array(certBytes))
// Collect transparency log ID if available // Collect transparency log ID if available
const tlogEntries = bundle.verificationMaterial.tlogEntries const tlogEntries = bundle.verificationMaterial.tlogEntries
+5 -1
View File
@@ -29,7 +29,11 @@ export const writeAttestation = async (
owner: github.context.repo.owner, owner: github.context.repo.owner,
repo: github.context.repo.repo, repo: github.context.repo.repo,
headers: options.headers, headers: options.headers,
data: {bundle: attestation} bundle: attestation as {
mediaType?: string
verificationMaterial?: { [key: string]: unknown }
dsseEnvelope?: { [key: string]: unknown }
}
}) })
const data = const data =
+2 -1
View File
@@ -4,7 +4,8 @@
"baseUrl": "./", "baseUrl": "./",
"outDir": "./lib", "outDir": "./lib",
"declaration": true, "declaration": true,
"rootDir": "./src" "rootDir": "./src",
"skipLibCheck": true
}, },
"include": [ "include": [
"./src" "./src"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/cache", "name": "@actions/cache",
"version": "4.0.5", "version": "5.0.0",
"preview": true, "preview": true,
"description": "Actions cache lib", "description": "Actions cache lib",
"keywords": [ "keywords": [
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/core", "name": "@actions/core",
"version": "1.11.1", "version": "2.0.0",
"description": "Actions core lib", "description": "Actions core lib",
"keywords": [ "keywords": [
"github", "github",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/exec", "name": "@actions/exec",
"version": "1.1.1", "version": "2.0.0",
"description": "Actions exec lib", "description": "Actions exec lib",
"keywords": [ "keywords": [
"github", "github",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/glob", "name": "@actions/glob",
"version": "0.5.0", "version": "1.0.0",
"preview": true, "preview": true,
"description": "Actions glob lib", "description": "Actions glob lib",
"keywords": [ "keywords": [
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/http-client", "name": "@actions/http-client",
"version": "2.2.3", "version": "3.0.0",
"description": "Actions Http Client", "description": "Actions Http Client",
"engines": { "engines": {
"node": ">=24.0.0" "node": ">=24.0.0"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@actions/io", "name": "@actions/io",
"version": "1.1.3", "version": "2.0.0",
"description": "Actions io lib", "description": "Actions io lib",
"keywords": [ "keywords": [
"github", "github",