Commit 438132f
committed
External Libraries: Upgrade CodeMirror to latest v5 in addition to updating CSSLint, Esprima, HTMLHint, and JSONLint.
This installs npm packages for `codemirror`, `csslint`, `esprima`, `htmlhint`, and `jsonlint` to replace the libraries which had been copied into SVN. A new `grunt build:codemirror` task is responsible for building CodeMirror as part of the build process. This finally revisits the original CodeMirror integration which was originally developed in the [https://github.com/WordPress/better-code-editing/ Better Code Editing] feature plugin in 2017.
||= Package =||= Old Version =||= New Version =||
|| codemirror || 5.29.1-alpha-ee20357 || 5.65.20 ||
|| esprima || 4.0.0 || 4.0.1 ||
|| jsonlint || 1.6.2 || 1.6.3 ||
|| htmlhint || 0.9.14-xwp || 1.8.0 ||
Follow-up to [41376].
Props westonruter, jonsurrell, tobiasbg, desrosj, adamsilverstein, WraithKenny, rafa8626, netweb.
See #12423.
Fixes #48456, #41870.
git-svn-id: https://develop.svn.wordpress.org/trunk@61539 602fd350-edb4-49c9-b593-d223f7449a821 parent c59df25 commit 438132f
13 files changed
Lines changed: 625 additions & 11354 deletions
File tree
- src
- js/_enqueues/vendor/codemirror
- wp-includes
- tests/phpunit/tests/dependencies
- tools
- vendors
- webpack
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
178 | 190 | | |
179 | 191 | | |
180 | 192 | | |
| |||
311 | 323 | | |
312 | 324 | | |
313 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
314 | 353 | | |
315 | 354 | | |
316 | 355 | | |
| |||
562 | 601 | | |
563 | 602 | | |
564 | 603 | | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
565 | 620 | | |
566 | 621 | | |
567 | 622 | | |
| |||
921 | 976 | | |
922 | 977 | | |
923 | 978 | | |
924 | | - | |
| 979 | + | |
| 980 | + | |
925 | 981 | | |
926 | 982 | | |
927 | 983 | | |
| |||
1652 | 1708 | | |
1653 | 1709 | | |
1654 | 1710 | | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1655 | 1718 | | |
1656 | 1719 | | |
1657 | 1720 | | |
| |||
1679 | 1742 | | |
1680 | 1743 | | |
1681 | 1744 | | |
1682 | | - | |
| 1745 | + | |
1683 | 1746 | | |
1684 | 1747 | | |
1685 | 1748 | | |
| |||
1902 | 1965 | | |
1903 | 1966 | | |
1904 | 1967 | | |
| 1968 | + | |
1905 | 1969 | | |
1906 | 1970 | | |
1907 | 1971 | | |
| |||
1913 | 1977 | | |
1914 | 1978 | | |
1915 | 1979 | | |
| 1980 | + | |
1916 | 1981 | | |
1917 | 1982 | | |
1918 | 1983 | | |
| |||
0 commit comments