Skip to content

Comments

Update: extract collate utility and replace local escapeRegExp with core import (fixes #446)#447

Merged
taylortom merged 2 commits intomasterfrom
issue/446
Feb 22, 2026
Merged

Update: extract collate utility and replace local escapeRegExp with core import (fixes #446)#447
taylortom merged 2 commits intomasterfrom
issue/446

Conversation

@taylortom
Copy link
Contributor

Summary

  • Extracts collate from UiBuild class into lib/utils/collate.js
  • Replaces local escapeRegExp method in JavaScriptTask with import { escapeRegExp } from 'adapt-authoring-core'
  • Creates barrel file lib/utils.js for re-exports
  • Exports collate as named export from package index
  • Bumps adapt-authoring-core dependency to ^2.0.0
  • Adds 9 new unit tests (59 total, all passing)

Test plan

  • All 59 tests pass (npm test)
  • Verify collate can be imported as named export
  • Verify escapeRegExp from core works correctly in saveCache

🤖 Generated with Claude Code

taylortom and others added 2 commits February 21, 2026 16:56
…ore import (fixes #446)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@taylortom taylortom merged commit 24d8e9f into master Feb 22, 2026
0 of 2 checks passed
@taylortom taylortom deleted the issue/446 branch February 22, 2026 15:42
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.

1 participant