From 1a1486699903dd881bfd8355a186fa5ffebcc2c3 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 4 Mar 2018 07:56:02 -0800 Subject: [PATCH] update p3k/http --- composer.json | 2 +- composer.lock | 14 +++++++------- controllers/Parse.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 768e988..b74aae7 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "indieweb/link-rel-parser": "0.1.*", "dg/twitter-php": "3.6.*", "p3k/timezone": "*", - "p3k/http": "0.1.*", + "p3k/http": ">=0.1.7", "cebe/markdown": "1.1.*", "p3k/picofeed": ">=0.1.38", "facebook/graph-sdk": "^5.5" diff --git a/composer.lock b/composer.lock index 80519c6..c4cc131 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "59d3e49509e8de79d4f07f04d2259a4c", + "content-hash": "0a104ee89f03db919f34d3a9d387380c", "packages": [ { "name": "cebe/markdown", @@ -316,21 +316,21 @@ }, { "name": "p3k/http", - "version": "0.1.5", + "version": "0.1.7", "source": { "type": "git", "url": "https://github.com/aaronpk/p3k-http.git", - "reference": "3740fe135e6d58457d7528e7c05a67b68e020a79" + "reference": "1826647c4902a18dea5ec532f21509ba4d51210b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aaronpk/p3k-http/zipball/3740fe135e6d58457d7528e7c05a67b68e020a79", - "reference": "3740fe135e6d58457d7528e7c05a67b68e020a79", + "url": "https://api.github.com/repos/aaronpk/p3k-http/zipball/1826647c4902a18dea5ec532f21509ba4d51210b", + "reference": "1826647c4902a18dea5ec532f21509ba4d51210b", "shasum": "" }, "require": { "indieweb/link-rel-parser": "0.1.*", - "mf2/mf2": "0.3.*" + "mf2/mf2": ">=0.3.2" }, "type": "library", "autoload": { @@ -350,7 +350,7 @@ ], "description": "A simple wrapper API around the PHP curl functions", "homepage": "https://github.com/aaronpk/p3k-http", - "time": "2017-04-29T17:43:29+00:00" + "time": "2018-03-04T15:21:58+00:00" }, { "name": "p3k/picofeed", diff --git a/controllers/Parse.php b/controllers/Parse.php index d20e11e..8a5129f 100644 --- a/controllers/Parse.php +++ b/controllers/Parse.php @@ -10,7 +10,7 @@ class Parse { public $mc; private $_cacheTime = 120; private $_pretty = false; - private static $_version = '1.2.2'; + private static $_version = '1.4.20'; public static function useragent() { return 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 XRay/'.self::$_version.' ('.\Config::$base.')';