Skip to content

Enhanced search#511

Open
FulgerX2007 wants to merge 7 commits intoxbrowsersync:masterfrom
FulgerX2007:master
Open

Enhanced search#511
FulgerX2007 wants to merge 7 commits intoxbrowsersync:masterfrom
FulgerX2007:master

Conversation

@FulgerX2007
Copy link

This pull request includes updates to dependencies in package.json and a functional change to the BookmarkHelperService class in bookmark-helper.service.ts. The dependency updates ensure the project uses the latest versions of libraries, while the functional change enhances keyword-matching logic.

Dependency Updates:

  • Updated dompurify to version ^3.2.4 for improved security and features.
  • Updated @ffflorian/jszip-cli to version ^3.8.5 in devDependencies.
  • Updated postcss to version ^8.5.6 for better CSS processing.
  • Updated webpack to version ^5.99.9 and xml2js to version ^0.5.0 for improved build performance and XML parsing capabilities.

Functional Change:

  • Modified the BookmarkHelperService class to:
    • Pass additional parameters (false, true) to the getKeywordsFromBookmark method for more refined keyword extraction.
    • Adjust keyword matching logic to check for substrings (>= 0) instead of prefix matches (=== 0). This improves the flexibility of keyword matching.

Copilot AI and others added 6 commits June 28, 2025 15:21
Co-authored-by: FulgerX2007 <2111375+FulgerX2007@users.noreply.github.com>
Co-authored-by: FulgerX2007 <2111375+FulgerX2007@users.noreply.github.com>
Enhance the keyword search functionality to incorporate full URL text matching. The search operation should scan the complete URL string rather than limiting the search scope to only the URL prefix
---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.2.4
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: postcss
  dependency-version: 8.5.6
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: webpack
  dependency-version: 5.99.9
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: xml2js
  dependency-version: 0.5.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: "@babel/runtime-corejs3"
  dependency-version: 7.27.6
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@babel/traverse"
  dependency-version: 7.27.7
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-version: 3.0.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: json5
  dependency-version: 1.0.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: jszip
  dependency-version: 3.10.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@ffflorian/jszip-cli"
  dependency-version: 3.8.5
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: loader-utils
  dependency-version: 2.0.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: loader-utils
  dependency-version: 2.0.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: serialize-javascript
  dependency-version: 6.0.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: tough-cookie
  dependency-version: 4.1.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ws
  dependency-version: 7.5.10
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

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

Bump the npm_and_yarn group across 1 directory with 14 updates
Copy link
Contributor

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 enhances bookmark search behavior and refreshes several npm dependencies used by the app’s runtime and build tooling.

Changes:

  • Update keyword-search scoring to include URL-derived keywords and allow substring (not just prefix) matches.
  • Bump multiple dependencies in package.json (and regenerate package-lock.json) including dompurify, postcss, webpack, xml2js, and @ffflorian/jszip-cli.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/modules/shared/bookmark/bookmark-helper/bookmark-helper.service.ts Expands keyword extraction to include URL keywords and broadens matching from prefix to substring.
package.json Updates dependency versions for security/features and build tooling.
package-lock.json Lockfile updates reflecting new dependency graph/versions (including new engine requirements).

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

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants