diff --git a/.github/release-pull-request-template.md b/.github/release-pull-request-template.md index 8dd1bdbec..f806222f5 100644 --- a/.github/release-pull-request-template.md +++ b/.github/release-pull-request-template.md @@ -1,5 +1,5 @@ - [x] Branch: Starting from `develop`, create a release branch named `release/X.Y.Z` for your changes. -- [ ] Version bump: Bump the version number in `distributor.php`, `package.json`, `readme.txt` and `tests/php/bootstrap.php` if it does not already reflect the version being released. In `distributor.php` update both the plugin "Version:" property and the plugin `DT_VERSION` constant. +- [ ] Version bump: Bump the version number in `distributor.php`, `package-lock.json`, `package.json`, `readme.txt` and `tests/php/bootstrap.php` if it does not already reflect the version being released. In `distributor.php` update both the plugin "Version:" property and the plugin `DT_VERSION` constant. - [ ] New files: Ensure any new files, especially in the vendor folder, are correctly included in `webpack.config.release.js`. - [ ] Changelog: Add/update the changelog in `CHANGELOG.md`. - [ ] Props: Update `CREDITS.md` file with any new contributors, confirm maintainers are accurate. diff --git a/.github/workflows/no-response.yml b/.github/workflows/close-stale-issues.yml similarity index 55% rename from .github/workflows/no-response.yml rename to .github/workflows/close-stale-issues.yml index 5d7f01ca9..842f1eefd 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/close-stale-issues.yml @@ -1,26 +1,27 @@ -name: No Response +name: 'Close stale issues' # **What it does**: Closes issues where the original author doesn't respond to a request for information. # **Why we have it**: To remove the need for maintainers to remember to check back on issues periodically to see if contributors have responded. -# **Who does it impact**: Everyone that works on docs or docs-internal. on: - issue_comment: - types: [created] schedule: - # Schedule for five minutes after the hour, every hour - - cron: '5 * * * *' + # Schedule for every day at 1:30am UTC + - cron: '30 1 * * *' + +permissions: + issues: write jobs: - noResponse: + stale: runs-on: ubuntu-latest steps: - - uses: lee-dohm/no-response@v0.5.0 + - uses: actions/stale@v9 with: - token: ${{ github.token }} - daysUntilClose: 14 # Number of days of inactivity before an Issue is closed for lack of response - responseRequiredLabel: "Reporter Feedback" # Label indicating that a response from the original author is required - closeComment: > + days-before-stale: 7 + days-before-close: 7 + stale-issue-message: > + It has been 7 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 7 days, but if you have more information to add then please comment and the issue will stay open. + close-issue-message: > This issue has been automatically closed because there has been no response to our request for more information. With only the information that is currently in the issue, we don't have enough information @@ -28,3 +29,7 @@ jobs: that we can investigate further. See [this blog post on bug reports and the importance of repro steps](https://www.lee-dohm.com/2015/01/04/writing-good-bug-reports/) for more information about the kind of information that may be helpful. + stale-issue-label: 'stale' + close-issue-reason: 'not_planned' + any-of-labels: 'Reporter Feedback' + remove-stale-when-updated: true diff --git a/.github/workflows/repo-automator.yml b/.github/workflows/repo-automator.yml new file mode 100644 index 000000000..3caa63dc3 --- /dev/null +++ b/.github/workflows/repo-automator.yml @@ -0,0 +1,32 @@ +name: 'Repo Automator' +on: + issues: + types: + - opened + push: + branches: + - develop + pull_request: + types: + - opened + - edited + - synchronize + - converted_to_draft + - ready_for_review + branches: + - develop + +jobs: + Validate: + runs-on: ubuntu-latest + steps: + - uses: 10up/action-repo-automator@trunk + with: + fail-label: needs:feedback + pass-label: needs:code-review + conflict-label: needs:refresh + reviewers: | + dkotter + team:open-source-practice + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index cdd75aaea..7dd842f35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file, per [the Ke ## [Unreleased] - TBD +## [2.0.4] - 2024-02-29 +### Added +- Repo Automator GitHub Action to automate repo operations (props [@iamdharmesh](https://github.com/iamdharmesh), [@jeffpaul](https://github.com/jeffpaul) via [#1191](https://github.com/10up/distributor/pull/1191)). + +### Changed +- Address typos across the codebase (props [@szepeviktor](https://github.com/szepeviktor), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1184](https://github.com/10up/distributor/pull/1184)). + +### Fixed +- Address an issue with data being cached incorrectly (props [@leogermani](https://github.com/leogermani), [@peterwilsoncc](https://github.com/peterwilsoncc) via [#1185](https://github.com/10up/distributor/pull/1185)). + ## [2.0.3] - 2024-01-18 ### Added - New filter, `dt_post_to_pull`, that allows modifying the post to be pulled (props [@leogermani](https://github.com/leogermani), [@peterwilsoncc](https://github.com/peterwilsoncc), [@dkotter](https://github.com/dkotter) via [#1181](https://github.com/10up/distributor/pull/1181)). @@ -515,6 +525,7 @@ This adds a post type selector when viewing the Pull Content list for both exter - Initial closed release. [Unreleased]: https://github.com/10up/distributor/compare/trunk...develop +[2.0.4]: https://github.com/10up/distributor/compare/2.0.3...2.0.4 [2.0.3]: https://github.com/10up/distributor/compare/2.0.2...2.0.3 [2.0.2]: https://github.com/10up/distributor/compare/2.0.1...2.0.2 [2.0.1]: https://github.com/10up/distributor/compare/2.0.0...2.0.1 diff --git a/CREDITS.md b/CREDITS.md index 003c23580..97fb5b159 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -10,7 +10,7 @@ The following individuals are responsible for curating the list of issues, respo Thank you to all the people who have already contributed to this repository via bug reports, code, design, ideas, project management, translation, testing, etc. -[10up (@10up)](https://github.com/10up), [Taylor Lovett (@tlovett1)](https://github.com/tlovett1), [Zane Matthew (@zanematthew)](https://github.com/zanematthew), [Aaron Brazell (@technosailor)](https://github.com/technosailor), [Marco Pereirinha (@pereirinha)](https://github.com/pereirinha), [Joshua Abenazer (@joshuaabenazer)](https://github.com/joshuaabenazer), [Adam Silverstein (@adamsilverstein)](https://github.com/adamsilverstein), [Helen Hou-Sandí (@helen)](https://github.com/helen), [Chris Marslender (@cmmarslender)](https://github.com/cmmarslender), [Tom J Nowell (@tomjn)](https://github.com/tomjn), [Tim Nolte (@timnolte)](https://github.com/timnolte), [(@sericgoran)](https://github.com/sericgoran), [Jason Bahl (@jasonbahl)](https://github.com/jasonbahl), [Barry Ceelen (@barryceelen)](https://github.com/barryceelen), [Ryan Welcher (@ryanwelcher)](https://github.com/ryanwelcher), [Ben Greeley (@bengreeley)](https://github.com/bengreeley), [Robbie Trencheny (@robbiet480)](https://github.com/robbiet480), [Jake Goldman (@jakemgold)](https://github.com/jakemgold), [Stephanie Leary (@sillybean)](https://github.com/sillybean), [Darin Kotter (@dkotter)](https://github.com/dkotter), [Echo (@ChaosExAnima)](https://github.com/ChaosExAnima), [Burhan Nasir (@burhandodhy)](https://github.com/burhandodhy), [Rebecca Hum (@rebeccahum)](https://github.com/rebeccahum), [Sean Hayes (@seanchayes)](https://github.com/seanchayes), [Jeremy Felt (@jeremyfelt)](https://github.com/jeremyfelt), [Gago (@madmax3365)](https://github.com/madmax3365), [Ivan Kruchkoff(@)](https://github.com/ivankruchkoff), [Sérgio Santos (@s3rgiosan)](https://github.com/s3rgiosan), [Ravi Chandra (@ravichdev)](https://github.com/ravichdev), [Jay Hoffmann (@JasonHoffmann)](https://github.com/JasonHoffmann), [Arsen Dovlatyan (@arsendovlatyan)](https://github.com/arsendovlatyan), [Jeroen Sormani (@JeroenSormani)](https://github.com/JeroenSormani), [Ritesh Patel (@Ritesh-patel)](https://github.com/Ritesh-patel), [Gary Thayer (@gthayer)](https://github.com/gthayer), [Evan Mattson (@aaemnnosttv)](https://github.com/aaemnnosttv), [Nate Allen (@nate-allen)](https://github.com/nate-allen), [Michael Phillips (@mphillips)](https://github.com/mphillips), [Jay Wood (@JayWood)](https://github.com/JayWood), [Dreb Bits (@drebbits)](https://github.com/drebbits), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Matthew McAchran (@mmcachran)](https://github.com/mmcachran), [Ulrich Pogson (@grappler)](https://github.com/grappler), [(@avag-novembit)](https://github.com/avag-novembit), [Manuel Razzari (@mrazzari)](https://github.com/mrazzari), [Moe Browne (@moebrowne)](https://github.com/moebrowne), [Dave McHale (@dmchale)](https://github.com/dmchale), [Tommy Ferry (@tommyferry)](https://github.com/tommyferry), [Pete Nelson (@petenelson)](https://github.com/petenelson), [Alexander Berthelsen (@lakrisgubben)](https://github.com/lakrisgubben), [John Watkins (@johnwatkins0)](https://github.com/johnwatkins0), [Tung Du (@dinhtungdu)](https://github.com/dinhtungdu), [Darío Hereñú (@kant)](https://github.com/kant), [Arman Hovhannisyan (@ahovhannissian)](https://github.com/ahovhannissian), [John Spellman (@jspellman814)](https://github.com/jspellman814), [Oszkar Nagy (@oszkarnagy)](https://github.com/oszkarnagy), [Sami Keijonen (@samikeijonen)](https://github.com/samikeijonen), [(@PaddyWhacks)](https://github.com/PaddyWhacks), [(@eriktad)](https://github.com/eriktad), [(@dmaslogh)](https://github.com/dmaslogh), [Kevin Pudlo (@Kpudlo)](https://github.com/Kpudlo), [Barrett Golding (@hearvox)](https://github.com/hearvox), [Rob Marscher (@rmarscher)](https://github.com/rmarscher), [Ivan Lopez (@ivanlopez)](https://github.com/ivanlopez), [Catherine Cavanagh (@biggiebangle)](https://github.com/biggiebangle), [Tommy Ferry (@pragmatic-tf)](https://github.com/pragmatic-tf), [Joshua Walker (@jshwlkr)](https://github.com/jshwlkr), [Caleb Burks (@WPprodigy)](https://github.com/WPprodigy), [(@jonny-bull)](https://github.com/jonny-bull), [Ricky Lee Whittemore (@rickalee)](https://github.com/rickalee), [Rob Cain (@robcain)](https://github.com/robcain), [(@j0HnC0untry)](https://github.com/j0HnC0untry), [(@dfardon)](https://github.com/dfardon), [(@anilpainuly121)](https://github.com/anilpainuly121), [(@vimalagarwalasentech)](https://github.com/vimalagarwalasentech), [Chris Wieber (@cdwieber)](https://github.com/cdwieber), [Dhanendran Rajagopal (@dhanendran)](https://github.com/dhanendran), [Andrew Ortolano (@andrewortolano)](https://github.com/andrewortolano), [(@xyralothep)](https://github.com/xyralothep), [Garth Gutenberg (@ggutenberg)](https://github.com/ggutenberg), [Jaime Martínez (@jmslbam)](https://github.com/jmslbam), [Francisco Domo (@francisco-domo)](https://github.com/francisco-domo), [Elliott Stocks (@elliott-stocks)](https://github.com/elliott-stocks), [David Purdy (@davidmpurdy)](https://github.com/davidmpurdy), [(@zacnboat)](https://github.com/zacnboat), [Spencer Brower (@sbrow)](https://github.com/sbrow), [Ross Pickerill (@rosspbauer)](https://github.com/rosspbauer), [Jackie Kjome (@JackieKjome)](https://github.com/JackieKjome), [SieBer15 (@SieBer15)](https://github.com/SieBer15), [Pascal Knecht (@pascalknecht)](https://github.com/pascalknecht), [Justin Young (@justiny)](https://github.com/justiny), [Johan Pretorius (@Drmzindec)](https://github.com/Drmzindec), [Clayton Collie (@claytoncollie)](https://github.com/claytoncollie), [Max Lyuchin (@cadic)](https://github.com/cadic), [Joe Grainger (@jjgrainger)](https://github.com/jjgrainger), [Lily Bonney](https://www.linkedin.com/in/lilybonney/), [Mollie Pugh](https://www.linkedin.com/in/molliepugh/), [Martina Haines](https://www.linkedin.com/in/martinahaines/), [Luca Ricci (@theskinnyghost)](https://github.com/theskinnyghost), [Lucy Bowe (@LucyTurtle)](https://github.com/LucyTurtle), [Dharmesh Patel (@iamdharmesh)](https://github.com/iamdharmesh), [(@jmstew3)](https://github.com/jmstew3), [Phil Crumm (@pcrumm)](https://github.com/pcrumm), [Faisal Alvi (@faisal-alvi)](https://github.com/faisal-alvi), [Siddharth Thevaril (@Sidsector9)](https://github.com/Sidsector9), [Will Skora (@skorasaurus)](https://github.com/skorasaurus), [Mohit Dadhich (@mohitwp)](https://github.com/mohitwp), [Will Howat-Comandré (@willhowat)](https://github.com/willhowat), [@Borkent](https://github.com/Borkent), [Dishit Pala (@dishitpala)](https://github.com/dishitpala), [@markusvisse](https://github.com/markusvisse), [@MonsterKing](https://github.com/MonsterKing), [James Morrison (@jamesmorrison)](https://github.com/jamesmorrison), [Mehul Kaklotar (@mehulkaklotar)](https://github.com/mehulkaklotar), [@espechtcfe](https://github.com/espechtcfe), [@romeowski](https://github.com/romeowski), [@vlastaw](https://github.com/vlastaw), [Jamie Adams (@jadamsbit)](https://github.com/jadamsbit), [Yoni Bee (@ybalkind)](https://github.com/ybalkind), [Akshit Sethi (@akshitsethi)](https://github.com/akshitsethi), [Vikram (@vikrampm1)](https://github.com/vikrampm1), [Josh Wilson (@joshwilsondotme)](https://github.com/joshwilsondotme), [Groupe-Mgel (@Groupe-Mgel)](https://github.com/Groupe-Mgel), [Emma (@emmawenger)](https://github.com/emmawenger), [@bcobin](https://github.com/bcobin), [@alexwolk](https://github.com/alexwolk), [Maxime Freschard (@ligne13)](https://github.com/ligne13), [Shazahan Kabir Saju (@sksaju)](https://github.com/sksaju), [Peter Wilson (@peterwilsoncc)](https://github.com/peterwilsoncc), [@Pitemedia](https://github.com/Pitemedia), [Michal Letavka (@michalletavka)](https://github.com/michalletavka), [@shu05](https://github.com/shu05), [Lukas Pawlik (@lukaspawlik)](https://github.com/lukaspawlik), [Amal Ajith PM (@amalajith)](https://github.com/amalajith), [Paul de Wouters (@pdewouters)](https://github.com/pdewouters), [Andre Gagnon (@andygagnon)](https://github.com/andygagnon), [Ravinder Kumar (@ravinderk)](https://github.com/ravinderk), [mapamond (@mapamond)](https://github.com/mapamond), [Giorgos Sarigiannidis (@gsarig)](https://github.com/gsarig), [Dan Maby (@danmaby)](https://github.com/danmaby), [Tim Gieseking (@timstl)](https://github.com/timstl), [David Chandra Purnama (@turtlepod)](https://github.com/turtlepod), [Manolo Bevia (@manolobevia)](https://github.com/manolobevia), [madriverweb (@madriverweb)](https://github.com/madriverweb), [ale8521 (@ale8521)](https://github.com/ale8521), [roshniahuja (@roshniahuja)](https://github.com/roshniahuja), [Jayedul K. (@jayedul)](https://github.com/jayedul), [Konstantinos Galanakis (@kmgalanakis-sage)](https://github.com/kmgalanakis-sage), [Seth Rubenstein (@sethrubenstein)](https://github.com/sethrubenstein), [Harshal Kadu (@QAharshalkadu)](https://github.com/QAharshalkadu), [Joe McGill (@joemcgill)](https://github.com/joemcgill), [Margaret Schneider (@margaretschneider)](https://github.com/margaretschneider), [Anton Vanyukov (@av3nger)](https://github.com/av3nger), [Zach Adams (@zach-adams)](https://github.com/zach-adams), [Severine Pozzo (@severine-pozzo)](https://github.com/severine-pozzo), [Maxim Ledoux (@maxledoux)](https://github.com/maxledoux), [Leo Germani (@leogermani)](https://github.com/leogermani). +[10up (@10up)](https://github.com/10up), [Taylor Lovett (@tlovett1)](https://github.com/tlovett1), [Zane Matthew (@zanematthew)](https://github.com/zanematthew), [Aaron Brazell (@technosailor)](https://github.com/technosailor), [Marco Pereirinha (@pereirinha)](https://github.com/pereirinha), [Joshua Abenazer (@joshuaabenazer)](https://github.com/joshuaabenazer), [Adam Silverstein (@adamsilverstein)](https://github.com/adamsilverstein), [Helen Hou-Sandí (@helen)](https://github.com/helen), [Chris Marslender (@cmmarslender)](https://github.com/cmmarslender), [Tom J Nowell (@tomjn)](https://github.com/tomjn), [Tim Nolte (@timnolte)](https://github.com/timnolte), [(@sericgoran)](https://github.com/sericgoran), [Jason Bahl (@jasonbahl)](https://github.com/jasonbahl), [Barry Ceelen (@barryceelen)](https://github.com/barryceelen), [Ryan Welcher (@ryanwelcher)](https://github.com/ryanwelcher), [Ben Greeley (@bengreeley)](https://github.com/bengreeley), [Robbie Trencheny (@robbiet480)](https://github.com/robbiet480), [Jake Goldman (@jakemgold)](https://github.com/jakemgold), [Stephanie Leary (@sillybean)](https://github.com/sillybean), [Darin Kotter (@dkotter)](https://github.com/dkotter), [Echo (@ChaosExAnima)](https://github.com/ChaosExAnima), [Burhan Nasir (@burhandodhy)](https://github.com/burhandodhy), [Rebecca Hum (@rebeccahum)](https://github.com/rebeccahum), [Sean Hayes (@seanchayes)](https://github.com/seanchayes), [Jeremy Felt (@jeremyfelt)](https://github.com/jeremyfelt), [Gago (@madmax3365)](https://github.com/madmax3365), [Ivan Kruchkoff(@)](https://github.com/ivankruchkoff), [Sérgio Santos (@s3rgiosan)](https://github.com/s3rgiosan), [Ravi Chandra (@ravichdev)](https://github.com/ravichdev), [Jay Hoffmann (@JasonHoffmann)](https://github.com/JasonHoffmann), [Arsen Dovlatyan (@arsendovlatyan)](https://github.com/arsendovlatyan), [Jeroen Sormani (@JeroenSormani)](https://github.com/JeroenSormani), [Ritesh Patel (@Ritesh-patel)](https://github.com/Ritesh-patel), [Gary Thayer (@gthayer)](https://github.com/gthayer), [Evan Mattson (@aaemnnosttv)](https://github.com/aaemnnosttv), [Nate Allen (@nate-allen)](https://github.com/nate-allen), [Michael Phillips (@mphillips)](https://github.com/mphillips), [Jay Wood (@JayWood)](https://github.com/JayWood), [Dreb Bits (@drebbits)](https://github.com/drebbits), [Jeffrey Paul (@jeffpaul)](https://github.com/jeffpaul), [Matthew McAchran (@mmcachran)](https://github.com/mmcachran), [Ulrich Pogson (@grappler)](https://github.com/grappler), [(@avag-novembit)](https://github.com/avag-novembit), [Manuel Razzari (@mrazzari)](https://github.com/mrazzari), [Moe Browne (@moebrowne)](https://github.com/moebrowne), [Dave McHale (@dmchale)](https://github.com/dmchale), [Tommy Ferry (@tommyferry)](https://github.com/tommyferry), [Pete Nelson (@petenelson)](https://github.com/petenelson), [Alexander Berthelsen (@lakrisgubben)](https://github.com/lakrisgubben), [John Watkins (@johnwatkins0)](https://github.com/johnwatkins0), [Tung Du (@dinhtungdu)](https://github.com/dinhtungdu), [Darío Hereñú (@kant)](https://github.com/kant), [Arman Hovhannisyan (@ahovhannissian)](https://github.com/ahovhannissian), [John Spellman (@jspellman814)](https://github.com/jspellman814), [Oszkar Nagy (@oszkarnagy)](https://github.com/oszkarnagy), [Sami Keijonen (@samikeijonen)](https://github.com/samikeijonen), [(@PaddyWhacks)](https://github.com/PaddyWhacks), [(@eriktad)](https://github.com/eriktad), [(@dmaslogh)](https://github.com/dmaslogh), [Kevin Pudlo (@Kpudlo)](https://github.com/Kpudlo), [Barrett Golding (@hearvox)](https://github.com/hearvox), [Rob Marscher (@rmarscher)](https://github.com/rmarscher), [Ivan Lopez (@ivanlopez)](https://github.com/ivanlopez), [Catherine Cavanagh (@biggiebangle)](https://github.com/biggiebangle), [Tommy Ferry (@pragmatic-tf)](https://github.com/pragmatic-tf), [Joshua Walker (@jshwlkr)](https://github.com/jshwlkr), [Caleb Burks (@WPprodigy)](https://github.com/WPprodigy), [(@jonny-bull)](https://github.com/jonny-bull), [Ricky Lee Whittemore (@rickalee)](https://github.com/rickalee), [Rob Cain (@robcain)](https://github.com/robcain), [(@j0HnC0untry)](https://github.com/j0HnC0untry), [(@dfardon)](https://github.com/dfardon), [(@anilpainuly121)](https://github.com/anilpainuly121), [(@vimalagarwalasentech)](https://github.com/vimalagarwalasentech), [Chris Wieber (@cdwieber)](https://github.com/cdwieber), [Dhanendran Rajagopal (@dhanendran)](https://github.com/dhanendran), [Andrew Ortolano (@andrewortolano)](https://github.com/andrewortolano), [(@xyralothep)](https://github.com/xyralothep), [Garth Gutenberg (@ggutenberg)](https://github.com/ggutenberg), [Jaime Martínez (@jmslbam)](https://github.com/jmslbam), [Francisco Domo (@francisco-domo)](https://github.com/francisco-domo), [Elliott Stocks (@elliott-stocks)](https://github.com/elliott-stocks), [David Purdy (@davidmpurdy)](https://github.com/davidmpurdy), [(@zacnboat)](https://github.com/zacnboat), [Spencer Brower (@sbrow)](https://github.com/sbrow), [Ross Pickerill (@rosspbauer)](https://github.com/rosspbauer), [Jackie Kjome (@JackieKjome)](https://github.com/JackieKjome), [SieBer15 (@SieBer15)](https://github.com/SieBer15), [Pascal Knecht (@pascalknecht)](https://github.com/pascalknecht), [Justin Young (@justiny)](https://github.com/justiny), [Johan Pretorius (@Drmzindec)](https://github.com/Drmzindec), [Clayton Collie (@claytoncollie)](https://github.com/claytoncollie), [Max Lyuchin (@cadic)](https://github.com/cadic), [Joe Grainger (@jjgrainger)](https://github.com/jjgrainger), [Lily Bonney](https://www.linkedin.com/in/lilybonney/), [Mollie Pugh](https://www.linkedin.com/in/molliepugh/), [Martina Haines](https://www.linkedin.com/in/martinahaines/), [Luca Ricci (@theskinnyghost)](https://github.com/theskinnyghost), [Lucy Bowe (@LucyTurtle)](https://github.com/LucyTurtle), [Dharmesh Patel (@iamdharmesh)](https://github.com/iamdharmesh), [(@jmstew3)](https://github.com/jmstew3), [Phil Crumm (@pcrumm)](https://github.com/pcrumm), [Faisal Alvi (@faisal-alvi)](https://github.com/faisal-alvi), [Siddharth Thevaril (@Sidsector9)](https://github.com/Sidsector9), [Will Skora (@skorasaurus)](https://github.com/skorasaurus), [Mohit Dadhich (@mohitwp)](https://github.com/mohitwp), [Will Howat-Comandré (@willhowat)](https://github.com/willhowat), [@Borkent](https://github.com/Borkent), [Dishit Pala (@dishitpala)](https://github.com/dishitpala), [@markusvisse](https://github.com/markusvisse), [@MonsterKing](https://github.com/MonsterKing), [James Morrison (@jamesmorrison)](https://github.com/jamesmorrison), [Mehul Kaklotar (@mehulkaklotar)](https://github.com/mehulkaklotar), [@espechtcfe](https://github.com/espechtcfe), [@romeowski](https://github.com/romeowski), [@vlastaw](https://github.com/vlastaw), [Jamie Adams (@jadamsbit)](https://github.com/jadamsbit), [Yoni Bee (@ybalkind)](https://github.com/ybalkind), [Akshit Sethi (@akshitsethi)](https://github.com/akshitsethi), [Vikram (@vikrampm1)](https://github.com/vikrampm1), [Josh Wilson (@joshwilsondotme)](https://github.com/joshwilsondotme), [Groupe-Mgel (@Groupe-Mgel)](https://github.com/Groupe-Mgel), [Emma (@emmawenger)](https://github.com/emmawenger), [@bcobin](https://github.com/bcobin), [@alexwolk](https://github.com/alexwolk), [Maxime Freschard (@ligne13)](https://github.com/ligne13), [Shazahan Kabir Saju (@sksaju)](https://github.com/sksaju), [Peter Wilson (@peterwilsoncc)](https://github.com/peterwilsoncc), [@Pitemedia](https://github.com/Pitemedia), [Michal Letavka (@michalletavka)](https://github.com/michalletavka), [@shu05](https://github.com/shu05), [Lukas Pawlik (@lukaspawlik)](https://github.com/lukaspawlik), [Amal Ajith PM (@amalajith)](https://github.com/amalajith), [Paul de Wouters (@pdewouters)](https://github.com/pdewouters), [Andre Gagnon (@andygagnon)](https://github.com/andygagnon), [Ravinder Kumar (@ravinderk)](https://github.com/ravinderk), [mapamond (@mapamond)](https://github.com/mapamond), [Giorgos Sarigiannidis (@gsarig)](https://github.com/gsarig), [Dan Maby (@danmaby)](https://github.com/danmaby), [Tim Gieseking (@timstl)](https://github.com/timstl), [David Chandra Purnama (@turtlepod)](https://github.com/turtlepod), [Manolo Bevia (@manolobevia)](https://github.com/manolobevia), [madriverweb (@madriverweb)](https://github.com/madriverweb), [ale8521 (@ale8521)](https://github.com/ale8521), [roshniahuja (@roshniahuja)](https://github.com/roshniahuja), [Jayedul K. (@jayedul)](https://github.com/jayedul), [Konstantinos Galanakis (@kmgalanakis-sage)](https://github.com/kmgalanakis-sage), [Seth Rubenstein (@sethrubenstein)](https://github.com/sethrubenstein), [Harshal Kadu (@QAharshalkadu)](https://github.com/QAharshalkadu), [Joe McGill (@joemcgill)](https://github.com/joemcgill), [Margaret Schneider (@margaretschneider)](https://github.com/margaretschneider), [Anton Vanyukov (@av3nger)](https://github.com/av3nger), [Zach Adams (@zach-adams)](https://github.com/zach-adams), [Severine Pozzo (@severine-pozzo)](https://github.com/severine-pozzo), [Maxim Ledoux (@maxledoux)](https://github.com/maxledoux), [Leo Germani (@leogermani)](https://github.com/leogermani), [Viktor Szépe (@szepeviktor)](https://github.com/szepeviktor). ## Libraries diff --git a/distributor.php b/distributor.php index d65067e2c..486b47c71 100644 --- a/distributor.php +++ b/distributor.php @@ -4,7 +4,7 @@ * Plugin URI: https://github.com/10up/distributor * Update URI: https://distributorplugin.com * Description: Makes it easy to distribute and reuse content across your websites, whether inside of a multisite or across the web. - * Version: 2.0.3 + * Version: 2.0.4 * Requires at least: 5.7 * Requires PHP: 7.4 * Author: 10up Inc. @@ -28,7 +28,7 @@ exit; // Exit if accessed directly. } -define( 'DT_VERSION', '2.0.3' ); +define( 'DT_VERSION', '2.0.4' ); define( 'DT_PLUGIN_FILE', preg_replace( '#^.*plugins/(.*)$#i', '$1', __FILE__ ) ); define( 'DT_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); define( 'DT_PLUGIN_FULL_FILE', __FILE__ ); diff --git a/package-lock.json b/package-lock.json index 4b917159a..a90feccc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "distributor", - "version": "2.0.3", + "version": "2.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "distributor", - "version": "2.0.3", + "version": "2.0.4", "license": "GPL-2.0-or-later", "dependencies": { "mustache": "^4.2.0" @@ -19,9 +19,10 @@ "cypress": "^13.1.0", "cypress-mochawesome-reporter": "^3.5.1", "eslint-plugin-cypress": "^2.12.1", - "jsdoc": "^3.6.11", + "jsdoc": "^4.0.2", "mochawesome-json-to-md": "^0.7.2", "node-wp-i18n": "^1.2.6", + "taffydb": "^2.7.3", "wp-hookdoc": "^0.2.0" }, "engines": { @@ -2866,6 +2867,18 @@ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", "dev": true }, + "node_modules/@jsdoc/salty": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.7.tgz", + "integrity": "sha512-mh8LbS9d4Jq84KLw8pzho7XC2q2/IJGiJss3xwRoLD1A+EE16SjN4PfaG4jRCzKegTFLlN0Zd8SdUPE6XdoPFg==", + "dev": true, + "dependencies": { + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=v12.0.0" + } + }, "node_modules/@kwsites/file-exists": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz", @@ -6089,13 +6102,13 @@ "dev": true }, "node_modules/body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "dependencies": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -6103,7 +6116,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, @@ -9808,17 +9821,17 @@ "dev": true }, "node_modules/express": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", - "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dev": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.1", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -9850,9 +9863,9 @@ } }, "node_modules/express/node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "dev": true, "engines": { "node": ">= 0.6" @@ -10299,9 +10312,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true, "funding": [ { @@ -11491,9 +11504,9 @@ "dev": true }, "node_modules/ip": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz", + "integrity": "sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==", "dev": true }, "node_modules/ipaddr.js": { @@ -13013,12 +13026,13 @@ "dev": true }, "node_modules/jsdoc": { - "version": "3.6.11", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.11.tgz", - "integrity": "sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.2.tgz", + "integrity": "sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg==", "dev": true, "dependencies": { - "@babel/parser": "^7.9.4", + "@babel/parser": "^7.20.15", + "@jsdoc/salty": "^0.2.1", "@types/markdown-it": "^12.2.3", "bluebird": "^3.7.2", "catharsis": "^0.9.0", @@ -13031,7 +13045,6 @@ "mkdirp": "^1.0.4", "requizzle": "^0.2.3", "strip-json-comments": "^3.1.0", - "taffydb": "2.6.2", "underscore": "~1.13.2" }, "bin": { @@ -17259,9 +17272,9 @@ } }, "node_modules/raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "dependencies": { "bytes": "3.1.2", @@ -18510,9 +18523,9 @@ } }, "node_modules/socks/node_modules/ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz", + "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==", "dev": true }, "node_modules/source-map": { @@ -19293,9 +19306,9 @@ } }, "node_modules/taffydb": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", - "integrity": "sha512-y3JaeRSplks6NYQuCOj3ZFMO3j60rTwbuKCvZxsAraGYH2epusatvZ0baZYA01WsGqJBq/Dl6vOrMUJqyMj8kA==", + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", + "integrity": "sha512-GQ3gtYFSOAxSMN/apGtDKKkbJf+8izz5YfbGqIsUc7AMiQOapARZ76dhilRY2h39cynYxBFdafQo5HUL5vgkrg==", "dev": true }, "node_modules/tannin": { @@ -20535,9 +20548,9 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", - "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", + "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==", "dev": true, "dependencies": { "colorette": "^2.0.10", @@ -23274,6 +23287,15 @@ } } }, + "@jsdoc/salty": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.7.tgz", + "integrity": "sha512-mh8LbS9d4Jq84KLw8pzho7XC2q2/IJGiJss3xwRoLD1A+EE16SjN4PfaG4jRCzKegTFLlN0Zd8SdUPE6XdoPFg==", + "dev": true, + "requires": { + "lodash": "^4.17.21" + } + }, "@kwsites/file-exists": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz", @@ -25734,13 +25756,13 @@ "dev": true }, "body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", "dev": true, "requires": { "bytes": "3.1.2", - "content-type": "~1.0.4", + "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", "destroy": "1.2.0", @@ -25748,7 +25770,7 @@ "iconv-lite": "0.4.24", "on-finished": "2.4.1", "qs": "6.11.0", - "raw-body": "2.5.1", + "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" }, @@ -28501,17 +28523,17 @@ "dev": true }, "express": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", - "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dev": true, "requires": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.1", + "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -28540,9 +28562,9 @@ }, "dependencies": { "cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "dev": true }, "debug": { @@ -28900,9 +28922,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.4", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", - "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "dev": true }, "for-each": { @@ -29772,9 +29794,9 @@ "dev": true }, "ip": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz", - "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz", + "integrity": "sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==", "dev": true }, "ipaddr.js": { @@ -30892,12 +30914,13 @@ "dev": true }, "jsdoc": { - "version": "3.6.11", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.11.tgz", - "integrity": "sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.2.tgz", + "integrity": "sha512-e8cIg2z62InH7azBBi3EsSEqrKx+nUtAS5bBcYTSpZFA+vhNPyhv8PTFZ0WsjOPDj04/dOLlm08EDcQJDqaGQg==", "dev": true, "requires": { - "@babel/parser": "^7.9.4", + "@babel/parser": "^7.20.15", + "@jsdoc/salty": "^0.2.1", "@types/markdown-it": "^12.2.3", "bluebird": "^3.7.2", "catharsis": "^0.9.0", @@ -30910,7 +30933,6 @@ "mkdirp": "^1.0.4", "requizzle": "^0.2.3", "strip-json-comments": "^3.1.0", - "taffydb": "2.6.2", "underscore": "~1.13.2" }, "dependencies": { @@ -34031,9 +34053,9 @@ "dev": true }, "raw-body": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", - "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", "dev": true, "requires": { "bytes": "3.1.2", @@ -34985,9 +35007,9 @@ }, "dependencies": { "ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.1.tgz", + "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==", "dev": true } } @@ -35635,9 +35657,9 @@ } }, "taffydb": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", - "integrity": "sha512-y3JaeRSplks6NYQuCOj3ZFMO3j60rTwbuKCvZxsAraGYH2epusatvZ0baZYA01WsGqJBq/Dl6vOrMUJqyMj8kA==", + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.3.tgz", + "integrity": "sha512-GQ3gtYFSOAxSMN/apGtDKKkbJf+8izz5YfbGqIsUc7AMiQOapARZ76dhilRY2h39cynYxBFdafQo5HUL5vgkrg==", "dev": true }, "tannin": { @@ -36571,9 +36593,9 @@ } }, "webpack-dev-middleware": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", - "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", + "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==", "dev": true, "requires": { "colorette": "^2.0.10", diff --git a/package.json b/package.json index 7c666e89f..d39ed73c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "distributor", - "version": "2.0.3", + "version": "2.0.4", "description": "Distributor is a WordPress plugin that makes it easy to distribute and reuse content across your websites — whether in a single multisite or across the web.", "author": { "name": "10up", @@ -32,9 +32,10 @@ "cypress": "^13.1.0", "cypress-mochawesome-reporter": "^3.5.1", "eslint-plugin-cypress": "^2.12.1", - "jsdoc": "^3.6.11", + "jsdoc": "^4.0.2", "mochawesome-json-to-md": "^0.7.2", "node-wp-i18n": "^1.2.6", + "taffydb": "^2.7.3", "wp-hookdoc": "^0.2.0" }, "scripts": { diff --git a/readme.txt b/readme.txt index 3e7d28617..e2eea5b18 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: content, distribution, syndication, management Requires at least: 5.7 Tested up to: 6.4 Requires PHP: 7.4 -Stable tag: 2.0.3 +Stable tag: 2.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/tests/php/bootstrap.php b/tests/php/bootstrap.php index 3d9c59221..002ce94ac 100644 --- a/tests/php/bootstrap.php +++ b/tests/php/bootstrap.php @@ -10,7 +10,7 @@ WP_Mock::bootstrap(); define( 'DT_PLUGIN_PATH', dirname( __DIR__, 2 ) ); -define( 'DT_VERSION', '2.0.3' ); +define( 'DT_VERSION', '2.0.4' ); require_once __DIR__ . '/includes/common.php'; require_once __DIR__ . '/includes/TestCase.php';