cache-extensions 1.8.1 → 1.8.2

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": "cache-extensions",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "private": false,
5
5
  "description": "Cache PHP extensions in GitHub Actions",
6
6
  "main": "lib/cache.js",
@@ -41,21 +41,21 @@
41
41
  "setup-php": "2.21.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@types/jest": "^28.1.7",
45
- "@types/node": "^18.7.6",
46
- "@typescript-eslint/eslint-plugin": "^5.33.1",
47
- "@typescript-eslint/parser": "^5.33.1",
44
+ "@types/jest": "^29.0.0",
45
+ "@types/node": "^18.7.14",
46
+ "@typescript-eslint/eslint-plugin": "^5.36.0",
47
+ "@typescript-eslint/parser": "^5.36.0",
48
48
  "@vercel/ncc": "^0.34.0",
49
- "eslint": "^8.22.0",
49
+ "eslint": "^8.23.0",
50
50
  "eslint-config-prettier": "^8.5.0",
51
51
  "eslint-plugin-import": "^2.26.0",
52
- "eslint-plugin-jest": "^26.8.3",
52
+ "eslint-plugin-jest": "^27.0.1",
53
53
  "eslint-plugin-prettier": "^4.2.1",
54
- "jest": "^28.1.3",
55
- "jest-circus": "^28.1.3",
54
+ "jest": "^29.0.1",
55
+ "jest-circus": "^29.0.1",
56
56
  "prettier": "^2.7.1",
57
57
  "ts-jest": "^28.0.8",
58
- "typescript": "^4.7.4"
58
+ "typescript": "^4.8.2"
59
59
  },
60
60
  "bugs": {
61
61
  "url": "https://github.com/shivammathur/cache-extensions/issues"
@@ -510,6 +510,8 @@ libnuma1
510
510
  libobjc-11-dev
511
511
  libobjc4
512
512
  libodbc2
513
+ libodbccr2
514
+ libodbcinst2
513
515
  libonig5
514
516
  libopenexr-dev
515
517
  libopenexr25
@@ -7,8 +7,8 @@ link_apt_fast() {
7
7
  fetch_package() {
8
8
  if ! [ -e /tmp/Packages ]; then
9
9
  . /etc/os-release
10
- deb_build_arch=$(dpkg-architecture -q DEB_BUILD_ARCH)
11
- curl -o /tmp/Packages.gz -sL "http://ppa.launchpad.net/ondrej/php/ubuntu/dists/$VERSION_CODENAME/main/binary-$deb_build_arch/Packages.gz"
10
+ arch=$(dpkg --print-architecture)
11
+ curl -o /tmp/Packages.gz -sL "http://ppa.launchpad.net/ondrej/php/ubuntu/dists/$VERSION_CODENAME/main/binary-$arch/Packages.gz"
12
12
  gzip -df /tmp/Packages.gz
13
13
  fi
14
14
  }
@@ -98,6 +98,7 @@ setup_dependencies() {
98
98
  libraries=""
99
99
  extension_packages=""
100
100
  for extension_package in "${extensions_array[@]}"; do
101
+ [[ ! "$extension_package" =~ php[0-9]+\.[0-9]+-[a-zA-Z]+$ ]] && continue
101
102
  fetch_package
102
103
  libraries="$libraries $(get_dependencies "$extension_package" "lib")"
103
104
  IFS=' ' read -r -a dependency_extension_packages_array <<<"$(get_dependencies "$extension_package" "php$version-")"