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 +10 -10
- package/src/lists/jammy-libs +2 -0
- package/src/scripts/linux.sh +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cache-extensions",
|
|
3
|
-
"version": "1.8.
|
|
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": "^
|
|
45
|
-
"@types/node": "^18.7.
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
47
|
-
"@typescript-eslint/parser": "^5.
|
|
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.
|
|
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": "^
|
|
52
|
+
"eslint-plugin-jest": "^27.0.1",
|
|
53
53
|
"eslint-plugin-prettier": "^4.2.1",
|
|
54
|
-
"jest": "^
|
|
55
|
-
"jest-circus": "^
|
|
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.
|
|
58
|
+
"typescript": "^4.8.2"
|
|
59
59
|
},
|
|
60
60
|
"bugs": {
|
|
61
61
|
"url": "https://github.com/shivammathur/cache-extensions/issues"
|
package/src/lists/jammy-libs
CHANGED
package/src/scripts/linux.sh
CHANGED
|
@@ -7,8 +7,8 @@ link_apt_fast() {
|
|
|
7
7
|
fetch_package() {
|
|
8
8
|
if ! [ -e /tmp/Packages ]; then
|
|
9
9
|
. /etc/os-release
|
|
10
|
-
|
|
11
|
-
curl -o /tmp/Packages.gz -sL "http://ppa.launchpad.net/ondrej/php/ubuntu/dists/$VERSION_CODENAME/main/binary-$
|
|
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-")"
|