Upgrade dependencies and modernize testing infrastructure#767
Open
JustinBeckwith wants to merge 1 commit intoNaturalNode:masterfrom
Open
Upgrade dependencies and modernize testing infrastructure#767JustinBeckwith wants to merge 1 commit intoNaturalNode:masterfrom
JustinBeckwith wants to merge 1 commit intoNaturalNode:masterfrom
Conversation
- Upgrade webpack 4 -> 5 with proper Node.js polyfill configuration - Upgrade jasmine 3 -> 6 and fix duplicate test names - Upgrade TypeScript to 5.9.3 - Replace gulp-based browser testing with jasmine-browser-runner - Remove unused dependencies: standard, ts-standard, gulp, gulp-jasmine-browser, inherits - Configure webpack to use browserify util polyfill for browser compatibility - Reduce npm vulnerabilities from 23 to 0 - All 868 specs passing in both Node.js and browser environments Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Greetings folks, and thanks for the wonderful library! I was trying to chase down a deprecation warning in my own library, and it was a transitive dependency on
http-server. Turns out ... you weren't using it!While I was in here, figured I'd burn some tokens upgrading your dev infrastructure and getting rid of all those deprecation and security warnings :)
Feedback welcomed!
Summary
This PR upgrades major dev dependencies, modernizes the browser testing infrastructure, and achieves zero npm vulnerabilities.
Changes
Dependency Upgrades
Testing Infrastructure
utilpolyfill for proper browser compatibilityspec/support/jasmine-browser.jsonconfigurationDependency Cleanup
Removed unused dependencies:
standard(redundant with eslint)ts-standard(redundant with @typescript-eslint)gulpandgulp-jasmine-browser(replaced with jasmine-browser-runner)inherits(transitive dependency, not directly used)Jasmine 6 Compatibility
Fixed duplicate test suite and spec names to comply with Jasmine 6's strict duplicate checking:
Security
Test Results
Breaking Changes
None - all tests pass and the API remains unchanged.
🤖 Generated with Claude Code