Update dependencies

This commit is contained in:
grandeljay 2023-02-08 13:36:32 +01:00
parent 64b899a72a
commit 49d72886e6
13 changed files with 149 additions and 225 deletions

48
composer.lock generated
View file

@ -8,16 +8,16 @@
"packages": [ "packages": [
{ {
"name": "composer/ca-bundle", "name": "composer/ca-bundle",
"version": "1.3.4", "version": "1.3.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/ca-bundle.git", "url": "https://github.com/composer/ca-bundle.git",
"reference": "69098eca243998b53eed7a48d82dedd28b447cd5" "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/69098eca243998b53eed7a48d82dedd28b447cd5", "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd",
"reference": "69098eca243998b53eed7a48d82dedd28b447cd5", "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -64,7 +64,7 @@
"support": { "support": {
"irc": "irc://irc.freenode.org/composer", "irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues", "issues": "https://github.com/composer/ca-bundle/issues",
"source": "https://github.com/composer/ca-bundle/tree/1.3.4" "source": "https://github.com/composer/ca-bundle/tree/1.3.5"
}, },
"funding": [ "funding": [
{ {
@ -80,20 +80,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-12T12:08:29+00:00" "time": "2023-01-11T08:27:00+00:00"
}, },
{ {
"name": "embed/embed", "name": "embed/embed",
"version": "v4.4.6", "version": "v4.4.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/oscarotero/Embed.git", "url": "https://github.com/oscarotero/Embed.git",
"reference": "9cb2dff5c82201bbf653b7396d533d1914ff4517" "reference": "72ea7eb8226008dd10834bc0c9becc708f7a7871"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/oscarotero/Embed/zipball/9cb2dff5c82201bbf653b7396d533d1914ff4517", "url": "https://api.github.com/repos/oscarotero/Embed/zipball/72ea7eb8226008dd10834bc0c9becc708f7a7871",
"reference": "9cb2dff5c82201bbf653b7396d533d1914ff4517", "reference": "72ea7eb8226008dd10834bc0c9becc708f7a7871",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -153,7 +153,7 @@
"support": { "support": {
"email": "oom@oscarotero.com", "email": "oom@oscarotero.com",
"issues": "https://github.com/oscarotero/Embed/issues", "issues": "https://github.com/oscarotero/Embed/issues",
"source": "https://github.com/oscarotero/Embed/tree/v4.4.6" "source": "https://github.com/oscarotero/Embed/tree/v4.4.7"
}, },
"funding": [ "funding": [
{ {
@ -169,7 +169,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2022-10-02T15:13:01+00:00" "time": "2022-12-12T14:45:19+00:00"
}, },
{ {
"name": "fig/http-message-util", "name": "fig/http-message-util",
@ -491,16 +491,16 @@
}, },
{ {
"name": "jaybizzle/crawler-detect", "name": "jaybizzle/crawler-detect",
"version": "v1.2.112", "version": "v1.2.113",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/JayBizzle/Crawler-Detect.git", "url": "https://github.com/JayBizzle/Crawler-Detect.git",
"reference": "2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f" "reference": "6710b75871da2b718550c2bc33388315a3b20151"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f", "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/6710b75871da2b718550c2bc33388315a3b20151",
"reference": "2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f", "reference": "6710b75871da2b718550c2bc33388315a3b20151",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -537,9 +537,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/JayBizzle/Crawler-Detect/issues", "issues": "https://github.com/JayBizzle/Crawler-Detect/issues",
"source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.112" "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.113"
}, },
"time": "2022-10-05T21:52:44+00:00" "time": "2023-02-02T21:01:40+00:00"
}, },
{ {
"name": "ml/iri", "name": "ml/iri",
@ -647,16 +647,16 @@
}, },
{ {
"name": "oscarotero/html-parser", "name": "oscarotero/html-parser",
"version": "v0.1.6", "version": "v0.1.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/oscarotero/html-parser.git", "url": "https://github.com/oscarotero/html-parser.git",
"reference": "b61e92f634d0dc184339d24630a6968d3ac64ded" "reference": "0c5b619bdc7ac061f06a667d913e2af708ee3231"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/oscarotero/html-parser/zipball/b61e92f634d0dc184339d24630a6968d3ac64ded", "url": "https://api.github.com/repos/oscarotero/html-parser/zipball/0c5b619bdc7ac061f06a667d913e2af708ee3231",
"reference": "b61e92f634d0dc184339d24630a6968d3ac64ded", "reference": "0c5b619bdc7ac061f06a667d913e2af708ee3231",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -694,9 +694,9 @@
"support": { "support": {
"email": "oom@oscarotero.com", "email": "oom@oscarotero.com",
"issues": "https://github.com/oscarotero/html-parser/issues", "issues": "https://github.com/oscarotero/html-parser/issues",
"source": "https://github.com/oscarotero/html-parser/tree/v0.1.6" "source": "https://github.com/oscarotero/html-parser/tree/v0.1.7"
}, },
"time": "2020-11-19T17:43:46+00:00" "time": "2022-12-17T09:48:58+00:00"
}, },
{ {
"name": "psr/http-client", "name": "psr/http-client",

View file

@ -1,7 +1,7 @@
## ##
## Bundle of CA Root Certificates ## Bundle of CA Root Certificates
## ##
## Certificate data from Mozilla as of: Tue Oct 11 03:12:05 2022 GMT ## Certificate data from Mozilla as of: Tue Jan 10 04:12:06 2023 GMT
## ##
## This is a bundle of X.509 certificates of public Certificate Authorities ## This is a bundle of X.509 certificates of public Certificate Authorities
## (CA). These were automatically extracted from Mozilla's root certificates ## (CA). These were automatically extracted from Mozilla's root certificates
@ -14,7 +14,7 @@
## Just configure this file as the SSLCACertificateFile. ## Just configure this file as the SSLCACertificateFile.
## ##
## Conversion done with mk-ca-bundle.pl version 1.29. ## Conversion done with mk-ca-bundle.pl version 1.29.
## SHA256: 3ff8bd209b5f2e739b9f2b96eacb694a774114685b02978257824f37ff528f71 ## SHA256: 90c470e705b4b5f36f09684dc50e2b79c8b86989a848b62cd1a7bd6460ee65f6
## ##
@ -489,29 +489,6 @@ IGfE7vmLV2H0knZ9P4SNVbfo5azV8fUZVqZa+5Acr5Pr5RzUZ5ddBA6+C4OmF4O5MBKgxTMVBbkN
+8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IBZQ== +8cFduPYSo38NBejxiEovjBFMR7HeL5YYTisO+IBZQ==
-----END CERTIFICATE----- -----END CERTIFICATE-----
Network Solutions Certificate Authority
=======================================
-----BEGIN CERTIFICATE-----
MIID5jCCAs6gAwIBAgIQV8szb8JcFuZHFhfjkDFo4DANBgkqhkiG9w0BAQUFADBiMQswCQYDVQQG
EwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMuMTAwLgYDVQQDEydOZXR3b3Jr
IFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwHhcNMDYxMjAxMDAwMDAwWhcNMjkxMjMx
MjM1OTU5WjBiMQswCQYDVQQGEwJVUzEhMB8GA1UEChMYTmV0d29yayBTb2x1dGlvbnMgTC5MLkMu
MTAwLgYDVQQDEydOZXR3b3JrIFNvbHV0aW9ucyBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDkvH6SMG3G2I4rC7xGzuAnlt7e+foS0zwzc7MEL7xx
jOWftiJgPl9dzgn/ggwbmlFQGiaJ3dVhXRncEg8tCqJDXRfQNJIg6nPPOCwGJgl6cvf6UDL4wpPT
aaIjzkGxzOTVHzbRijr4jGPiFFlp7Q3Tf2vouAPlT2rlmGNpSAW+Lv8ztumXWWn4Zxmuk2GWRBXT
crA/vGp97Eh/jcOrqnErU2lBUzS1sLnFBgrEsEX1QV1uiUV7PTsmjHTC5dLRfbIR1PtYMiKagMnc
/Qzpf14Dl847ABSHJ3A4qY5usyd2mFHgBeMhqxrVhSI8KbWaFsWAqPS7azCPL0YCorEMIuDTAgMB
AAGjgZcwgZQwHQYDVR0OBBYEFCEwyfsA106Y2oeqKtCnLrFAMadMMA4GA1UdDwEB/wQEAwIBBjAP
BgNVHRMBAf8EBTADAQH/MFIGA1UdHwRLMEkwR6BFoEOGQWh0dHA6Ly9jcmwubmV0c29sc3NsLmNv
bS9OZXR3b3JrU29sdXRpb25zQ2VydGlmaWNhdGVBdXRob3JpdHkuY3JsMA0GCSqGSIb3DQEBBQUA
A4IBAQC7rkvnt1frf6ott3NHhWrB5KUd5Oc86fRZZXe1eltajSU24HqXLjjAV2CDmAaDn7l2em5Q
4LqILPxFzBiwmZVRDuwduIj/h1AcgsLj4DKAv6ALR8jDMe+ZZzKATxcheQxpXN5eNK4CtSbqUN9/
GGUsyfJj4akH/nxxH2szJGoeBfcFaMBqEssuXmHLrijTfsK0ZpEmXzwuJF/LWA/rKOyvEZbz3Htv
wKeI8lN3s2Berq4o2jUsbzRF0ybh3uxbTydrFny9RAQYgrOJeRcQcT16ohZO9QHNpGxlaKFJdlxD
ydi8NmdspZS11My5vWo1ViHe2MPr+8ukYEywVaCge1ey
-----END CERTIFICATE-----
COMODO ECC Certification Authority COMODO ECC Certification Authority
================================== ==================================
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
@ -1654,36 +1631,6 @@ uglB4Zf4+/2a4n0Sye18ZNPLBSWLVtmg515dTguDnFt2KaAJJiFqYgIwcdK1j1zqO+F4CYWodZI7
yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3 yFz9SO8NdCKoCOJuxUnOxwy8p2Fp8fc74SrL+SvzZpA3
-----END CERTIFICATE----- -----END CERTIFICATE-----
Staat der Nederlanden EV Root CA
================================
-----BEGIN CERTIFICATE-----
MIIFcDCCA1igAwIBAgIEAJiWjTANBgkqhkiG9w0BAQsFADBYMQswCQYDVQQGEwJOTDEeMBwGA1UE
CgwVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSkwJwYDVQQDDCBTdGFhdCBkZXIgTmVkZXJsYW5kZW4g
RVYgUm9vdCBDQTAeFw0xMDEyMDgxMTE5MjlaFw0yMjEyMDgxMTEwMjhaMFgxCzAJBgNVBAYTAk5M
MR4wHAYDVQQKDBVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xKTAnBgNVBAMMIFN0YWF0IGRlciBOZWRl
cmxhbmRlbiBFViBSb290IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA48d+ifkk
SzrSM4M1LGns3Amk41GoJSt5uAg94JG6hIXGhaTK5skuU6TJJB79VWZxXSzFYGgEt9nCUiY4iKTW
O0Cmws0/zZiTs1QUWJZV1VD+hq2kY39ch/aO5ieSZxeSAgMs3NZmdO3dZ//BYY1jTw+bbRcwJu+r
0h8QoPnFfxZpgQNH7R5ojXKhTbImxrpsX23Wr9GxE46prfNeaXUmGD5BKyF/7otdBwadQ8QpCiv8
Kj6GyzyDOvnJDdrFmeK8eEEzduG/L13lpJhQDBXd4Pqcfzho0LKmeqfRMb1+ilgnQ7O6M5HTp5gV
XJrm0w912fxBmJc+qiXbj5IusHsMX/FjqTf5m3VpTCgmJdrV8hJwRVXj33NeN/UhbJCONVrJ0yPr
08C+eKxCKFhmpUZtcALXEPlLVPxdhkqHz3/KRawRWrUgUY0viEeXOcDPusBCAUCZSCELa6fS/ZbV
0b5GnUngC6agIk440ME8MLxwjyx1zNDFjFE7PZQIZCZhfbnDZY8UnCHQqv0XcgOPvZuM5l5Tnrmd
74K74bzickFbIZTTRTeU0d8JOV3nI6qaHcptqAqGhYqCvkIH1vI4gnPah1vlPNOePqc7nvQDs/nx
fRN0Av+7oeX6AHkcpmZBiFxgV6YuCcS6/ZrPpx9Aw7vMWgpVSzs4dlG4Y4uElBbmVvMCAwEAAaNC
MEAwDwYDVR0TAQH/BAUwAwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFP6rAJCYniT8qcwa
ivsnuL8wbqg7MA0GCSqGSIb3DQEBCwUAA4ICAQDPdyxuVr5Os7aEAJSrR8kN0nbHhp8dB9O2tLsI
eK9p0gtJ3jPFrK3CiAJ9Brc1AsFgyb/E6JTe1NOpEyVa/m6irn0F3H3zbPB+po3u2dfOWBfoqSmu
c0iH55vKbimhZF8ZE/euBhD/UcabTVUlT5OZEAFTdfETzsemQUHSv4ilf0X8rLiltTMMgsT7B/Zq
5SWEXwbKwYY5EdtYzXc7LMJMD16a4/CrPmEbUCTCwPTxGfARKbalGAKb12NMcIxHowNDXLldRqAN
b/9Zjr7dn3LDWyvfjFvO5QxGbJKyCqNMVEIYFRIYvdr8unRu/8G2oGTYqV9Vrp9canaW2HNnh/tN
f1zuacpzEPuKqf2evTY4SUmH9A4U8OmHuD+nT3pajnnUk+S7aFKErGzp85hwVXIy+TSrK0m1zSBi
5Dp6Z2Orltxtrpfs/J92VoguZs9btsmksNcFuuEnL5O7Jiqik7Ab846+HUCjuTaPPoIaGl6I6lD4
WeKDRikL40Rc4ZW2aZCaFG+XroHPaO+Zmr615+F/+PoTRxZMzG0IQOeLeG9QgkRQP2YGiqtDhFZK
DyAthg710tvSeopLzaXoTvFeJiUBWSOgftL2fiFX1ye8FVdMpEbB4IMeDExNH08GGeL5qPQ6gqGy
eUN51q1veieQA6TqJIc/2b3Z6fJfUEkc7uzXLg==
-----END CERTIFICATE-----
IdenTrust Commercial Root CA 1 IdenTrust Commercial Root CA 1
============================== ==============================
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
@ -2135,87 +2082,6 @@ F8Io2c9Si1vIY9RCPqAzekYu9wogRlR+ak8x8YF+QnQ4ZXMn7sZ8uI7XpTrXmKGcjBBV09tL7ECQ
aaApJUqlyyvdimYHFngVV3Eb7PVHhPOeMTd61X8kreS8/f3MboPoDKi3QWwH3b08hpcv0g== aaApJUqlyyvdimYHFngVV3Eb7PVHhPOeMTd61X8kreS8/f3MboPoDKi3QWwH3b08hpcv0g==
-----END CERTIFICATE----- -----END CERTIFICATE-----
TrustCor RootCert CA-1
======================
-----BEGIN CERTIFICATE-----
MIIEMDCCAxigAwIBAgIJANqb7HHzA7AZMA0GCSqGSIb3DQEBCwUAMIGkMQswCQYDVQQGEwJQQTEP
MA0GA1UECAwGUGFuYW1hMRQwEgYDVQQHDAtQYW5hbWEgQ2l0eTEkMCIGA1UECgwbVHJ1c3RDb3Ig
U3lzdGVtcyBTLiBkZSBSLkwuMScwJQYDVQQLDB5UcnVzdENvciBDZXJ0aWZpY2F0ZSBBdXRob3Jp
dHkxHzAdBgNVBAMMFlRydXN0Q29yIFJvb3RDZXJ0IENBLTEwHhcNMTYwMjA0MTIzMjE2WhcNMjkx
MjMxMTcyMzE2WjCBpDELMAkGA1UEBhMCUEExDzANBgNVBAgMBlBhbmFtYTEUMBIGA1UEBwwLUGFu
YW1hIENpdHkxJDAiBgNVBAoMG1RydXN0Q29yIFN5c3RlbXMgUy4gZGUgUi5MLjEnMCUGA1UECwwe
VHJ1c3RDb3IgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MR8wHQYDVQQDDBZUcnVzdENvciBSb290Q2Vy
dCBDQS0xMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv463leLCJhJrMxnHQFgKq1mq
jQCj/IDHUHuO1CAmujIS2CNUSSUQIpidRtLByZ5OGy4sDjjzGiVoHKZaBeYei0i/mJZ0PmnK6bV4
pQa81QBeCQryJ3pS/C3Vseq0iWEk8xoT26nPUu0MJLq5nux+A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62HGz1Ah3UKt1VkOsqEUc8Ll50soIipX1TH0Xs
J5F95yIW6MBoNtjG8U+ARDL54dHRHareqKucBK+tIA5kmE2la8BIWJZpTdwHjFGTot+fDz2LYLSC
jaoITmJF4PkL0uDgPFveXHEnJcLmA4GLEFPjx1WitJ/X5g==
-----END CERTIFICATE-----
SSL.com Root Certification Authority RSA SSL.com Root Certification Authority RSA
======================================== ========================================
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----

View file

@ -2,17 +2,17 @@
"packages": [ "packages": [
{ {
"name": "composer/ca-bundle", "name": "composer/ca-bundle",
"version": "1.3.4", "version": "1.3.5",
"version_normalized": "1.3.4.0", "version_normalized": "1.3.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/ca-bundle.git", "url": "https://github.com/composer/ca-bundle.git",
"reference": "69098eca243998b53eed7a48d82dedd28b447cd5" "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/ca-bundle/zipball/69098eca243998b53eed7a48d82dedd28b447cd5", "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd",
"reference": "69098eca243998b53eed7a48d82dedd28b447cd5", "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -26,7 +26,7 @@
"symfony/phpunit-bridge": "^4.2 || ^5", "symfony/phpunit-bridge": "^4.2 || ^5",
"symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0" "symfony/process": "^2.5 || ^3.0 || ^4.0 || ^5.0 || ^6.0"
}, },
"time": "2022-10-12T12:08:29+00:00", "time": "2023-01-11T08:27:00+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
@ -61,7 +61,7 @@
"support": { "support": {
"irc": "irc://irc.freenode.org/composer", "irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/ca-bundle/issues", "issues": "https://github.com/composer/ca-bundle/issues",
"source": "https://github.com/composer/ca-bundle/tree/1.3.4" "source": "https://github.com/composer/ca-bundle/tree/1.3.5"
}, },
"funding": [ "funding": [
{ {
@ -81,17 +81,17 @@
}, },
{ {
"name": "embed/embed", "name": "embed/embed",
"version": "v4.4.6", "version": "v4.4.7",
"version_normalized": "4.4.6.0", "version_normalized": "4.4.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/oscarotero/Embed.git", "url": "https://github.com/oscarotero/Embed.git",
"reference": "9cb2dff5c82201bbf653b7396d533d1914ff4517" "reference": "72ea7eb8226008dd10834bc0c9becc708f7a7871"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/oscarotero/Embed/zipball/9cb2dff5c82201bbf653b7396d533d1914ff4517", "url": "https://api.github.com/repos/oscarotero/Embed/zipball/72ea7eb8226008dd10834bc0c9becc708f7a7871",
"reference": "9cb2dff5c82201bbf653b7396d533d1914ff4517", "reference": "72ea7eb8226008dd10834bc0c9becc708f7a7871",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -118,7 +118,7 @@
"suggest": { "suggest": {
"symfony/css-selector": "If you want to get elements using css selectors" "symfony/css-selector": "If you want to get elements using css selectors"
}, },
"time": "2022-10-02T15:13:01+00:00", "time": "2022-12-12T14:45:19+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
@ -153,7 +153,7 @@
"support": { "support": {
"email": "oom@oscarotero.com", "email": "oom@oscarotero.com",
"issues": "https://github.com/oscarotero/Embed/issues", "issues": "https://github.com/oscarotero/Embed/issues",
"source": "https://github.com/oscarotero/Embed/tree/v4.4.6" "source": "https://github.com/oscarotero/Embed/tree/v4.4.7"
}, },
"funding": [ "funding": [
{ {
@ -506,17 +506,17 @@
}, },
{ {
"name": "jaybizzle/crawler-detect", "name": "jaybizzle/crawler-detect",
"version": "v1.2.112", "version": "v1.2.113",
"version_normalized": "1.2.112.0", "version_normalized": "1.2.113.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/JayBizzle/Crawler-Detect.git", "url": "https://github.com/JayBizzle/Crawler-Detect.git",
"reference": "2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f" "reference": "6710b75871da2b718550c2bc33388315a3b20151"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f", "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/6710b75871da2b718550c2bc33388315a3b20151",
"reference": "2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f", "reference": "6710b75871da2b718550c2bc33388315a3b20151",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -525,7 +525,7 @@
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.8|^5.5|^6.5|^9.4" "phpunit/phpunit": "^4.8|^5.5|^6.5|^9.4"
}, },
"time": "2022-10-05T21:52:44+00:00", "time": "2023-02-02T21:01:40+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
@ -555,7 +555,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/JayBizzle/Crawler-Detect/issues", "issues": "https://github.com/JayBizzle/Crawler-Detect/issues",
"source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.112" "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.113"
}, },
"install-path": "../jaybizzle/crawler-detect" "install-path": "../jaybizzle/crawler-detect"
}, },
@ -671,17 +671,17 @@
}, },
{ {
"name": "oscarotero/html-parser", "name": "oscarotero/html-parser",
"version": "v0.1.6", "version": "v0.1.7",
"version_normalized": "0.1.6.0", "version_normalized": "0.1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/oscarotero/html-parser.git", "url": "https://github.com/oscarotero/html-parser.git",
"reference": "b61e92f634d0dc184339d24630a6968d3ac64ded" "reference": "0c5b619bdc7ac061f06a667d913e2af708ee3231"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/oscarotero/html-parser/zipball/b61e92f634d0dc184339d24630a6968d3ac64ded", "url": "https://api.github.com/repos/oscarotero/html-parser/zipball/0c5b619bdc7ac061f06a667d913e2af708ee3231",
"reference": "b61e92f634d0dc184339d24630a6968d3ac64ded", "reference": "0c5b619bdc7ac061f06a667d913e2af708ee3231",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -691,7 +691,7 @@
"friendsofphp/php-cs-fixer": "^2.11", "friendsofphp/php-cs-fixer": "^2.11",
"phpunit/phpunit": "^8.0" "phpunit/phpunit": "^8.0"
}, },
"time": "2020-11-19T17:43:46+00:00", "time": "2022-12-17T09:48:58+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {
@ -721,7 +721,7 @@
"support": { "support": {
"email": "oom@oscarotero.com", "email": "oom@oscarotero.com",
"issues": "https://github.com/oscarotero/html-parser/issues", "issues": "https://github.com/oscarotero/html-parser/issues",
"source": "https://github.com/oscarotero/html-parser/tree/v0.1.6" "source": "https://github.com/oscarotero/html-parser/tree/v0.1.7"
}, },
"install-path": "../oscarotero/html-parser" "install-path": "../oscarotero/html-parser"
}, },

View file

@ -3,7 +3,7 @@
'name' => '__root__', 'name' => '__root__',
'pretty_version' => 'dev-develop', 'pretty_version' => 'dev-develop',
'version' => 'dev-develop', 'version' => 'dev-develop',
'reference' => '9691514be6a2e56ed57f0cf8638f4c590522c661', 'reference' => '64b899a72adfaa1c0144d443939c00b9a42497bd',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
@ -13,25 +13,25 @@
'__root__' => array( '__root__' => array(
'pretty_version' => 'dev-develop', 'pretty_version' => 'dev-develop',
'version' => 'dev-develop', 'version' => 'dev-develop',
'reference' => '9691514be6a2e56ed57f0cf8638f4c590522c661', 'reference' => '64b899a72adfaa1c0144d443939c00b9a42497bd',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../../', 'install_path' => __DIR__ . '/../../',
'aliases' => array(), 'aliases' => array(),
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'composer/ca-bundle' => array( 'composer/ca-bundle' => array(
'pretty_version' => '1.3.4', 'pretty_version' => '1.3.5',
'version' => '1.3.4.0', 'version' => '1.3.5.0',
'reference' => '69098eca243998b53eed7a48d82dedd28b447cd5', 'reference' => '74780ccf8c19d6acb8d65c5f39cd72110e132bbd',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/./ca-bundle', 'install_path' => __DIR__ . '/./ca-bundle',
'aliases' => array(), 'aliases' => array(),
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'embed/embed' => array( 'embed/embed' => array(
'pretty_version' => 'v4.4.6', 'pretty_version' => 'v4.4.7',
'version' => '4.4.6.0', 'version' => '4.4.7.0',
'reference' => '9cb2dff5c82201bbf653b7396d533d1914ff4517', 'reference' => '72ea7eb8226008dd10834bc0c9becc708f7a7871',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../embed/embed', 'install_path' => __DIR__ . '/../embed/embed',
'aliases' => array(), 'aliases' => array(),
@ -83,9 +83,9 @@
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'jaybizzle/crawler-detect' => array( 'jaybizzle/crawler-detect' => array(
'pretty_version' => 'v1.2.112', 'pretty_version' => 'v1.2.113',
'version' => '1.2.112.0', 'version' => '1.2.113.0',
'reference' => '2c555ce35a07a5c1c808cee7d5bb52c41a4c7b2f', 'reference' => '6710b75871da2b718550c2bc33388315a3b20151',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../jaybizzle/crawler-detect', 'install_path' => __DIR__ . '/../jaybizzle/crawler-detect',
'aliases' => array(), 'aliases' => array(),
@ -110,9 +110,9 @@
'dev_requirement' => false, 'dev_requirement' => false,
), ),
'oscarotero/html-parser' => array( 'oscarotero/html-parser' => array(
'pretty_version' => 'v0.1.6', 'pretty_version' => 'v0.1.7',
'version' => '0.1.6.0', 'version' => '0.1.7.0',
'reference' => 'b61e92f634d0dc184339d24630a6968d3ac64ded', 'reference' => '0c5b619bdc7ac061f06a667d913e2af708ee3231',
'type' => 'library', 'type' => 'library',
'install_path' => __DIR__ . '/../oscarotero/html-parser', 'install_path' => __DIR__ . '/../oscarotero/html-parser',
'aliases' => array(), 'aliases' => array(),

View file

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
## [4.4.7] - 2022-12-12
### Fixed
- Href attributes with `undefined` values [#501], [#502]
- Deprecated warning for var interpolation in PHP 8.2 [#506]
- Prevent unsupported operand types exception [#507]
## [4.4.6] - 2022-10-02 ## [4.4.6] - 2022-10-02
### Fixed ### Fixed
- Some code issues detected by phpstan: [#495], [#496], [#497], [#498]. - Some code issues detected by phpstan: [#495], [#496], [#497], [#498].
@ -201,7 +207,12 @@ Full library refactoring.
[#497]: https://github.com/oscarotero/Embed/issues/497 [#497]: https://github.com/oscarotero/Embed/issues/497
[#498]: https://github.com/oscarotero/Embed/issues/498 [#498]: https://github.com/oscarotero/Embed/issues/498
[#499]: https://github.com/oscarotero/Embed/issues/499 [#499]: https://github.com/oscarotero/Embed/issues/499
[#501]: https://github.com/oscarotero/Embed/issues/501
[#502]: https://github.com/oscarotero/Embed/issues/502
[#506]: https://github.com/oscarotero/Embed/issues/506
[#507]: https://github.com/oscarotero/Embed/issues/507
[4.4.7]: https://github.com/oscarotero/Embed/compare/v4.4.6...v4.4.7
[4.4.6]: https://github.com/oscarotero/Embed/compare/v4.4.5...v4.4.6 [4.4.6]: https://github.com/oscarotero/Embed/compare/v4.4.5...v4.4.6
[4.4.5]: https://github.com/oscarotero/Embed/compare/v4.4.4...v4.4.5 [4.4.5]: https://github.com/oscarotero/Embed/compare/v4.4.4...v4.4.5
[4.4.4]: https://github.com/oscarotero/Embed/compare/v4.4.3...v4.4.4 [4.4.4]: https://github.com/oscarotero/Embed/compare/v4.4.3...v4.4.4

View file

@ -165,7 +165,7 @@ class OEmbed
try { try {
$data = json_decode($json, true); $data = json_decode($json, true);
return $data ? ($data + $this->defaults) : []; return is_array($data) ? ($data + $this->defaults) : [];
} catch (Exception $exception) { } catch (Exception $exception) {
return []; return [];
} }

View file

@ -33,7 +33,7 @@ function html(string $tagName, array $attributes, string $content = null): strin
} }
if ($tagName === 'img') { if ($tagName === 'img') {
return "${html} />"; return "$html />";
} }
return "{$html}>{$content}</{$tagName}>"; return "{$html}>{$content}</{$tagName}>";

View file

@ -12,7 +12,7 @@ jobs:
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix:
php: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1] php: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2]
name: PHP:${{ matrix.php }} name: PHP:${{ matrix.php }}

View file

@ -184,4 +184,13 @@ class CrawlerDetect
{ {
return isset($this->matches[0]) ? $this->matches[0] : null; return isset($this->matches[0]) ? $this->matches[0] : null;
} }
/**
* @return string|null
*/
public function getUserAgent()
{
return $this->userAgent;
}
} }

View file

@ -0,0 +1,44 @@
name: "testing"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
php:
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Cache PHP dependencies
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-php-${{ matrix.php }}-composer-
- name: Install dependencies
run: composer install
- name: Tests
run: composer test

View file

@ -1,16 +0,0 @@
language: php
sudo: false
matrix:
include:
- php: 7.2
- php: 7.4
- php: nightly
env:
- COMPOSER_ARG="--ignore-platform-reqs"
before_install:
- composer install $COMPOSER_ARG
script:
- composer test

View file

@ -5,13 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/). and this project adheres to [Semantic Versioning](http://semver.org/).
## [0.1.7] - 2022-12-17
### Added
- Support for PHP 8.2 [#4].
### Changed
- Use GitHub Workflows for testing.
## [0.1.6] - 2020-11-19 ## [0.1.6] - 2020-11-19
### Added ### Added
- Added a second argument to `parse` and `parseFragment` to specify the encoding instead autodetect [#2] [#3] - Added a second argument to `parse` and `parseFragment` to specify the encoding instead autodetect [#2] [#3].
## [0.1.5] - 2020-08-31 ## [0.1.5] - 2020-08-31
### Fixed ### Fixed
- Support for PHP 8 [#1] - Support for PHP 8 [#1].
## [0.1.4] - 2019-12-15 ## [0.1.4] - 2019-12-15
### Fixed ### Fixed
@ -29,16 +36,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed ### Fixed
- `parseFragment` was returning a fragment containing only the first element - `parseFragment` was returning a fragment containing only the first element
## 0.1.0 - 2019-04-21 ## [0.1.0] - 2019-04-21
First version First version
[#1]: https://github.com/oscarotero/html-parser/issues/1 [#1]: https://github.com/oscarotero/html-parser/issues/1
[#2]: https://github.com/oscarotero/html-parser/issues/2 [#2]: https://github.com/oscarotero/html-parser/issues/2
[#3]: https://github.com/oscarotero/html-parser/issues/3 [#3]: https://github.com/oscarotero/html-parser/issues/3
[#4]: https://github.com/oscarotero/html-parser/issues/4
[0.1.7]: https://github.com/oscarotero/html-parser/compare/v0.1.6...v0.1.7
[0.1.6]: https://github.com/oscarotero/html-parser/compare/v0.1.5...v0.1.6 [0.1.6]: https://github.com/oscarotero/html-parser/compare/v0.1.5...v0.1.6
[0.1.5]: https://github.com/oscarotero/html-parser/compare/v0.1.4...v0.1.5 [0.1.5]: https://github.com/oscarotero/html-parser/compare/v0.1.4...v0.1.5
[0.1.4]: https://github.com/oscarotero/html-parser/compare/v0.1.3...v0.1.4 [0.1.4]: https://github.com/oscarotero/html-parser/compare/v0.1.3...v0.1.4
[0.1.3]: https://github.com/oscarotero/html-parser/compare/v0.1.2...v0.1.3 [0.1.3]: https://github.com/oscarotero/html-parser/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/oscarotero/html-parser/compare/v0.1.1...v0.1.2 [0.1.2]: https://github.com/oscarotero/html-parser/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/oscarotero/html-parser/compare/v0.1.0...v0.1.1 [0.1.1]: https://github.com/oscarotero/html-parser/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/oscarotero/html-parser/releases/tag/v0.1.0

View file

@ -26,7 +26,7 @@ class Parser
$detected = $encoding ?? mb_detect_encoding($html); $detected = $encoding ?? mb_detect_encoding($html);
if ($detected) { if ($detected) {
$html = mb_convert_encoding($html, 'HTML-ENTITIES', $detected); $html = mb_encode_numericentity($html, [0x80, 0xFFFFFF, 0, -1], $detected);
} }
$document = self::createDOMDocument($html); $document = self::createDOMDocument($html);