@lando/php 0.6.0 → 0.7.1
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/.nyc_output/{7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77.json → 2570a4a3-e84e-4876-8159-583be46d5e1a.json} +0 -0
- package/.nyc_output/{6db1e3c9-942a-44f0-9535-ac9a63530768.json → 3709de6e-aabf-457a-9d3f-84e95696ffc9.json} +0 -0
- package/.nyc_output/processinfo/2570a4a3-e84e-4876-8159-583be46d5e1a.json +1 -0
- package/.nyc_output/processinfo/3709de6e-aabf-457a-9d3f-84e95696ffc9.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +7 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +1 -1
- package/coverage/lib/index.html +1 -1
- package/coverage/lib/utils.js.html +1 -1
- package/coverage/services/php/builder.js.html +3 -3
- package/coverage/services/php/index.html +1 -1
- package/coverage/sort-arrow-sprite.png +0 -0
- package/images/7.3-apache/Dockerfile +1 -1
- package/images/7.3-fpm/Dockerfile +1 -1
- package/images/7.4-apache/Dockerfile +1 -1
- package/images/7.4-fpm/Dockerfile +1 -1
- package/images/8.2-apache/Dockerfile +85 -0
- package/images/8.2-fpm/Dockerfile +86 -0
- package/node_modules/semver/classes/range.js +3 -0
- package/node_modules/semver/index.js +81 -41
- package/node_modules/semver/package.json +21 -10
- package/package.json +9 -5
- package/services/php/builder.js +2 -2
- package/.nyc_output/processinfo/6db1e3c9-942a-44f0-9535-ac9a63530768.json +0 -1
- package/.nyc_output/processinfo/7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77.json +0 -1
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1843,"argv":["/opt/hostedtoolcache/node/16.18.1/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1673062621680,"ppid":1842,"coverageFilename":"/home/runner/work/php/php/.nyc_output/2570a4a3-e84e-4876-8159-583be46d5e1a.json","externalId":"","uuid":"2570a4a3-e84e-4876-8159-583be46d5e1a","files":["/home/runner/work/php/php/lib/utils.js","/home/runner/work/php/php/services/php/builder.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1854,"argv":["/opt/hostedtoolcache/node/16.18.1/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1673062622340,"ppid":1843,"coverageFilename":"/home/runner/work/php/php/.nyc_output/3709de6e-aabf-457a-9d3f-84e95696ffc9.json","externalId":"","uuid":"3709de6e-aabf-457a-9d3f-84e95696ffc9","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"2570a4a3-e84e-4876-8159-583be46d5e1a":{"parent":null,"children":[]},"3709de6e-aabf-457a-9d3f-84e95696ffc9":{"parent":null,"children":[]}},"files":{"/home/runner/work/php/php/lib/utils.js":["2570a4a3-e84e-4876-8159-583be46d5e1a"],"/home/runner/work/php/php/services/php/builder.js":["2570a4a3-e84e-4876-8159-583be46d5e1a"]},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## v0.7.1 - [January 6th, 2022](https://github.com/lando/php/releases/tag/v0.7.1)
|
|
2
|
+
* Added support for PHP 8.2 [#51](https://github.com/lando/php/pull/51)
|
|
3
|
+
|
|
4
|
+
## v0.7.0 - [December 12, 2022](https://github.com/lando/php/releases/tag/v0.7.0)
|
|
5
|
+
* Added bundle-dependencies to release process.
|
|
6
|
+
* Fixed bug in plugin dogfooding test.
|
|
7
|
+
|
|
1
8
|
## v0.6.0 - [September 7, 2022](https://github.com/lando/php/releases/tag/v0.6.0)
|
|
2
9
|
|
|
3
10
|
* HYPERDRIVED
|
package/coverage/favicon.png
CHANGED
|
Binary file
|
package/coverage/index.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at
|
|
119
|
+
at 2023-01-07T03:37:02.630Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="prettify.js"></script>
|
|
122
122
|
<script>
|
package/coverage/lib/index.html
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at 2023-01-07T03:37:02.630Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -250,7 +250,7 @@ const _ = <span class="cstat-no" title="statement not covered" >require('lodash'
|
|
|
250
250
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
251
251
|
Code coverage generated by
|
|
252
252
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
253
|
-
at
|
|
253
|
+
at 2023-01-07T03:37:02.630Z
|
|
254
254
|
</div>
|
|
255
255
|
<script src="../prettify.js"></script>
|
|
256
256
|
<script>
|
|
@@ -585,7 +585,7 @@ const parseConfig = <span class="cstat-no" title="statement not covered" ><span
|
|
|
585
585
|
name: 'php',
|
|
586
586
|
config: {
|
|
587
587
|
version: '7.4',
|
|
588
|
-
supported: ['8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
588
|
+
supported: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
589
589
|
legacy: ['7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
590
590
|
gen2: ['5.5', '5.4', '5.3'],
|
|
591
591
|
gen3: ['7.2', '7.1', '7.0', '5.6'],
|
|
@@ -603,7 +603,7 @@ const parseConfig = <span class="cstat-no" title="statement not covered" ><span
|
|
|
603
603
|
],
|
|
604
604
|
confSrc: __dirname,
|
|
605
605
|
command: ['sh -c \'a2enmod rewrite && apache2-foreground\''],
|
|
606
|
-
composer_version: '2.2.
|
|
606
|
+
composer_version: '2.2.18',
|
|
607
607
|
image: 'apache',
|
|
608
608
|
defaultFiles: {
|
|
609
609
|
_php: 'php.ini',
|
|
@@ -712,7 +712,7 @@ const parseConfig = <span class="cstat-no" title="statement not covered" ><span
|
|
|
712
712
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
713
713
|
Code coverage generated by
|
|
714
714
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
715
|
-
at
|
|
715
|
+
at 2023-01-07T03:37:02.630Z
|
|
716
716
|
</div>
|
|
717
717
|
<script src="../../prettify.js"></script>
|
|
718
718
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at
|
|
104
|
+
at 2023-01-07T03:37:02.630Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
Binary file
|
|
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
45
45
|
&& pecl install memcached \
|
|
46
46
|
&& pecl install oauth-2.0.3 \
|
|
47
47
|
&& pecl install redis-4.2.0 \
|
|
48
|
-
&& pecl install xdebug \
|
|
48
|
+
&& pecl install xdebug-3.1.6 \
|
|
49
49
|
&& docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr \
|
|
50
50
|
&& docker-php-ext-configure imap --with-imap-ssl --with-kerberos \
|
|
51
51
|
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
45
45
|
&& pecl install memcached \
|
|
46
46
|
&& pecl install oauth-2.0.3 \
|
|
47
47
|
&& pecl install redis-4.2.0 \
|
|
48
|
-
&& pecl install xdebug \
|
|
48
|
+
&& pecl install xdebug-3.1.6 \
|
|
49
49
|
&& docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-webp-dir=/usr \
|
|
50
50
|
&& docker-php-ext-configure imap --with-imap-ssl --with-kerberos \
|
|
51
51
|
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
45
45
|
&& pecl install memcached \
|
|
46
46
|
&& pecl install oauth-2.0.4 \
|
|
47
47
|
&& pecl install redis-5.1.1 \
|
|
48
|
-
&& pecl install xdebug \
|
|
48
|
+
&& pecl install xdebug-3.1.6 \
|
|
49
49
|
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
50
50
|
&& docker-php-ext-enable apcu \
|
|
51
51
|
&& docker-php-ext-enable imagick \
|
|
@@ -45,7 +45,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
45
45
|
&& pecl install memcached \
|
|
46
46
|
&& pecl install oauth-2.0.4 \
|
|
47
47
|
&& pecl install redis-5.1.1 \
|
|
48
|
-
&& pecl install xdebug \
|
|
48
|
+
&& pecl install xdebug-3.1.6 \
|
|
49
49
|
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
50
50
|
&& docker-php-ext-enable apcu \
|
|
51
51
|
&& docker-php-ext-enable imagick \
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# docker build -t devwithlando/php:8.2-apache-4 .
|
|
2
|
+
|
|
3
|
+
FROM php:8.2-apache-bullseye
|
|
4
|
+
|
|
5
|
+
# Install dependencies we need
|
|
6
|
+
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
|
+
&& apt -y update && apt-get install -y \
|
|
8
|
+
gnupg2 \
|
|
9
|
+
wget \
|
|
10
|
+
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
|
|
11
|
+
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
|
12
|
+
&& apt-get update && apt-get install -y \
|
|
13
|
+
bzip2 \
|
|
14
|
+
default-mysql-client \
|
|
15
|
+
exiftool \
|
|
16
|
+
git-core \
|
|
17
|
+
imagemagick \
|
|
18
|
+
libbz2-dev \
|
|
19
|
+
libc-client-dev \
|
|
20
|
+
libfreetype6-dev \
|
|
21
|
+
libicu-dev \
|
|
22
|
+
libjpeg62-turbo-dev \
|
|
23
|
+
libkrb5-dev \
|
|
24
|
+
libldap2-dev \
|
|
25
|
+
libmagickwand-dev \
|
|
26
|
+
libmemcached-dev \
|
|
27
|
+
libpng-dev \
|
|
28
|
+
libpq-dev \
|
|
29
|
+
libssl-dev \
|
|
30
|
+
libwebp-dev \
|
|
31
|
+
libxml2-dev \
|
|
32
|
+
libzip-dev \
|
|
33
|
+
libonig-dev \
|
|
34
|
+
openssl \
|
|
35
|
+
postgresql-client-10 \
|
|
36
|
+
pv \
|
|
37
|
+
rsync \
|
|
38
|
+
ssh \
|
|
39
|
+
unzip \
|
|
40
|
+
wget \
|
|
41
|
+
xfonts-75dpi \
|
|
42
|
+
xfonts-base \
|
|
43
|
+
zlib1g-dev \
|
|
44
|
+
&& pecl install apcu \
|
|
45
|
+
&& pecl install imagick \
|
|
46
|
+
&& pecl install memcached \
|
|
47
|
+
&& pecl install oauth \
|
|
48
|
+
&& pecl install redis-5.3.4 \
|
|
49
|
+
&& pecl install xdebug \
|
|
50
|
+
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
51
|
+
&& docker-php-ext-enable apcu \
|
|
52
|
+
&& docker-php-ext-enable imagick \
|
|
53
|
+
&& docker-php-ext-enable memcached \
|
|
54
|
+
&& docker-php-ext-enable oauth \
|
|
55
|
+
&& docker-php-ext-enable redis \
|
|
56
|
+
&& docker-php-ext-install bcmath \
|
|
57
|
+
&& docker-php-ext-install bz2 \
|
|
58
|
+
&& docker-php-ext-install calendar \
|
|
59
|
+
&& docker-php-ext-install exif \
|
|
60
|
+
&& docker-php-ext-install gettext \
|
|
61
|
+
&& docker-php-ext-install intl \
|
|
62
|
+
&& docker-php-ext-install ldap \
|
|
63
|
+
&& docker-php-ext-install mbstring \
|
|
64
|
+
&& docker-php-ext-install mysqli \
|
|
65
|
+
&& docker-php-ext-install opcache \
|
|
66
|
+
&& docker-php-ext-install pcntl \
|
|
67
|
+
&& docker-php-ext-install pdo \
|
|
68
|
+
&& docker-php-ext-install pdo_mysql \
|
|
69
|
+
&& docker-php-ext-install pdo_pgsql \
|
|
70
|
+
&& docker-php-ext-install soap \
|
|
71
|
+
&& docker-php-ext-install zip \
|
|
72
|
+
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.18 \
|
|
74
|
+
&& php -r "unlink('composer-setup.php');" \
|
|
75
|
+
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
|
+
&& apt-get -y clean \
|
|
77
|
+
&& apt-get -y autoclean \
|
|
78
|
+
&& apt-get -y autoremove \
|
|
79
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/* \
|
|
80
|
+
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
81
|
+
&& docker-php-ext-install imap \
|
|
82
|
+
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
83
|
+
&& docker-php-ext-install gd
|
|
84
|
+
|
|
85
|
+
RUN curl https://dl.yarnpkg.com
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# docker build -t devwithlando/php:8.2-fpm-4 .
|
|
2
|
+
|
|
3
|
+
FROM php:8.2-fpm-bullseye
|
|
4
|
+
|
|
5
|
+
# Install dependencies we need
|
|
6
|
+
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
|
+
&& apt -y update && apt-get install -y \
|
|
8
|
+
gnupg2 \
|
|
9
|
+
wget \
|
|
10
|
+
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
|
|
11
|
+
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
|
12
|
+
&& apt-get update && apt-get install -y \
|
|
13
|
+
bzip2 \
|
|
14
|
+
default-mysql-client \
|
|
15
|
+
exiftool \
|
|
16
|
+
git-core \
|
|
17
|
+
imagemagick \
|
|
18
|
+
libbz2-dev \
|
|
19
|
+
libc-client-dev \
|
|
20
|
+
libfreetype6-dev \
|
|
21
|
+
libicu-dev \
|
|
22
|
+
libjpeg62-turbo-dev \
|
|
23
|
+
libkrb5-dev \
|
|
24
|
+
libldap2-dev \
|
|
25
|
+
libmagickwand-dev \
|
|
26
|
+
libmemcached-dev \
|
|
27
|
+
libpng-dev \
|
|
28
|
+
libpq-dev \
|
|
29
|
+
libssl-dev \
|
|
30
|
+
libwebp-dev \
|
|
31
|
+
libxml2-dev \
|
|
32
|
+
libzip-dev \
|
|
33
|
+
libonig-dev \
|
|
34
|
+
openssl \
|
|
35
|
+
postgresql-client-10 \
|
|
36
|
+
pv \
|
|
37
|
+
rsync \
|
|
38
|
+
ssh \
|
|
39
|
+
unzip \
|
|
40
|
+
wget \
|
|
41
|
+
xfonts-75dpi \
|
|
42
|
+
xfonts-base \
|
|
43
|
+
zlib1g-dev \
|
|
44
|
+
&& pecl install apcu \
|
|
45
|
+
&& pecl install imagick \
|
|
46
|
+
&& pecl install memcached \
|
|
47
|
+
&& pecl install oauth \
|
|
48
|
+
&& pecl install redis-5.3.4 \
|
|
49
|
+
&& pecl install xdebug \
|
|
50
|
+
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
51
|
+
&& docker-php-ext-enable apcu \
|
|
52
|
+
&& docker-php-ext-enable imagick \
|
|
53
|
+
&& docker-php-ext-enable memcached \
|
|
54
|
+
&& docker-php-ext-enable oauth \
|
|
55
|
+
&& docker-php-ext-enable redis \
|
|
56
|
+
&& docker-php-ext-install bcmath \
|
|
57
|
+
&& docker-php-ext-install bz2 \
|
|
58
|
+
&& docker-php-ext-install calendar \
|
|
59
|
+
&& docker-php-ext-install exif \
|
|
60
|
+
&& docker-php-ext-install gettext \
|
|
61
|
+
&& docker-php-ext-install intl \
|
|
62
|
+
&& docker-php-ext-install ldap \
|
|
63
|
+
&& docker-php-ext-install mbstring \
|
|
64
|
+
&& docker-php-ext-install mysqli \
|
|
65
|
+
&& docker-php-ext-install opcache \
|
|
66
|
+
&& docker-php-ext-install pcntl \
|
|
67
|
+
&& docker-php-ext-install pdo \
|
|
68
|
+
&& docker-php-ext-install pdo_mysql \
|
|
69
|
+
&& docker-php-ext-install pdo_pgsql \
|
|
70
|
+
&& docker-php-ext-install soap \
|
|
71
|
+
&& docker-php-ext-install zip \
|
|
72
|
+
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.18 \
|
|
74
|
+
&& php -r "unlink('composer-setup.php');" \
|
|
75
|
+
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
|
+
&& apt-get -y clean \
|
|
77
|
+
&& apt-get -y autoclean \
|
|
78
|
+
&& apt-get -y autoremove \
|
|
79
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/* \
|
|
80
|
+
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
81
|
+
&& docker-php-ext-install imap \
|
|
82
|
+
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
83
|
+
&& docker-php-ext-install gd
|
|
84
|
+
|
|
85
|
+
# Tests
|
|
86
|
+
RUN curl https://dl.yarnpkg.com
|
|
@@ -252,6 +252,7 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
|
|
|
252
252
|
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
|
|
253
253
|
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
|
|
254
254
|
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
|
|
255
|
+
// ~0.0.1 --> >=0.0.1 <0.1.0-0
|
|
255
256
|
const replaceTildes = (comp, options) =>
|
|
256
257
|
comp.trim().split(/\s+/).map((c) => {
|
|
257
258
|
return replaceTilde(c, options)
|
|
@@ -291,6 +292,8 @@ const replaceTilde = (comp, options) => {
|
|
|
291
292
|
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
|
|
292
293
|
// ^1.2.3 --> >=1.2.3 <2.0.0-0
|
|
293
294
|
// ^1.2.0 --> >=1.2.0 <2.0.0-0
|
|
295
|
+
// ^0.0.1 --> >=0.0.1 <0.0.2-0
|
|
296
|
+
// ^0.1.0 --> >=0.1.0 <0.2.0-0
|
|
294
297
|
const replaceCarets = (comp, options) =>
|
|
295
298
|
comp.trim().split(/\s+/).map((c) => {
|
|
296
299
|
return replaceCaret(c, options)
|
|
@@ -1,48 +1,88 @@
|
|
|
1
1
|
// just pre-load all the stuff that index.js lazily exports
|
|
2
2
|
const internalRe = require('./internal/re')
|
|
3
|
+
const constants = require('./internal/constants')
|
|
4
|
+
const SemVer = require('./classes/semver')
|
|
5
|
+
const identifiers = require('./internal/identifiers')
|
|
6
|
+
const parse = require('./functions/parse')
|
|
7
|
+
const valid = require('./functions/valid')
|
|
8
|
+
const clean = require('./functions/clean')
|
|
9
|
+
const inc = require('./functions/inc')
|
|
10
|
+
const diff = require('./functions/diff')
|
|
11
|
+
const major = require('./functions/major')
|
|
12
|
+
const minor = require('./functions/minor')
|
|
13
|
+
const patch = require('./functions/patch')
|
|
14
|
+
const prerelease = require('./functions/prerelease')
|
|
15
|
+
const compare = require('./functions/compare')
|
|
16
|
+
const rcompare = require('./functions/rcompare')
|
|
17
|
+
const compareLoose = require('./functions/compare-loose')
|
|
18
|
+
const compareBuild = require('./functions/compare-build')
|
|
19
|
+
const sort = require('./functions/sort')
|
|
20
|
+
const rsort = require('./functions/rsort')
|
|
21
|
+
const gt = require('./functions/gt')
|
|
22
|
+
const lt = require('./functions/lt')
|
|
23
|
+
const eq = require('./functions/eq')
|
|
24
|
+
const neq = require('./functions/neq')
|
|
25
|
+
const gte = require('./functions/gte')
|
|
26
|
+
const lte = require('./functions/lte')
|
|
27
|
+
const cmp = require('./functions/cmp')
|
|
28
|
+
const coerce = require('./functions/coerce')
|
|
29
|
+
const Comparator = require('./classes/comparator')
|
|
30
|
+
const Range = require('./classes/range')
|
|
31
|
+
const satisfies = require('./functions/satisfies')
|
|
32
|
+
const toComparators = require('./ranges/to-comparators')
|
|
33
|
+
const maxSatisfying = require('./ranges/max-satisfying')
|
|
34
|
+
const minSatisfying = require('./ranges/min-satisfying')
|
|
35
|
+
const minVersion = require('./ranges/min-version')
|
|
36
|
+
const validRange = require('./ranges/valid')
|
|
37
|
+
const outside = require('./ranges/outside')
|
|
38
|
+
const gtr = require('./ranges/gtr')
|
|
39
|
+
const ltr = require('./ranges/ltr')
|
|
40
|
+
const intersects = require('./ranges/intersects')
|
|
41
|
+
const simplifyRange = require('./ranges/simplify')
|
|
42
|
+
const subset = require('./ranges/subset')
|
|
3
43
|
module.exports = {
|
|
44
|
+
parse,
|
|
45
|
+
valid,
|
|
46
|
+
clean,
|
|
47
|
+
inc,
|
|
48
|
+
diff,
|
|
49
|
+
major,
|
|
50
|
+
minor,
|
|
51
|
+
patch,
|
|
52
|
+
prerelease,
|
|
53
|
+
compare,
|
|
54
|
+
rcompare,
|
|
55
|
+
compareLoose,
|
|
56
|
+
compareBuild,
|
|
57
|
+
sort,
|
|
58
|
+
rsort,
|
|
59
|
+
gt,
|
|
60
|
+
lt,
|
|
61
|
+
eq,
|
|
62
|
+
neq,
|
|
63
|
+
gte,
|
|
64
|
+
lte,
|
|
65
|
+
cmp,
|
|
66
|
+
coerce,
|
|
67
|
+
Comparator,
|
|
68
|
+
Range,
|
|
69
|
+
satisfies,
|
|
70
|
+
toComparators,
|
|
71
|
+
maxSatisfying,
|
|
72
|
+
minSatisfying,
|
|
73
|
+
minVersion,
|
|
74
|
+
validRange,
|
|
75
|
+
outside,
|
|
76
|
+
gtr,
|
|
77
|
+
ltr,
|
|
78
|
+
intersects,
|
|
79
|
+
simplifyRange,
|
|
80
|
+
subset,
|
|
81
|
+
SemVer,
|
|
4
82
|
re: internalRe.re,
|
|
5
83
|
src: internalRe.src,
|
|
6
84
|
tokens: internalRe.t,
|
|
7
|
-
SEMVER_SPEC_VERSION:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,
|
|
11
|
-
parse: require('./functions/parse'),
|
|
12
|
-
valid: require('./functions/valid'),
|
|
13
|
-
clean: require('./functions/clean'),
|
|
14
|
-
inc: require('./functions/inc'),
|
|
15
|
-
diff: require('./functions/diff'),
|
|
16
|
-
major: require('./functions/major'),
|
|
17
|
-
minor: require('./functions/minor'),
|
|
18
|
-
patch: require('./functions/patch'),
|
|
19
|
-
prerelease: require('./functions/prerelease'),
|
|
20
|
-
compare: require('./functions/compare'),
|
|
21
|
-
rcompare: require('./functions/rcompare'),
|
|
22
|
-
compareLoose: require('./functions/compare-loose'),
|
|
23
|
-
compareBuild: require('./functions/compare-build'),
|
|
24
|
-
sort: require('./functions/sort'),
|
|
25
|
-
rsort: require('./functions/rsort'),
|
|
26
|
-
gt: require('./functions/gt'),
|
|
27
|
-
lt: require('./functions/lt'),
|
|
28
|
-
eq: require('./functions/eq'),
|
|
29
|
-
neq: require('./functions/neq'),
|
|
30
|
-
gte: require('./functions/gte'),
|
|
31
|
-
lte: require('./functions/lte'),
|
|
32
|
-
cmp: require('./functions/cmp'),
|
|
33
|
-
coerce: require('./functions/coerce'),
|
|
34
|
-
Comparator: require('./classes/comparator'),
|
|
35
|
-
Range: require('./classes/range'),
|
|
36
|
-
satisfies: require('./functions/satisfies'),
|
|
37
|
-
toComparators: require('./ranges/to-comparators'),
|
|
38
|
-
maxSatisfying: require('./ranges/max-satisfying'),
|
|
39
|
-
minSatisfying: require('./ranges/min-satisfying'),
|
|
40
|
-
minVersion: require('./ranges/min-version'),
|
|
41
|
-
validRange: require('./ranges/valid'),
|
|
42
|
-
outside: require('./ranges/outside'),
|
|
43
|
-
gtr: require('./ranges/gtr'),
|
|
44
|
-
ltr: require('./ranges/ltr'),
|
|
45
|
-
intersects: require('./ranges/intersects'),
|
|
46
|
-
simplifyRange: require('./ranges/simplify'),
|
|
47
|
-
subset: require('./ranges/subset'),
|
|
85
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
86
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
87
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers,
|
|
48
88
|
}
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semver",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.8",
|
|
4
4
|
"description": "The semantic version parser used by npm.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "tap",
|
|
8
8
|
"snap": "tap",
|
|
9
|
-
"preversion": "npm test",
|
|
10
|
-
"postversion": "npm publish",
|
|
11
|
-
"postpublish": "git push origin --follow-tags",
|
|
12
9
|
"lint": "eslint \"**/*.js\"",
|
|
13
10
|
"postlint": "template-oss-check",
|
|
14
11
|
"lintfix": "npm run lint -- --fix",
|
|
15
|
-
"prepublishOnly": "git push origin --follow-tags",
|
|
16
12
|
"posttest": "npm run lint",
|
|
17
13
|
"template-oss-apply": "template-oss-apply --force"
|
|
18
14
|
},
|
|
19
15
|
"devDependencies": {
|
|
20
16
|
"@npmcli/eslint-config": "^3.0.1",
|
|
21
|
-
"@npmcli/template-oss": "
|
|
17
|
+
"@npmcli/template-oss": "4.4.4",
|
|
22
18
|
"tap": "^16.0.0"
|
|
23
19
|
},
|
|
24
20
|
"license": "ISC",
|
|
@@ -31,6 +27,7 @@
|
|
|
31
27
|
},
|
|
32
28
|
"files": [
|
|
33
29
|
"bin/",
|
|
30
|
+
"lib/",
|
|
34
31
|
"classes/",
|
|
35
32
|
"functions/",
|
|
36
33
|
"internal/",
|
|
@@ -41,7 +38,11 @@
|
|
|
41
38
|
],
|
|
42
39
|
"tap": {
|
|
43
40
|
"check-coverage": true,
|
|
44
|
-
"coverage-map": "map.js"
|
|
41
|
+
"coverage-map": "map.js",
|
|
42
|
+
"nyc-arg": [
|
|
43
|
+
"--exclude",
|
|
44
|
+
"tap-snapshots/**"
|
|
45
|
+
]
|
|
45
46
|
},
|
|
46
47
|
"engines": {
|
|
47
48
|
"node": ">=10"
|
|
@@ -52,17 +53,18 @@
|
|
|
52
53
|
"author": "GitHub Inc.",
|
|
53
54
|
"templateOSS": {
|
|
54
55
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
55
|
-
"version": "
|
|
56
|
+
"version": "4.4.4",
|
|
56
57
|
"engines": ">=10",
|
|
58
|
+
"content": "./scripts",
|
|
57
59
|
"ciVersions": [
|
|
58
60
|
"10.0.0",
|
|
59
61
|
"10.x",
|
|
60
62
|
"12.x",
|
|
61
63
|
"14.x",
|
|
62
|
-
"16.x"
|
|
64
|
+
"16.x",
|
|
65
|
+
"18.x"
|
|
63
66
|
],
|
|
64
67
|
"distPaths": [
|
|
65
|
-
"bin/",
|
|
66
68
|
"classes/",
|
|
67
69
|
"functions/",
|
|
68
70
|
"internal/",
|
|
@@ -70,6 +72,15 @@
|
|
|
70
72
|
"index.js",
|
|
71
73
|
"preload.js",
|
|
72
74
|
"range.bnf"
|
|
75
|
+
],
|
|
76
|
+
"allowPaths": [
|
|
77
|
+
"/classes/",
|
|
78
|
+
"/functions/",
|
|
79
|
+
"/internal/",
|
|
80
|
+
"/ranges/",
|
|
81
|
+
"/index.js",
|
|
82
|
+
"/preload.js",
|
|
83
|
+
"/range.bnf"
|
|
73
84
|
]
|
|
74
85
|
}
|
|
75
86
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/php",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with PHP.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/php",
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=16.0.0"
|
|
18
18
|
},
|
|
19
|
-
"bundledDependencies":
|
|
19
|
+
"bundledDependencies": [
|
|
20
|
+
"lodash",
|
|
21
|
+
"semver"
|
|
22
|
+
],
|
|
20
23
|
"lando": {},
|
|
21
24
|
"main": "index.js",
|
|
22
25
|
"nyc": {
|
|
@@ -38,7 +41,7 @@
|
|
|
38
41
|
"docs:build": "vuepress build docs",
|
|
39
42
|
"docs:lint": "eslint -c docs/.eslintrc.json --quiet docs/.vuepress",
|
|
40
43
|
"lint": "eslint --quiet . && yarn docs:lint",
|
|
41
|
-
"release": "bump --prompt --tag --all --push",
|
|
44
|
+
"release": "bundle-dependencies update && bump --prompt --tag --all --push",
|
|
42
45
|
"test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
|
|
43
46
|
"test:leia": "yarn leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
|
|
44
47
|
"test": "yarn lint && yarn test:unit"
|
|
@@ -50,7 +53,8 @@
|
|
|
50
53
|
"devDependencies": {
|
|
51
54
|
"@babel/eslint-parser": "^7.16.0",
|
|
52
55
|
"@lando/leia": "^0.6.4",
|
|
53
|
-
"@lando/vuepress-theme-default-plus": "1.0.0-beta.
|
|
56
|
+
"@lando/vuepress-theme-default-plus": "1.0.0-beta.44",
|
|
57
|
+
"bundle-dependencies": "^1.0.2",
|
|
54
58
|
"chai": "^4.3.4",
|
|
55
59
|
"command-line-test": "^1.0.10",
|
|
56
60
|
"eslint": "^7.32.0",
|
|
@@ -59,6 +63,6 @@
|
|
|
59
63
|
"mocha": "^9.1.2",
|
|
60
64
|
"nyc": "^15.1.0",
|
|
61
65
|
"version-bump-prompt": "^4.2.1",
|
|
62
|
-
"vuepress": "
|
|
66
|
+
"vuepress": "2.0.0-beta.53"
|
|
63
67
|
}
|
|
64
68
|
}
|
package/services/php/builder.js
CHANGED
|
@@ -92,7 +92,7 @@ module.exports = {
|
|
|
92
92
|
name: 'php',
|
|
93
93
|
config: {
|
|
94
94
|
version: '7.4',
|
|
95
|
-
supported: ['8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
95
|
+
supported: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
96
96
|
legacy: ['7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
97
97
|
gen2: ['5.5', '5.4', '5.3'],
|
|
98
98
|
gen3: ['7.2', '7.1', '7.0', '5.6'],
|
|
@@ -110,7 +110,7 @@ module.exports = {
|
|
|
110
110
|
],
|
|
111
111
|
confSrc: __dirname,
|
|
112
112
|
command: ['sh -c \'a2enmod rewrite && apache2-foreground\''],
|
|
113
|
-
composer_version: '2.2.
|
|
113
|
+
composer_version: '2.2.18',
|
|
114
114
|
image: 'apache',
|
|
115
115
|
defaultFiles: {
|
|
116
116
|
_php: 'php.ini',
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1761,"argv":["/opt/hostedtoolcache/node/16.17.0/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1662660966373,"ppid":1749,"coverageFilename":"/home/runner/work/php/php/.nyc_output/6db1e3c9-942a-44f0-9535-ac9a63530768.json","externalId":"","uuid":"6db1e3c9-942a-44f0-9535-ac9a63530768","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1749,"argv":["/opt/hostedtoolcache/node/16.17.0/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1662660965513,"ppid":1748,"coverageFilename":"/home/runner/work/php/php/.nyc_output/7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77.json","externalId":"","uuid":"7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77","files":["/home/runner/work/php/php/lib/utils.js","/home/runner/work/php/php/services/php/builder.js"]}
|