Skip to content

v2.5 update#249

Merged
jkcox merged 77 commits into
mainfrom
develop
Dec 8, 2025
Merged

v2.5 update#249
jkcox merged 77 commits into
mainfrom
develop

Conversation

@jkcox
Copy link
Copy Markdown
Contributor

@jkcox jkcox commented Dec 4, 2025

No description provided.

jkcox and others added 30 commits December 3, 2024 14:22
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `path-to-regexp` from 0.1.10 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v0.1.10...v0.1.12)

Updates `express` from 4.21.1 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](expressjs/express@4.21.1...4.21.2)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [store2](https://github.com/nbubna/store) from 2.14.2 to 2.14.4.
- [Commits](nbubna/store@2.14.2...2.14.4)

---
updated-dependencies:
- dependency-name: store2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.5.7 to 3.2.4.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](cure53/DOMPurify@2.5.7...3.2.4)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.6.0 to 6.6.1.
- [Commits](indutny/elliptic@v6.6.0...v6.6.1)

---
updated-dependencies:
- dependency-name: elliptic
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [axios](https://github.com/axios/axios) from 1.7.7 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.7...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.7 to 2.0.9.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.22.11 to 7.27.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-version: 7.27.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) and [@wordpress/e2e-test-utils-playwright](https://github.com/WordPress/gutenberg/tree/HEAD/packages/e2e-test-utils-playwright). These dependencies needed to be updated together.

Updates `tar-fs` from 3.0.6 to 3.0.8
- [Commits](mafintosh/tar-fs@v3.0.6...v3.0.8)

Updates `@wordpress/e2e-test-utils-playwright` from 1.11.0 to 1.22.0
- [Release notes](https://github.com/WordPress/gutenberg/releases)
- [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/e2e-test-utils-playwright/CHANGELOG.md)
- [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/e2e-test-utils-playwright@1.22.0/packages/e2e-test-utils-playwright)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 3.0.8
  dependency-type: indirect
- dependency-name: "@wordpress/e2e-test-utils-playwright"
  dependency-version: 1.22.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.26.0 to 7.27.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.1/packages/babel-helpers)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-version: 7.27.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…-3.2.4

Bump dompurify from 2.5.7 to 3.2.4
…y-middleware-2.0.9

Bump http-proxy-middleware from 2.0.7 to 2.0.9
…time-7.27.1

Bump @babel/runtime from 7.22.11 to 7.27.1
…80a39fb

Bump tar-fs and @wordpress/e2e-test-utils-playwright
…pers-7.27.1

Bump @babel/helpers from 7.26.0 to 7.27.1
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 3.0.8 to 3.0.9.
- [Commits](mafintosh/tar-fs@v3.0.8...v3.0.9)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 3.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pbkdf2](https://github.com/crypto-browserify/pbkdf2) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/browserify/pbkdf2/blob/master/CHANGELOG.md)
- [Commits](browserify/pbkdf2@v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: pbkdf2
  dependency-version: 3.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…ansion-1.1.12

Bump brace-expansion from 1.1.11 to 1.1.12
---
updated-dependencies:
- dependency-name: on-headers
  dependency-version: 1.1.0
  dependency-type: indirect
- dependency-name: compression
  dependency-version: 1.8.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
jkcox and others added 22 commits November 4, 2025 16:38
…ttons

Co-authored-by: jkcox <8856538+jkcox@users.noreply.github.com>
Co-authored-by: jkcox <8856538+jkcox@users.noreply.github.com>
Co-authored-by: jkcox <8856538+jkcox@users.noreply.github.com>
Co-authored-by: jkcox <8856538+jkcox@users.noreply.github.com>
Fix block validation failure for news-grid cardButton inconsistency
Co-authored-by: jkcox <8856538+jkcox@users.noreply.github.com>
Update news grid components from ASU Unity Stack dev branch
@jkcox jkcox self-assigned this Dec 4, 2025
@jkcox jkcox added [Type] Maintenance Minor file cleanup and organization tasks javascript Pull requests that update Javascript code labels Dec 4, 2025
Update @asu/component-events npm package to v3.0.1
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the UnityBlocks plugin to version 2.5, primarily introducing card button/link configuration options for the news grid block and updating dependencies.

  • Adds functionality to toggle between button and link display on news cards
  • Updates import paths to use webpack aliases for cleaner code organization
  • Updates dependencies including DOMPurify and ASU component packages

Reviewed changes

Copilot reviewed 34 out of 39 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
unityblocks.php Version bump to 2.5.0
webpack.config.js New webpack configuration with path aliases
src/news-grid/block.json Adds card button/link attributes and updates API version to 3
src/news-grid/inspector.js Adds UI controls for card button/link configuration
src/news-grid/save.js Enables card button configuration data attributes
src/news-grid/edit.js Fixes typo changing url to size and adds new attributes
src/news-grid/frontend.js Passes new card button/link props to component
src/asu-events/block.json Updates API version to 3
resources/unity/component-news/src/components/CardGridNews/index.js Implements card button/link rendering logic
resources/unity/component-news/src/components/CardListlNews/index.js Removes unused code and fixes image alt text
resources/unity/components-core/src/core/utils/html-utils.js Updates DOMPurify import syntax
resources/unity/component-news/src/core/utils/shorten-text.js Simplifies text truncation logic
package.json Updates dependencies to newer versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread resources/unity/component-news/src/core/utils/shorten-text.js
@jkcox jkcox merged commit 5acff51 into main Dec 8, 2025
22 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code [Type] Maintenance Minor file cleanup and organization tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants