diff --git a/BUNDLE-README.md b/BUNDLE-README.md index d865137e56..1890c1b03c 100644 --- a/BUNDLE-README.md +++ b/BUNDLE-README.md @@ -1,7 +1,7 @@ # Uppy Hi, thanks for trying out the bundled version of the Uppy File Uploader. You can use -this from a CDN (``) or bundle it with your webapp. +this from a CDN (``) or bundle it with your webapp. Note that the recommended way to use Uppy is to install it with yarn/npm and use a bundler like Webpack so that you can create a smaller custom build with only the diff --git a/CHANGELOG.md b/CHANGELOG.md index 06f0571372..fef6fd8b27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,36 @@ Please add your entries in this format: In the current stage we aim to release a new version at least every month. +## 3.0.0-beta.4 + +Released: 2022-08-03 + +| Package | Version | Package | Version | +| ---------------------- | ------------ | ---------------------- | ------------ | +| @uppy/aws-s3-multipart | 3.0.0-beta.3 | @uppy/screen-capture | 3.0.0-beta.2 | +| @uppy/companion | 4.0.0-beta.3 | @uppy/status-bar | 3.0.0-beta.2 | +| @uppy/core | 3.0.0-beta.3 | @uppy/store-default | 3.0.0-beta.2 | +| @uppy/dashboard | 3.0.0-beta.3 | @uppy/transloadit | 3.0.0-beta.4 | +| @uppy/drop-target | 2.0.0-beta.2 | @uppy/tus | 3.0.0-beta.2 | +| @uppy/informer | 3.0.0-beta.2 | @uppy/url | 3.0.0-beta.2 | +| @uppy/react | 3.0.0-beta.3 | @uppy/robodog | 3.0.0-beta.4 | +| @uppy/remote-sources | 1.0.0-beta.3 | uppy | 3.0.0-beta.4 | + +- @uppy/companion,@uppy/tus: Upgrade tus-js-client to 3.0.0 (Merlijn Vos / #3942) +- meta: fix release script (Antoine du Hamel) +- @uppy/aws-s3-multipart: Correctly handle errors for `prepareUploadParts` (Merlijn Vos / #3912) +- @uppy/store-default: export the class, don't expose `.callbacks` (Antoine du Hamel / #3928) +- @uppy/remote-sources: do not rely on `.name` property (Antoine du Hamel / #3941) +- @uppy/screen-capture: fix TODOs (Antoine du Hamel / #3930) +- @uppy/status-bar: rename internal modules (Antoine du Hamel / #3929) +- @uppy/transloadit: remove static properties in favor of exports (Antoine du Hamel / #3927) +- @uppy/informer: simplify `render` method (Antoine du Hamel / #3931) +- @uppy/url: remove private methods from public API (Antoine du Hamel / #3934) +- @uppy/dashboard: change `copyToClipboard` signature (Antoine du Hamel / #3933) +- @uppy/drop-target: remove `isFileTransfer` from the public API (Antoine du Hamel / #3932) +- meta: improve beta release script (Antoine du Hamel) + + ## 3.0.0-beta.3 Released: 2022-07-27 @@ -135,6 +165,25 @@ Released: 2022-05-30 - @uppy/transloadit: remove IE 10 hack (Antoine du Hamel / #3777) +## 2.13.2 + +Released: 2022-08-02 + +| Package | Version | Package | Version | +| ----------------- | ------- | ----------------- | ------- | +| @uppy/transloadit | 2.3.6 | @uppy/robodog | 2.9.2 | +| @uppy/tus | 2.4.2 | uppy | 2.13.2 | + +- @uppy/transloadit: send `assembly-cancelled` only once (Antoine du Hamel / #3937) +- meta: `keepNames` in bundle (Antoine du Hamel / #3926) +- meta: e2e: fix Transloadit test suite with Cypress 10 (Antoine du Hamel / #3936) +- meta: Bump guzzlehttp/guzzle from 7.4.1 to 7.4.5 in /examples/aws-presigned-url (dependabot[bot] / #3842) +- @uppy/tus: fix dependencies (Antoine du Hamel / #3923) +- meta: doc: fix linter failure in `image-editor.md` (Antoine du Hamel / #3924) +- meta: doc: Fix typo in image-editor.md (Ikko Ashimine / #3921) +- website: Docs and header fix (Artur Paikin / #3920) + + ## 2.13.1 Released: 2022-07-27 diff --git a/README.md b/README.md index b879f76198..e1e610d344 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ const uppy = new Uppy({ autoProceed: false }) $ npm install @uppy/core @uppy/dashboard @uppy/tus ``` -Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.0.0-beta.3/uppy.min.css), either to your HTML page’s `
` or include in JS, if your bundler of choice supports it. +Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.0.0-beta.4/uppy.min.css), either to your HTML page’s `` or include in JS, if your bundler of choice supports it. Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object. @@ -75,10 +75,10 @@ Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Edg ```html - + - + @@ -184,7 +184,7 @@ If you’re using Uppy from CDN, those polyfills are already included in the leg bundle, so no need to include anything additionally: ```html - + ``` ## FAQ @@ -250,9 +250,9 @@ Use Uppy in your project? [Let us know](https://github.com/transloadit/uppy/issu :---: |:---: |:---: |:---: |:---: |:---: | [AJvanLoon](https://github.com/AJvanLoon) |[nqst](https://github.com/nqst) |[Murderlon](https://github.com/Murderlon) |[mifi](https://github.com/mifi) |[lakesare](https://github.com/lakesare) |[kiloreux](https://github.com/kiloreux) | -[](https://github.com/sadovnychyi) |[](https://github.com/samuelayo) |[](https://github.com/richardwillars) |[](https://github.com/ajkachnic) |[](https://github.com/apps/dependabot) |[](https://github.com/apps/github-actions) | +[](https://github.com/sadovnychyi) |[](https://github.com/samuelayo) |[](https://github.com/apps/github-actions) |[](https://github.com/richardwillars) |[](https://github.com/ajkachnic) |[](https://github.com/apps/dependabot) | :---: |:---: |:---: |:---: |:---: |:---: | -[sadovnychyi](https://github.com/sadovnychyi) |[samuelayo](https://github.com/samuelayo) |[richardwillars](https://github.com/richardwillars) |[ajkachnic](https://github.com/ajkachnic) |[dependabot\[bot\]](https://github.com/apps/dependabot) |[github-actions\[bot\]](https://github.com/apps/github-actions) | +[sadovnychyi](https://github.com/sadovnychyi) |[samuelayo](https://github.com/samuelayo) |[github-actions\[bot\]](https://github.com/apps/github-actions) |[richardwillars](https://github.com/richardwillars) |[ajkachnic](https://github.com/ajkachnic) |[dependabot\[bot\]](https://github.com/apps/dependabot) | [](https://github.com/zcallan) |[](https://github.com/tim-kos) |[](https://github.com/YukeshShr) |[](https://github.com/janko) |[](https://github.com/wilkoklak) |[](https://github.com/oliverpool) | :---: |:---: |:---: |:---: |:---: |:---: | @@ -270,25 +270,25 @@ Use Uppy in your project? [Let us know](https://github.com/transloadit/uppy/issu :---: |:---: |:---: |:---: |:---: |:---: | [juliangruber](https://github.com/juliangruber) |[bertho-zero](https://github.com/bertho-zero) |[tranvansang](https://github.com/tranvansang) |[ap--](https://github.com/ap--) |[MikeKovarik](https://github.com/MikeKovarik) |[pauln](https://github.com/pauln) | -[](https://github.com/toadkicker) |[](https://github.com/ofhope) |[](https://github.com/johnnyperkins) |[](https://github.com/dargmuesli) |[](https://github.com/manuelkiessling) |[](https://github.com/nndevstudio) | +[](https://github.com/toadkicker) |[](https://github.com/ofhope) |[](https://github.com/eltociear) |[](https://github.com/johnnyperkins) |[](https://github.com/dargmuesli) |[](https://github.com/manuelkiessling) | :---: |:---: |:---: |:---: |:---: |:---: | -[toadkicker](https://github.com/toadkicker) |[ofhope](https://github.com/ofhope) |[johnnyperkins](https://github.com/johnnyperkins) |[dargmuesli](https://github.com/dargmuesli) |[manuelkiessling](https://github.com/manuelkiessling) |[nndevstudio](https://github.com/nndevstudio) | +[toadkicker](https://github.com/toadkicker) |[ofhope](https://github.com/ofhope) |[eltociear](https://github.com/eltociear) |[johnnyperkins](https://github.com/johnnyperkins) |[dargmuesli](https://github.com/dargmuesli) |[manuelkiessling](https://github.com/manuelkiessling) | -[](https://github.com/ogtfaber) |[](https://github.com/sksavant) |[](https://github.com/suchoproduction) |[](https://github.com/timodwhit) |[](https://github.com/yonahforst) |[](https://github.com/a-kriya) | +[](https://github.com/nndevstudio) |[](https://github.com/ogtfaber) |[](https://github.com/sksavant) |[](https://github.com/suchoproduction) |[](https://github.com/timodwhit) |[](https://github.com/yonahforst) | :---: |:---: |:---: |:---: |:---: |:---: | -[ogtfaber](https://github.com/ogtfaber) |[sksavant](https://github.com/sksavant) |[suchoproduction](https://github.com/suchoproduction) |[timodwhit](https://github.com/timodwhit) |[yonahforst](https://github.com/yonahforst) |[a-kriya](https://github.com/a-kriya) | +[nndevstudio](https://github.com/nndevstudio) |[ogtfaber](https://github.com/ogtfaber) |[sksavant](https://github.com/sksavant) |[suchoproduction](https://github.com/suchoproduction) |[timodwhit](https://github.com/timodwhit) |[yonahforst](https://github.com/yonahforst) | -[](https://github.com/bencergazda) |[](https://github.com/stephentuso) |[](https://github.com/jhen0409) |[](https://github.com/mskelton) |[](https://github.com/ahmedkandel) |[](https://github.com/btrice) | +[](https://github.com/a-kriya) |[](https://github.com/bencergazda) |[](https://github.com/stephentuso) |[](https://github.com/jhen0409) |[](https://github.com/mskelton) |[](https://github.com/ahmedkandel) | :---: |:---: |:---: |:---: |:---: |:---: | -[bencergazda](https://github.com/bencergazda) |[stephentuso](https://github.com/stephentuso) |[jhen0409](https://github.com/jhen0409) |[mskelton](https://github.com/mskelton) |[ahmedkandel](https://github.com/ahmedkandel) |[btrice](https://github.com/btrice) | +[a-kriya](https://github.com/a-kriya) |[bencergazda](https://github.com/bencergazda) |[stephentuso](https://github.com/stephentuso) |[jhen0409](https://github.com/jhen0409) |[mskelton](https://github.com/mskelton) |[ahmedkandel](https://github.com/ahmedkandel) | -[](https://github.com/behnammodi) |[](https://github.com/BePo65) |[](https://github.com/Burkes) |[](https://github.com/camiloforero) |[](https://github.com/craigjennings11) |[](https://github.com/davekiss) | +[](https://github.com/btrice) |[](https://github.com/behnammodi) |[](https://github.com/BePo65) |[](https://github.com/bradedelman) |[](https://github.com/Burkes) |[](https://github.com/camiloforero) | :---: |:---: |:---: |:---: |:---: |:---: | -[behnammodi](https://github.com/behnammodi) |[BePo65](https://github.com/BePo65) |[Burkes](https://github.com/Burkes) |[camiloforero](https://github.com/camiloforero) |[craigjennings11](https://github.com/craigjennings11) |[davekiss](https://github.com/davekiss) | +[btrice](https://github.com/btrice) |[behnammodi](https://github.com/behnammodi) |[BePo65](https://github.com/BePo65) |[bradedelman](https://github.com/bradedelman) |[Burkes](https://github.com/Burkes) |[camiloforero](https://github.com/camiloforero) | -[](https://github.com/davekiss) |[](https://github.com/DenysNosov) |[](https://github.com/ethanwillis) |[](https://github.com/frobinsonj) |[](https://github.com/geertclerx) |[](https://github.com/eltociear) | +[](https://github.com/craigjennings11) |[](https://github.com/davekiss) |[](https://github.com/DenysNosov) |[](https://github.com/ethanwillis) |[](https://github.com/frobinsonj) |[](https://github.com/geertclerx) | :---: |:---: |:---: |:---: |:---: |:---: | -[davekiss](https://github.com/davekiss) |[DenysNosov](https://github.com/DenysNosov) |[ethanwillis](https://github.com/ethanwillis) |[frobinsonj](https://github.com/frobinsonj) |[geertclerx](https://github.com/geertclerx) |[eltociear](https://github.com/eltociear) | +[craigjennings11](https://github.com/craigjennings11) |[davekiss](https://github.com/davekiss) |[DenysNosov](https://github.com/DenysNosov) |[ethanwillis](https://github.com/ethanwillis) |[frobinsonj](https://github.com/frobinsonj) |[geertclerx](https://github.com/geertclerx) | [](https://github.com/ghasrfakhri) |[](https://github.com/jasonbosco) |[](https://github.com/jedwood) |[](https://github.com/dogrocker) |[](https://github.com/lamartire) |[](https://github.com/lafe) | :---: |:---: |:---: |:---: |:---: |:---: | @@ -378,9 +378,9 @@ Use Uppy in your project? [Let us know](https://github.com/transloadit/uppy/issu :---: |:---: |:---: |:---: |:---: |:---: | [jorgeepc](https://github.com/jorgeepc) |[jszobody](https://github.com/jszobody) |[jcalonso](https://github.com/jcalonso) |[jmontoyaa](https://github.com/jmontoyaa) |[tykarol](https://github.com/tykarol) |[firesharkstudios](https://github.com/firesharkstudios) | -[](https://github.com/justinjurenka) |[](https://github.com/tykarol) |[](https://github.com/kaspermeinema) |[](https://github.com/firesharkstudios) |[](https://github.com/kevin-west-10x) |[](https://github.com/elkebab) | +[](https://github.com/mellow-fellow) |[](https://github.com/tykarol) |[](https://github.com/kaspermeinema) |[](https://github.com/firesharkstudios) |[](https://github.com/kevin-west-10x) |[](https://github.com/elkebab) | :---: |:---: |:---: |:---: |:---: |:---: | -[justinjurenka](https://github.com/justinjurenka) |[tykarol](https://github.com/tykarol) |[kaspermeinema](https://github.com/kaspermeinema) |[firesharkstudios](https://github.com/firesharkstudios) |[kevin-west-10x](https://github.com/kevin-west-10x) |[elkebab](https://github.com/elkebab) | +[mellow-fellow](https://github.com/mellow-fellow) |[tykarol](https://github.com/tykarol) |[kaspermeinema](https://github.com/kaspermeinema) |[firesharkstudios](https://github.com/firesharkstudios) |[kevin-west-10x](https://github.com/kevin-west-10x) |[elkebab](https://github.com/elkebab) | [](https://github.com/kyleparisi) |[](https://github.com/leaanthony) |[](https://github.com/larowlan) |[](https://github.com/dviry) |[](https://github.com/galli-leo) |[](https://github.com/leods92) | :---: |:---: |:---: |:---: |:---: |:---: | @@ -471,3 +471,4 @@ We use Browserstack for manual testing { beforeEach(() => { cy.visit('/dashboard-transloadit') @@ -44,6 +50,74 @@ describe('Dashboard with Transloadit', () => { }) }) + it('should emit one assembly-cancelled event when cancelled', FLAKY, () => { + const spy = cy.spy() + + cy.get('@file-input').selectFile(['cypress/fixtures/images/cat.jpg', 'cypress/fixtures/images/traffic.jpg'], { force:true }) + cy.get('.uppy-StatusBar-actionBtn--upload').click() + + cy.intercept({ + method: 'GET', + url: '/assemblies/*', + }).as('assemblyPolling') + cy.intercept( + { method: 'PATCH', pathname: '/files/*', times: 1 }, + { statusCode: 204, body: {} }, + ) + cy.intercept( + { method: 'DELETE', pathname: '/resumable/files/*', times: 2 }, + { statusCode: 204, body: {} }, + ).as('fileDeletion') + cy.intercept( + { method: 'DELETE', pathname: '/assemblies/*', times: 1 }, + ).as('assemblyDeletion') + cy.wait('@assemblyPolling') + cy.window().then(({ uppy }) => { + uppy.on('transloadit:assembly-cancelled', spy) + }) + cy.get('button[data-cy=cancel]').click() + + cy.wait('@assemblyDeletion').then(() => { + expect(spy).to.be.calledOnce + }) + }) + + it('should close assembly polling when all files are removed', FLAKY, () => { + const spy = cy.spy() + + cy.get('@file-input').selectFile(['cypress/fixtures/images/cat.jpg', 'cypress/fixtures/images/traffic.jpg'], { force:true }) + cy.get('.uppy-StatusBar-actionBtn--upload').click() + + cy.intercept({ + method: 'GET', + url: '/assemblies/*', + }).as('assemblyPolling') + cy.intercept( + { method: 'PATCH', pathname: '/files/*', times: 1 }, + { statusCode: 204, body: {} }, + ) + cy.intercept( + { method: 'DELETE', pathname: '/resumable/files/*', times: 2 }, + { statusCode: 204, body: {} }, + ).as('fileDeletion') + cy.intercept( + { method: 'DELETE', pathname: '/assemblies/*', times: 1 }, + ).as('assemblyDeletion') + cy.wait('@assemblyPolling') + cy.window().then(({ uppy }) => { + uppy.on('transloadit:assembly-cancelled', spy) + expect(Object.values(uppy.getPlugin('Transloadit').activeAssemblies).every((a: any) => a.pollInterval)).to.equal(true) + + const { files } = uppy.getState() + uppy.removeFiles(Object.keys(files)) + + cy.wait('@assemblyDeletion').then(() => { + expect(Object.values(uppy.getPlugin('Transloadit').activeAssemblies).some((a: any) => a.pollInterval)).to.equal(false) + expect(spy).to.be.calledOnce + }) + }) + }) + it('should not create assembly when all individual files have been cancelled', () => { cy.get('@file-input').selectFile(['cypress/fixtures/images/cat.jpg', 'cypress/fixtures/images/traffic.jpg'], { force:true }) cy.get('.uppy-StatusBar-actionBtn--upload').click() diff --git a/examples/aws-presigned-url/composer.lock b/examples/aws-presigned-url/composer.lock index df8ef8ef3e..b82773cfac 100644 --- a/examples/aws-presigned-url/composer.lock +++ b/examples/aws-presigned-url/composer.lock @@ -149,22 +149,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.4.1", + "version": "7.4.5", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79" + "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ee0a041b1760e6a53d2a39c8c34115adc2af2c79", - "reference": "ee0a041b1760e6a53d2a39c8c34115adc2af2c79", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", + "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", "shasum": "" }, "require": { "ext-json": "*", "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.8.3 || ^2.1", + "guzzlehttp/psr7": "^1.9 || ^2.4", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -191,12 +191,12 @@ } }, "autoload": { - "psr-4": { - "GuzzleHttp\\": "src/" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "GuzzleHttp\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -253,7 +253,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.1" + "source": "https://github.com/guzzle/guzzle/tree/7.4.5" }, "funding": [ { @@ -269,7 +269,7 @@ "type": "tidelift" } ], - "time": "2021-12-06T18:43:05+00:00" + "time": "2022-06-20T22:16:13+00:00" }, { "name": "guzzlehttp/promises", @@ -298,12 +298,12 @@ } }, "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - }, "files": [ "src/functions_include.php" - ] + ], + "psr-4": { + "GuzzleHttp\\Promise\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -357,16 +357,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.1.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72" + "reference": "13388f00956b1503577598873fffb5ae994b5737" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/089edd38f5b8abba6cb01567c2a8aaa47cec4c72", - "reference": "089edd38f5b8abba6cb01567c2a8aaa47cec4c72", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/13388f00956b1503577598873fffb5ae994b5737", + "reference": "13388f00956b1503577598873fffb5ae994b5737", "shasum": "" }, "require": { @@ -390,7 +390,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1-dev" + "dev-master": "2.4-dev" } }, "autoload": { @@ -452,7 +452,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.1.0" + "source": "https://github.com/guzzle/psr7/tree/2.4.0" }, "funding": [ { @@ -468,7 +468,7 @@ "type": "tidelift" } ], - "time": "2021-10-06T17:43:30+00:00" + "time": "2022-06-20T21:43:11+00:00" }, { "name": "mtdowling/jmespath.php", @@ -737,25 +737,25 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.0.0", + "version": "v2.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced" + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", - "reference": "c726b64c1ccfe2896cb7df2e1331c357ad1c8ced", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "shasum": "" }, "require": { - "php": ">=8.0.2" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -784,7 +784,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" }, "funding": [ { @@ -800,32 +800,35 @@ "type": "tidelift" } ], - "time": "2021-11-01T23:48:49+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.23.1", + "version": "v1.26.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6" + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9174a3d80210dca8daa7f31fec659150bbeabfc6", - "reference": "9174a3d80210dca8daa7f31fec659150bbeabfc6", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-mbstring": "*" + }, "suggest": { "ext-mbstring": "For best performance" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.23-dev" + "dev-main": "1.26-dev" }, "thanks": { "name": "symfony/polyfill", @@ -833,12 +836,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -864,7 +867,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.1" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" }, "funding": [ { @@ -880,7 +883,7 @@ "type": "tidelift" } ], - "time": "2021-05-27T12:26:48+00:00" + "time": "2022-05-24T11:49:31+00:00" } ], "packages-dev": [], @@ -891,5 +894,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.3.0" } diff --git a/examples/cdn-example/index.html b/examples/cdn-example/index.html index ad06f43aab..f6cb0fa819 100644 --- a/examples/cdn-example/index.html +++ b/examples/cdn-example/index.html @@ -4,7 +4,7 @@