Make WordPress Core


Ignore:
Timestamp:
01/31/2024 08:29:18 AM (10 months ago)
Author:
gziolo
Message:

Script Modules API: Add import map polyfill for older browsers

Syncs the changes from https://github.com/WordPress/gutenberg/pull/58263. Adds a polyfill to make import maps compatible with unsported browsers (https://caniuse.com/import-maps).

Fixes #60348.
Props cbravobernal, jorbin, luisherranz, jonsurrell.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r57377 r57492  
    8282                "core-js-url-browser": "3.6.4",
    8383                "element-closest": "^3.0.2",
     84                "es-module-shims": "1.8.2",
    8485                "formdata-polyfill": "4.0.10",
    8586                "framer-motion": "10.16.4",
     
    1334913350            "integrity": "sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==",
    1335013351            "dev": true
     13352        },
     13353        "node_modules/es-module-shims": {
     13354            "version": "1.8.2",
     13355            "resolved": "https://registry.npmjs.org/es-module-shims/-/es-module-shims-1.8.2.tgz",
     13356            "integrity": "sha512-7vIYVzpOhXtpc3Yn03itB+GSgVZFW7oL4kdydA+iL+IEi7HiSLBUxM05QFw4SxTl6e++pMpGqZPo2+vdNs3TbA=="
    1335113357        },
    1335213358        "node_modules/es-set-tostringtag": {
     
    4331743323            "dev": true
    4331843324        },
     43325        "es-module-shims": {
     43326            "version": "1.8.2",
     43327            "resolved": "https://registry.npmjs.org/es-module-shims/-/es-module-shims-1.8.2.tgz",
     43328            "integrity": "sha512-7vIYVzpOhXtpc3Yn03itB+GSgVZFW7oL4kdydA+iL+IEi7HiSLBUxM05QFw4SxTl6e++pMpGqZPo2+vdNs3TbA=="
     43329        },
    4331943330        "es-set-tostringtag": {
    4332043331            "version": "2.0.1",
Note: See TracChangeset for help on using the changeset viewer.