From 4c6c3076c7afbcfd8877308c0d1530652b629bc0 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 5 Nov 2019 14:47:26 +1100 Subject: [PATCH] Add in xkerman/restricted-unserialize package --- composer.json | 3 ++- composer.lock | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 69eb155eadd9..84ed89bd5d15 100644 --- a/composer.json +++ b/composer.json @@ -65,7 +65,8 @@ "katzien/php-mime-type": "2.1.0", "civicrm/composer-downloads-plugin": "^2.0", "league/csv": "^9.2", - "tplaner/when": "dev-master#c1ec099f421bff354cc5c929f83b94031423fc80" + "tplaner/when": "dev-master#c1ec099f421bff354cc5c929f83b94031423fc80", + "xkerman/restricted-unserialize": "~1.1" }, "require-dev": { "cache/integration-tests": "dev-master" diff --git a/composer.lock b/composer.lock index 78a349252e21..c188be07a799 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0ac00e2168797fa522d7a6f036a5e296", + "content-hash": "ec0b6779b9262fd5c0b41d3eb4d5f109", "packages": [ { "name": "civicrm/civicrm-cxn-rpc", @@ -2275,6 +2275,57 @@ ], "time": "2019-01-11T21:59:13+00:00" }, + { + "name": "xkerman/restricted-unserialize", + "version": "1.1.12", + "source": { + "type": "git", + "url": "https://github.com/xKerman/restricted-unserialize.git", + "reference": "4c6cadbb176c04d3e19b9bb8b40df12998460489" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/xKerman/restricted-unserialize/zipball/4c6cadbb176c04d3e19b9bb8b40df12998460489", + "reference": "4c6cadbb176c04d3e19b9bb8b40df12998460489", + "shasum": "" + }, + "require": { + "php": ">=5.2" + }, + "require-dev": { + "nikic/php-parser": "^1.4|^3.0|^4.2", + "phpmd/phpmd": "^2.6", + "phpunit/phpunit": "^4.8|^5.7|^6.5|^7.4|^8.2", + "sebastian/phpcpd": "^2.0|^3.0|^4.1", + "squizlabs/php_codesniffer": "^2.9|^3.4" + }, + "type": "library", + "autoload": { + "files": [ + "src/function.php" + ], + "psr-4": { + "xKerman\\Restricted\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "xKerman", + "email": "xKhorasan@gmail.com" + } + ], + "description": "provide PHP Object Injection safe unserialize function", + "keywords": [ + "PHP Object Injection", + "deserialize", + "unserialize" + ], + "time": "2019-08-11T00:04:39+00:00" + }, { "name": "zendframework/zend-escaper", "version": "2.4.13",