Make WordPress Core

Changeset 61539 for trunk/package.json


Ignore:
Timestamp:
01/27/2026 07:04:01 PM (5 weeks ago)
Author:
westonruter
Message:

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 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r61492 r61539  
    2929    "devDependencies": {
    3030        "@lodder/grunt-postcss": "^3.1.1",
     31        "@playwright/test": "1.56.1",
    3132        "@pmmmwh/react-refresh-webpack-plugin": "0.6.1",
    32         "@playwright/test": "1.56.1",
    3333        "@wordpress/e2e-test-utils-playwright": "1.33.2",
    3434        "@wordpress/prettier-config": "4.33.1",
     
    7676        "backbone": "1.6.0",
    7777        "clipboard": "2.0.11",
     78        "codemirror": "5.65.20",
    7879        "core-js-url-browser": "3.6.4",
     80        "csslint": "1.0.5",
    7981        "element-closest": "3.0.2",
     82        "esprima": "4.0.1",
    8083        "formdata-polyfill": "4.0.10",
    8184        "hoverintent": "2.2.1",
     85        "htmlhint": "1.8.0",
    8286        "imagesloaded": "5.0.0",
    8387        "jquery": "3.7.1",
     
    8690        "jquery-hoverintent": "1.10.2",
    8791        "json2php": "0.0.12",
     92        "jsonlint": "1.6.3",
    8893        "lodash": "4.17.21",
    8994        "masonry-layout": "4.2.2",
Note: See TracChangeset for help on using the changeset viewer.