-
Notifications
You must be signed in to change notification settings - Fork 603
Phase 2: Template Literals, Arrow Functions, and Destructuring #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
theturtle32
merged 25 commits into
phase2-code-quality-enhancements
from
phase2-template-literals-arrow-functions-destructuring
Jun 13, 2025
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
f84da5d
Fix typo in expires cookie validation error
theturtle32 6666483
Merge pull request #459 from theturtle32/codex/fix-typo-in-websocketr…
theturtle32 ef7d7c9
docs: clarify keepalive timeout behavior
theturtle32 2da1bd9
Merge pull request #460 from theturtle32/codex/expand-description-of-…
theturtle32 e77ccf5
Add tests for large WebSocket frame payloads
theturtle32 6a8783e
Merge pull request #461 from theturtle32/codex/add-tests-for-tobuffer…
theturtle32 fc92a7e
Phase 1: Complete test suite modernization with ES6 patterns
theturtle32 6e85cda
Update test/scripts/echo-server.js
theturtle32 10cf1c9
Address PR feedback: Complete arrow function conversions in test suite
theturtle32 e274ac7
Merge branch 'phase1-test-suite-modernization' of github.com:theturtl…
theturtle32 936847a
Complete remaining var → const/let conversions and fix ESLint issues
theturtle32 42db179
Adding .eslintrc.js
theturtle32 317f4e3
Complete migration from JSHint to ESLint with 2-space indentation
theturtle32 d826ff5
Complete Phase 1: Test Suite Modernization
theturtle32 3b7d6ef
Merge branch 'es6-refactor' into v2
theturtle32 afb79bd
Merge branch 'v2' into phase1-test-suite-modernization
theturtle32 cd1174c
Replace gulp with npm scripts for linting
theturtle32 e485355
Merge pull request #463 from theturtle32/phase1-test-suite-modernization
theturtle32 cc1ed44
Phase 2: Implement template literals, arrow functions, and destructuring
theturtle32 6c02de1
Fix GitHub Actions ESLint compatibility issue
theturtle32 15181d5
Fix code review issues: restore ES6+ modernizations
theturtle32 2096cac
Add Autobahn test results parser script
theturtle32 0ea2144
Add comprehensive Autobahn test runner
theturtle32 54ca978
Add Autobahn test script to package.json
theturtle32 68c277a
Only run on pull request
theturtle32 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,17 +8,23 @@ module.exports = { | |
| extends: 'eslint:recommended', | ||
| parserOptions: { | ||
| ecmaVersion: 2018, | ||
| sourceType: 'module' | ||
| sourceType: 'script' | ||
| }, | ||
| rules: { | ||
| 'indent': ['error', 2], | ||
| 'linebreak-style': ['error', 'unix'], | ||
| 'quotes': ['error', 'single'], | ||
| 'semi': ['error', 'always'], | ||
| 'no-unused-vars': ['error', { 'args': 'none' }], | ||
| 'no-console': 'off' | ||
| 'no-console': 'off', | ||
| 'no-useless-escape': 'off', | ||
| 'no-prototype-builtins': 'off', | ||
| 'no-control-regex': 'off', | ||
| 'no-empty': 'off', | ||
| 'no-unsafe-finally': 'off' | ||
|
Comment on lines
+20
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Comment on lines
+20
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| }, | ||
| globals: { | ||
| 'WebSocket': 'readonly' | ||
| 'WebSocket': 'readonly', | ||
| 'globalThis': 'readonly' | ||
| } | ||
| }; | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,18 @@ | ||
| name: websocket-tests | ||
| on: [push, pull_request] | ||
| on: [pull_request] | ||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/setup-node@v1 | ||
| - uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 10.x | ||
| node-version: 18.x | ||
|
|
||
| - uses: actions/checkout@v2 | ||
|
|
||
| - run: npm install | ||
|
|
||
| - run: npm run lint | ||
|
|
||
| - run: npm run test | ||
|
|
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing
sourceTypefrommoduletoscriptmight be a step back. Could you clarify the reasoning for this change?