Skip to content

Commit 1c3c944

Browse files
minor symfony#57565 [AssetMapper] Upgrade importmap polyfill (smnandre)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- [AssetMapper] Upgrade importmap polyfill | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | Fix # | License | MIT Not sure if we should backport this on 6.4 ? Commits ------- 385d1e8 [AssetMapper] Upgrade importmap polyfill
2 parents bafe768 + 385d1e8 commit 1c3c944

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/AssetMapper/ImportMap/ImportMapRenderer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
*/
2828
class ImportMapRenderer
2929
{
30-
private const DEFAULT_ES_MODULE_SHIMS_POLYFILL_URL = 'https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js';
30+
// https://generator.jspm.io/#S2NnYGAIzSvJLMlJTWEAAMYOgCAOAA
31+
private const DEFAULT_ES_MODULE_SHIMS_POLYFILL_URL = 'https://ga.jspm.io/npm:[email protected]/dist/es-module-shims.js';
32+
private const DEFAULT_ES_MODULE_SHIMS_POLYFILL_INTEGRITY = 'sha384-ie1x72Xck445i0j4SlNJ5W5iGeL3Dpa0zD48MZopgWsjNB/lt60SuG1iduZGNnJn';
3133

3234
public function __construct(
3335
private readonly ImportMapGenerator $importMapGenerator,

0 commit comments

Comments
 (0)