2013-08-07 07:25:25 +02:00
|
|
|
{
|
|
|
|
"name": "WordPress",
|
2017-06-02 00:07:51 +02:00
|
|
|
"version": "4.9.0",
|
2013-08-07 07:25:25 +02:00
|
|
|
"description": "WordPress is web software you can use to create a beautiful website or blog.",
|
|
|
|
"repository": {
|
|
|
|
"type": "svn",
|
|
|
|
"url": "https://develop.svn.wordpress.org/trunk"
|
|
|
|
},
|
2016-12-04 18:29:26 +01:00
|
|
|
"engines": {
|
|
|
|
"node": "6.9.1"
|
|
|
|
},
|
2013-08-07 07:25:25 +02:00
|
|
|
"author": "The WordPress Contributors",
|
2015-06-20 00:31:33 +02:00
|
|
|
"license": "GPL-2.0+",
|
2013-08-07 07:25:25 +02:00
|
|
|
"devDependencies": {
|
2016-11-03 06:17:07 +01:00
|
|
|
"autoprefixer": "^6.5.1",
|
2014-07-22 22:40:08 +02:00
|
|
|
"grunt": "~0.4.5",
|
2017-08-19 22:09:31 +02:00
|
|
|
"grunt-banner": "^0.6.0",
|
2016-03-13 20:02:47 +01:00
|
|
|
"grunt-browserify": "~5.0.0",
|
2016-03-06 00:18:39 +01:00
|
|
|
"grunt-contrib-clean": "~1.0.0",
|
2016-11-03 06:27:41 +01:00
|
|
|
"grunt-contrib-compress": "~1.3.0",
|
2016-03-06 00:31:16 +01:00
|
|
|
"grunt-contrib-concat": "~1.0.0",
|
2016-03-06 00:34:11 +01:00
|
|
|
"grunt-contrib-copy": "~1.0.0",
|
2016-11-03 06:31:56 +01:00
|
|
|
"grunt-contrib-cssmin": "~1.0.2",
|
2015-12-11 04:37:36 +01:00
|
|
|
"grunt-contrib-imagemin": "~1.0.0",
|
2016-03-16 18:41:32 +01:00
|
|
|
"grunt-contrib-jshint": "~1.0.0",
|
2016-11-03 06:13:35 +01:00
|
|
|
"grunt-contrib-qunit": "^1.2.0",
|
2016-11-03 06:39:10 +01:00
|
|
|
"grunt-contrib-uglify": "~2.0.0",
|
2016-03-16 18:50:54 +01:00
|
|
|
"grunt-contrib-watch": "~1.0.0",
|
2016-11-03 07:08:34 +01:00
|
|
|
"grunt-includes": "~0.5.1",
|
2014-01-17 19:14:15 +01:00
|
|
|
"grunt-jsvalidate": "~0.2.2",
|
2014-06-21 21:44:26 +02:00
|
|
|
"grunt-legacy-util": "^0.2.0",
|
2016-07-20 08:48:26 +02:00
|
|
|
"grunt-patch-wordpress": "~0.4.2",
|
2016-03-13 20:19:44 +01:00
|
|
|
"grunt-postcss": "~0.7.1",
|
Emoji: Port the Twemoji regex to PHP.
Previously, `wp_encode_emoji()` and `wp_staticize_emoji()` used inaccurate regular expressions to find emoji, and transform then into HTML entities or `<img>`s, respectively. This would result in emoji not being correctly transformed, or occasionally, non-emoji being incorrectly transformed.
This commit adds a new `grunt` task - `grunt precommit:emoji`. It finds the regex in `twemoji.js`, transforms it into a PHP-friendly version, and adds it to `formatting.php`. This task is also automatically run by `grunt precommit`, when it detects that `twemoji.js` has changed.
The new regex requires features introduced in PCRE 8.32, which was introduced in PHP 5.4.14, though it was also backported to later releases of the PHP 5.3 series. For versions of PHP that don't support this, it will fall back to an updated version of the loose-matching regex.
For short posts, the performance difference between the old and new regex is negligible. As the posts get longer, however, the new method is exponentially faster.
Fixes #35293.
git-svn-id: https://develop.svn.wordpress.org/trunk@41043 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-14 07:46:19 +02:00
|
|
|
"grunt-replace": "~1.0.1",
|
2016-03-10 17:00:11 +01:00
|
|
|
"grunt-rtlcss": "~2.0.1",
|
2016-11-03 05:54:46 +01:00
|
|
|
"grunt-sass": "~1.2.1",
|
2015-11-04 22:21:00 +01:00
|
|
|
"matchdep": "~1.0.0"
|
2013-08-07 07:25:25 +02:00
|
|
|
}
|
|
|
|
}
|