setup-php 2.35.3 → 2.35.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "setup-php",
3
- "version": "2.35.3",
3
+ "version": "2.35.4",
4
4
  "private": false,
5
5
  "description": "Setup PHP for use with GitHub Actions",
6
6
  "main": "lib/install.js",
@@ -41,13 +41,13 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "@eslint/compat": "^1.3.2",
44
- "@eslint/js": "9.33.0",
44
+ "@eslint/js": "9.34.0",
45
45
  "@types/jest": "^30.0.0",
46
- "@types/node": "^24.2.1",
47
- "@typescript-eslint/eslint-plugin": "^8.39.0",
48
- "@typescript-eslint/parser": "^8.39.0",
46
+ "@types/node": "^24.3.0",
47
+ "@typescript-eslint/eslint-plugin": "^8.40.0",
48
+ "@typescript-eslint/parser": "^8.40.0",
49
49
  "@vercel/ncc": "^0.38.3",
50
- "eslint": "9.33.0",
50
+ "eslint": "9.34.0",
51
51
  "eslint-config-prettier": "^10.1.8",
52
52
  "eslint-plugin-import": "^2.32.0",
53
53
  "eslint-plugin-jest": "^29.0.1",
@@ -55,7 +55,7 @@
55
55
  "globals": "^16.3.0",
56
56
  "jest": "^30.0.5",
57
57
  "jest-circus": "^30.0.5",
58
- "nock": "^14.0.9",
58
+ "nock": "^14.0.10",
59
59
  "prettier": "^3.6.2",
60
60
  "simple-git-hooks": "^2.13.1",
61
61
  "ts-jest": "^29.4.1",
@@ -134,9 +134,9 @@ patch_brew() {
134
134
  update_dependencies() {
135
135
  patch_brew
136
136
  if ! [ -e /tmp/update_dependencies ]; then
137
- for repo in "$brew_repo" "$core_repo"; do
137
+ for repo in "$brew_repo" "${core_repo:?}"; do
138
138
  if [ -e "$repo" ]; then
139
- git_retry -C "$repo" fetch origin master && git -C "$repo" reset --hard origin/master
139
+ git_retry -C "$repo" fetch origin main && git -C "$repo" reset --hard origin/main
140
140
  fi
141
141
  done
142
142
  echo '' | sudo tee /tmp/update_dependencies >/dev/null 2>&1
@@ -49,7 +49,7 @@ add_brew() {
49
49
  brew_prefix="$(get_brew_prefix)"
50
50
  if ! [ -d "$brew_prefix"/bin ]; then
51
51
  step_log "Setup Brew"
52
- get -s "" "/tmp/install.sh" "https://raw.githubusercontent.com/Homebrew/install/master/install.sh" | bash -s >/dev/null 2>&1
52
+ get -s "" "/tmp/install.sh" "https://raw.githubusercontent.com/Homebrew/install/main/install.sh" | bash -s >/dev/null 2>&1
53
53
  add_log "${tick:?}" "Brew" "Installed Homebrew"
54
54
  fi
55
55
  add_brew_bins_to_path "$brew_prefix"
@@ -35,6 +35,6 @@ Function Add-Protoc() {
35
35
  Add-ToProfile $current_profile 'protoc' "New-Alias protoc $bin_dir\protoc.exe"
36
36
  Add-Log $tick "protoc" "Added protoc $($protobuf_tag -replace 'v', '')"
37
37
  printf "$env:GROUP\033[34;1m%s \033[0m\033[90;1m%s \033[0m\n" "protoc" "Click to read the protoc related license information"
38
- Write-Output (Invoke-WebRequest https://raw.githubusercontent.com/protocolbuffers/protobuf/master/LICENSE).Content
38
+ Write-Output (Invoke-WebRequest https://raw.githubusercontent.com/protocolbuffers/protobuf/main/LICENSE).Content
39
39
  Write-Output "$env:END_GROUP"
40
40
  }
@@ -25,6 +25,6 @@ add_protoc() {
25
25
  ) >/dev/null 2>&1
26
26
  add_log "${tick:?}" "protoc" "Added protoc ${protobuf_tag:1}"
27
27
  printf "$GROUP\033[34;1m%s \033[0m\033[90;1m%s \033[0m\n" "protoc" "Click to read the protoc related license information"
28
- curl "${curl_opts[@]:?}" https://raw.githubusercontent.com/protocolbuffers/protobuf/master/LICENSE
28
+ curl "${curl_opts[@]:?}" https://raw.githubusercontent.com/protocolbuffers/protobuf/main/LICENSE
29
29
  echo "$END_GROUP"
30
30
  }