Update composer.json

- Switch pear/Text_Highlighter to Github repository
- Add fxp/composer-asset-plugin dependency
This commit is contained in:
Hypolite Petovan 2018-01-16 16:55:14 -05:00
parent 0db92ec50b
commit 5a88215cab
2 changed files with 219 additions and 171 deletions

View File

@ -18,15 +18,16 @@
"league/html-to-markdown": "~4.4.1", "league/html-to-markdown": "~4.4.1",
"defuse/php-encryption": "1.*", "defuse/php-encryption": "1.*",
"pear/Text_LanguageDetect": "1.*", "pear/Text_LanguageDetect": "1.*",
"pear-pear.php.net/Text_Highlighter": "*", "pear/Text_Highlighter": "dev-master",
"paragonie/random_compat": "^2.0", "paragonie/random_compat": "^2.0",
"smarty/smarty": "^3.1", "smarty/smarty": "^3.1",
"michelf/php-markdown": "^1.7" "michelf/php-markdown": "^1.7",
"fxp/composer-asset-plugin": "~1.3"
}, },
"repositories": [ "repositories": [
{ {
"type": "pear", "type": "vcs",
"url": "https://pear.php.net" "url": "https://github.com/pear/Text_Highlighter"
} }
], ],
"autoload": { "autoload": {
@ -37,7 +38,13 @@
"config": { "config": {
"autoloader-suffix": "Friendica", "autoloader-suffix": "Friendica",
"optimize-autoloader": true, "optimize-autoloader": true,
"preferred-install": "dist" "preferred-install": "dist",
"fxp-asset": {
"installer-paths": {
"npm-asset-library": "vendor/asset",
"bower-asset-library": "vendor/asset"
}
}
}, },
"archive": { "archive": {
"exclude": [ "exclude": [

369
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "9eeabb43bd9f244c3e293ae6f4a33ffc", "content-hash": "13adf05bb2ebf7a11d9fc4b756fd8fb4",
"packages": [ "packages": [
{ {
"name": "defuse/php-encryption", "name": "defuse/php-encryption",
@ -95,6 +95,65 @@
], ],
"time": "2015-08-05T01:03:42+00:00" "time": "2015-08-05T01:03:42+00:00"
}, },
{
"name": "fxp/composer-asset-plugin",
"version": "v1.4.2",
"source": {
"type": "git",
"url": "https://github.com/fxpio/composer-asset-plugin.git",
"reference": "61352d99940d2b2392a5d2db83b8c0ef5faf222a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fxpio/composer-asset-plugin/zipball/61352d99940d2b2392a5d2db83b8c0ef5faf222a",
"reference": "61352d99940d2b2392a5d2db83b8c0ef5faf222a",
"shasum": ""
},
"require": {
"composer-plugin-api": "^1.0",
"php": ">=5.3.3"
},
"require-dev": {
"composer/composer": "^1.4.0"
},
"type": "composer-plugin",
"extra": {
"class": "Fxp\\Composer\\AssetPlugin\\FxpAssetPlugin",
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"autoload": {
"psr-4": {
"Fxp\\Composer\\AssetPlugin\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "François Pluchino",
"email": "francois.pluchino@gmail.com"
}
],
"description": "NPM/Bower Dependency Manager for Composer",
"homepage": "https://github.com/fxpio/composer-asset-plugin",
"keywords": [
"asset",
"bower",
"composer",
"dependency manager",
"nodejs",
"npm",
"package"
],
"time": "2017-10-20T06:53:56+00:00"
},
{ {
"name": "league/html-to-markdown", "name": "league/html-to-markdown",
"version": "4.4.1", "version": "4.4.1",
@ -306,222 +365,202 @@
"time": "2017-09-27T21:40:39+00:00" "time": "2017-09-27T21:40:39+00:00"
}, },
{ {
"name": "pear-pear.php.net/Archive_Tar", "name": "pear/console_getopt",
"version": "1.4.3", "version": "v1.4.1",
"source": {
"type": "git",
"url": "https://github.com/pear/Console_Getopt.git",
"reference": "82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f"
},
"dist": { "dist": {
"type": "file", "type": "zip",
"url": "https://pear.php.net/get/Archive_Tar-1.4.3.tgz", "url": "https://api.github.com/repos/pear/Console_Getopt/zipball/82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f",
"reference": null, "reference": "82f05cd1aa3edf34e19aa7c8ca312ce13a6a577f",
"shasum": null "shasum": ""
}, },
"require": { "type": "library",
"php": ">=5.2.0.0"
},
"replace": {
"pear-pear/archive_tar": "== 1.4.3.0"
},
"type": "pear-library",
"autoload": { "autoload": {
"classmap": [ "psr-0": {
"" "Console": "./"
] }
}, },
"notification-url": "https://packagist.org/downloads/",
"include-path": [ "include-path": [
"/" "./"
],
"license": [
"New BSD License"
],
"description": "This class provides handling of tar files in PHP.\nIt supports creating, listing, extracting and adding to tar files.\nGzip support is available if PHP has the zlib extension built-in or\nloaded. Bz2 compression is also supported with the bz2 extension loaded."
},
{
"name": "pear-pear.php.net/Console_Getopt",
"version": "1.4.1",
"dist": {
"type": "file",
"url": "https://pear.php.net/get/Console_Getopt-1.4.1.tgz",
"reference": null,
"shasum": null
},
"require": {
"php": ">=5.4.0.0"
},
"replace": {
"pear-pear/console_getopt": "== 1.4.1.0"
},
"type": "pear-library",
"autoload": {
"classmap": [
""
]
},
"include-path": [
"/"
], ],
"license": [ "license": [
"BSD-2-Clause" "BSD-2-Clause"
], ],
"description": "This is a PHP implementation of "getopt" supporting both\nshort and long options." "authors": [
{
"name": "Greg Beaver",
"email": "cellog@php.net",
"role": "Helper"
}, },
{ {
"name": "pear-pear.php.net/PEAR", "name": "Andrei Zmievski",
"version": "1.10.5", "email": "andrei@php.net",
"role": "Lead"
},
{
"name": "Stig Bakken",
"email": "stig@php.net",
"role": "Developer"
}
],
"description": "More info available on: http://pear.php.net/package/Console_Getopt",
"time": "2015-07-20T20:28:12+00:00"
},
{
"name": "pear/pear-core-minimal",
"version": "v1.10.3",
"source": {
"type": "git",
"url": "https://github.com/pear/pear-core-minimal.git",
"reference": "070f0b600b2caca2501e2c9b7e553016e4b0d115"
},
"dist": { "dist": {
"type": "file", "type": "zip",
"url": "https://pear.php.net/get/PEAR-1.10.5.tgz", "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/070f0b600b2caca2501e2c9b7e553016e4b0d115",
"reference": null, "reference": "070f0b600b2caca2501e2c9b7e553016e4b0d115",
"shasum": null "shasum": ""
}, },
"require": { "require": {
"ext-pcre": "*", "pear/console_getopt": "~1.4",
"ext-xml": "*", "pear/pear_exception": "~1.0"
"pear-pear.php.net/archive_tar": ">=1.4.0.0",
"pear-pear.php.net/console_getopt": ">=1.4.1.0",
"pear-pear.php.net/structures_graph": ">=1.1.0.0",
"pear-pear.php.net/xml_util": ">=1.3.0.0",
"php": ">=5.4.0.0"
},
"conflict": {
"pear-pear.php.net/pear_frontend_gtk": "<0.4.0.0",
"pear-pear.php.net/pear_frontend_web": "<=0.4.0.0"
}, },
"replace": { "replace": {
"pear-pear/pear": "== 1.10.5.0" "rsky/pear-core-min": "self.version"
}, },
"type": "pear-library", "type": "library",
"autoload": { "autoload": {
"classmap": [ "psr-0": {
"" "": "src/"
] }
}, },
"notification-url": "https://packagist.org/downloads/",
"include-path": [ "include-path": [
"/" "src/"
], ],
"license": [ "license": [
"New BSD License" "BSD-3-Clause"
], ],
"description": "The PEAR package contains:\n * the PEAR installer, for creating, distributing\n and installing packages\n * the PEAR_Exception PHP5 error handling mechanism\n * the PEAR_ErrorStack advanced error handling mechanism\n * the PEAR_Error error handling mechanism\n * the OS_Guess class for retrieving info about the OS\n where PHP is running on\n * the System class for quick handling of common operations\n with files and directories\n * the PEAR base class\n Features in a nutshell:\n * full support for channels\n * pre-download dependency validation\n * new package.xml 2.0 format allows tremendous flexibility while maintaining BC\n * support for optional dependency groups and limited support for sub-packaging\n * robust dependency support\n * full dependency validation on uninstall\n * remote install for hosts with only ftp access - no more problems with\n restricted host installation\n * full support for mirroring\n * support for bundling several packages into a single tarball\n * support for static dependencies on a url-based package\n * support for custom file roles and installation tasks" "authors": [
{
"name": "Christian Weiske",
"email": "cweiske@php.net",
"role": "Lead"
}
],
"description": "Minimal set of PEAR core files to be used as composer dependency",
"time": "2017-02-28T16:46:11+00:00"
}, },
{ {
"name": "pear-pear.php.net/Structures_Graph", "name": "pear/pear_exception",
"version": "1.1.1", "version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/pear/PEAR_Exception.git",
"reference": "8c18719fdae000b690e3912be401c76e406dd13b"
},
"dist": { "dist": {
"type": "file", "type": "zip",
"url": "https://pear.php.net/get/Structures_Graph-1.1.1.tgz", "url": "https://api.github.com/repos/pear/PEAR_Exception/zipball/8c18719fdae000b690e3912be401c76e406dd13b",
"reference": null, "reference": "8c18719fdae000b690e3912be401c76e406dd13b",
"shasum": null "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0.0" "php": ">=4.4.0"
}, },
"replace": { "require-dev": {
"pear-pear/structures_graph": "== 1.1.1.0" "phpunit/phpunit": "*"
},
"type": "class",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
}, },
"type": "pear-library",
"autoload": { "autoload": {
"classmap": [ "psr-0": {
"" "PEAR": ""
] }
}, },
"notification-url": "https://packagist.org/downloads/",
"include-path": [ "include-path": [
"/" "."
], ],
"license": [ "license": [
"LGPL-3.0+" "BSD-2-Clause"
], ],
"description": "Structures_Graph is a package for creating and manipulating graph datastructures. It allows building of directed\nand undirected graphs, with data and metadata stored in nodes. The library provides functions for graph traversing\nas well as for characteristic extraction from the graph topology." "authors": [
{
"name": "Helgi Thormar",
"email": "dufuz@php.net"
}, },
{ {
"name": "pear-pear.php.net/Text_Highlighter", "name": "Greg Beaver",
"version": "0.8.0", "email": "cellog@php.net"
}
],
"description": "The PEAR Exception base class.",
"homepage": "https://github.com/pear/PEAR_Exception",
"keywords": [
"exception"
],
"time": "2015-02-10T20:07:52+00:00"
},
{
"name": "pear/text_highlighter",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/pear/Text_Highlighter.git",
"reference": "4178158d6fef4729bb08654fce8796a123ad0abd"
},
"dist": { "dist": {
"type": "file", "type": "zip",
"url": "https://pear.php.net/get/Text_Highlighter-0.8.0.tgz", "url": "https://api.github.com/repos/pear/Text_Highlighter/zipball/4178158d6fef4729bb08654fce8796a123ad0abd",
"reference": null, "reference": "4178158d6fef4729bb08654fce8796a123ad0abd",
"shasum": null "shasum": ""
}, },
"require": { "require": {
"pear-pear.php.net/console_getopt": ">=1.4.1.0", "pear/pear-core-minimal": "@stable",
"pear-pear.php.net/pear": ">=1.10.3.0", "php": ">=5.4.0"
"pear-pear.php.net/xml_parser": ">=1.3.7.0",
"php": ">=5.4.0.0"
}, },
"replace": { "require-dev": {
"pear-pear/text_highlighter": "== 0.8.0.0" "phpunit/phpunit": "@stable"
}, },
"type": "pear-library", "type": "library",
"autoload": { "autoload": {
"classmap": [ "psr-0": {
"" "Text": "./"
] }
}, },
"include-path": [ "include-path": [
"/" "./"
], ],
"license": [ "license": [
"PHP License" "PHP License"
], ],
"description": "Text_Highlighter is a package for syntax highlighting.\n\nIt provides a base class provining all the functionality,\nand a descendent classes geneator class.\n\nThe main idea is to simplify creation of subclasses\nimplementing syntax highlighting for particular language.\nSubclasses do not implement any new functioanality,\nthey just provide syntax highlighting rules.\nThe rules sources are in XML format.\n\nTo create a highlighter for a language, there is no need\nto code a new class manually. Simply describe the rules\nin XML file and use Text_Highlighter_Generator to create\na new class." "authors": [
{
"email": "ssttoo@gmail.com",
"name": "Stoyan Stefanov",
"role": "Lead"
}, },
{ {
"name": "pear-pear.php.net/XML_Parser", "email": "demenev@gmail.com",
"version": "1.3.7", "name": "Andrey Demenev",
"dist": { "role": "Lead"
"type": "file", }
"url": "https://pear.php.net/get/XML_Parser-1.3.7.tgz",
"reference": null,
"shasum": null
},
"require": {
"pear-pear.php.net/pear": "*",
"php": ">=4.2.0.0"
},
"replace": {
"pear-pear/xml_parser": "== 1.3.7.0"
},
"type": "pear-library",
"autoload": {
"classmap": [
""
]
},
"include-path": [
"/"
], ],
"license": [ "description": "More info available on: http://pear.php.net/package/Text_Highlighter",
"BSD License" "support": {
], "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Text_Highlighter",
"description": "This is an XML parser based on PHPs built-in xml extension.\nIt supports two basic modes of operation: \"func\" and \"event\". In \"func\" mode, it will look for a function named after each element (xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and in \"event\" mode it uses a set of generic callbacks.\n\nSince version 1.2.0 there's a new XML_Parser_Simple class that makes parsing of most XML documents easier, by automatically providing a stack for the elements.\nFurthermore its now possible to split the parser from the handler object, so you do not have to extend XML_Parser anymore in order to parse a document with it." "source": "https://github.com/pear/Text_Highlighter"
}, },
{ "time": "2017-03-07T21:20:30+00:00"
"name": "pear-pear.php.net/XML_Util",
"version": "1.4.3",
"dist": {
"type": "file",
"url": "https://pear.php.net/get/XML_Util-1.4.3.tgz",
"reference": null,
"shasum": null
},
"require": {
"ext-pcre": "*",
"php": ">=5.4.0.0"
},
"replace": {
"pear-pear/xml_util": "== 1.4.3.0"
},
"type": "pear-library",
"autoload": {
"classmap": [
""
]
},
"include-path": [
"/"
],
"license": [
"BSD License"
],
"description": "Selection of methods that are often needed when working with XML documents. Functionality includes creating of attribute lists from arrays, creation of tags, validation of XML names and more."
}, },
{ {
"name": "pear/text_languagedetect", "name": "pear/text_languagedetect",
@ -624,7 +663,9 @@
"packages-dev": [], "packages-dev": [],
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": [], "stability-flags": {
"pear/text_highlighter": 20
},
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": [], "platform": [],