Skip to content

Commit bcd0b45

Browse files
authored
Update deps (#395)
1 parent 7c73f5d commit bcd0b45

File tree

7 files changed

+168
-174
lines changed

7 files changed

+168
-174
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,4 @@ branding:
196196

197197
runs:
198198
using: 'node20'
199-
main: 'dist/index.js'
199+
main: 'dist/main/index.js'

dist/index.js renamed to dist/main/index.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 142 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"description": "Upload to Google Cloud Storage (GCS)",
55
"main": "dist/index.js",
66
"scripts": {
7-
"build": "ncc build -m src/main.ts",
7+
"build": "rm -rf dist/ && ncc build -m src/main.ts -o dist/main",
88
"docs": "./node_modules/.bin/actions-gen-readme",
99
"lint": "eslint .",
1010
"format": "eslint . --fix",
1111
"test": "bash ./bin/runTests.sh"
1212
},
1313
"engines": {
14-
"node": "20.x",
15-
"npm": "10.x"
14+
"node": ">= 20.x",
15+
"npm": ">= 11.x"
1616
},
1717
"repository": {
1818
"type": "git",
@@ -29,23 +29,23 @@
2929
"license": "Apache-2.0",
3030
"dependencies": {
3131
"@actions/core": "^1.11.1",
32-
"@google-cloud/storage": "^7.16.0",
33-
"@google-github-actions/actions-utils": "^0.8.8",
32+
"@google-cloud/storage": "^7.17.0",
33+
"@google-github-actions/actions-utils": "^0.8.10",
3434
"fast-glob": "^3.3.3",
3535
"ignore": "^7.0.5"
3636
},
3737
"devDependencies": {
3838
"@eslint/eslintrc": "^3.3.1",
39-
"@eslint/js": "^9.31.0",
40-
"@types/node": "^24.0.14",
41-
"@typescript-eslint/eslint-plugin": "^8.37.0",
39+
"@eslint/js": "^9.34.0",
40+
"@types/node": "^24.3.0",
41+
"@typescript-eslint/eslint-plugin": "^8.42.0",
4242
"@vercel/ncc": "^0.38.3",
4343
"eslint-config-prettier": "^10.1.8",
44-
"eslint-plugin-prettier": "^5.5.3",
45-
"eslint": "^9.31.0",
44+
"eslint-plugin-prettier": "^5.5.4",
45+
"eslint": "^9.34.0",
4646
"prettier": "^3.6.2",
4747
"ts-node": "^10.9.2",
48-
"typescript-eslint": "^8.37.0",
49-
"typescript": "^5.8.3"
48+
"typescript-eslint": "^8.42.0",
49+
"typescript": "^5.9.2"
5050
}
5151
}

tests/client.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ describe('Client', { concurrency: true }, async () => {
254254
},
255255
gzip: true,
256256
resumable: true,
257-
predefinedAcl: 'authenticatedRead',
257+
predefinedAcl: 'private',
258258
});
259259

260260
// Check call sites
@@ -268,7 +268,7 @@ describe('Client', { concurrency: true }, async () => {
268268
assert.deepStrictEqual(call?.destination, 'sub/path/to/file1');
269269
assert.deepStrictEqual(call?.metadata, { contentType: 'application/json' });
270270
assert.deepStrictEqual(call?.gzip, true);
271-
assert.deepStrictEqual(call?.predefinedAcl, 'authenticatedRead');
271+
assert.deepStrictEqual(call?.predefinedAcl, 'private');
272272
assert.deepStrictEqual(call?.resumable, true);
273273
});
274274
});

tests/main.int.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ test(
102102
glob: '**/*',
103103
concurrency: '10',
104104
process_gcloudignore: 'false',
105-
predefinedAcl: 'authenticatedRead',
105+
predefinedAcl: 'private',
106106
});
107107

108108
await run();

tests/main.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test('#run', { concurrency: true }, async (suite) => {
8383
glob: '**/*',
8484
concurrency: '10',
8585
process_gcloudignore: 'false',
86-
predefinedAcl: 'authenticatedRead',
86+
predefinedAcl: 'private',
8787
headers: 'content-type: application/json',
8888
});
8989

@@ -107,7 +107,7 @@ test('#run', { concurrency: true }, async (suite) => {
107107
assert.deepStrictEqual(call?.destination, 'sub/path/testdata/nested1/nested2/test3.txt');
108108
assert.deepStrictEqual(call?.metadata, { contentType: 'application/json' });
109109
assert.deepStrictEqual(call?.gzip, true);
110-
assert.deepStrictEqual(call?.predefinedAcl, 'authenticatedRead');
110+
assert.deepStrictEqual(call?.predefinedAcl, 'private');
111111
assert.deepStrictEqual(call?.resumable, true);
112112
});
113113

@@ -123,7 +123,7 @@ test('#run', { concurrency: true }, async (suite) => {
123123
glob: '**/*',
124124
concurrency: '10',
125125
process_gcloudignore: 'false',
126-
predefinedAcl: 'authenticatedRead',
126+
predefinedAcl: 'private',
127127
headers: 'content-type: application/json',
128128
});
129129

0 commit comments

Comments
 (0)