Make WordPress Core


Ignore:
Timestamp:
08/29/2024 06:04:02 AM (3 months ago)
Author:
swissspidy
Message:

Script Loader: Remove importmap polyfill.

The polyfill was added in [57492], but all browsers supported by WordPress already support import maps.

This not only disables the polyfill, but completely removes it as it was only added recently and there is no usage outside of core.

Props swissspidy, desrosj, luisherranz, gziolo.
Fixes #60970.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r58880 r58952  
    8080                "core-js-url-browser": "3.6.4",
    8181                "element-closest": "^3.0.2",
    82                 "es-module-shims": "1.8.2",
    8382                "formdata-polyfill": "4.0.10",
    8483                "hoverintent": "2.2.1",
     
    1411614115            "dev": true
    1411714116        },
    14118         "node_modules/es-module-shims": {
    14119             "version": "1.8.2",
    14120             "resolved": "https://registry.npmjs.org/es-module-shims/-/es-module-shims-1.8.2.tgz",
    14121             "integrity": "sha512-7vIYVzpOhXtpc3Yn03itB+GSgVZFW7oL4kdydA+iL+IEi7HiSLBUxM05QFw4SxTl6e++pMpGqZPo2+vdNs3TbA=="
    14122         },
    1412314117        "node_modules/es-object-atoms": {
    1412414118            "version": "1.0.0",
     
    4475444748            "dev": true
    4475544749        },
    44756         "es-module-shims": {
    44757             "version": "1.8.2",
    44758             "resolved": "https://registry.npmjs.org/es-module-shims/-/es-module-shims-1.8.2.tgz",
    44759             "integrity": "sha512-7vIYVzpOhXtpc3Yn03itB+GSgVZFW7oL4kdydA+iL+IEi7HiSLBUxM05QFw4SxTl6e++pMpGqZPo2+vdNs3TbA=="
    44760         },
    4476144750        "es-object-atoms": {
    4476244751            "version": "1.0.0",
Note: See TracChangeset for help on using the changeset viewer.