GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Added `getProQuota()` method by sanex3339 · Pull Request #1461 · javascript-obfuscator/javascript-obfuscator

Conversation

@sanex3339

@sanex3339 sanex3339 commented Oct 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sanex3339
Added getProQuota() method
4595f65
@sanex3339 sanex3339 self-assigned this Oct 3, 2026
@sanex3339 sanex3339 added the enhancement label Oct 3, 2026
@sanex3339
sanex3339 requested a balanced review from Copilot October 3, 2026 20:56
Copilot started reviewing on behalf of sanex3339 October 3, 2026 20:57
View session
Copilot AI reviewed Oct 3, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown

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.

Copilot review overview

🟡 Changes recommended

Quota requests can outlive their timeout and bypass ApiError handling for some failures.

Review effort: Balanced
Findings: 3 Medium severity · 1 Low severity

Open (4)
  • Medium severity Keep request timeout active while consuming response body · New
  • Medium severity Handle null JSON responses without raw TypeError · New
  • Medium severity Wrap network fetch failures as ApiError · New
  • Low severity Report reset time for the limiting quota window · New
What changed in this PR

Adds Pro API quota retrieval and machine-readable API error codes.

Changes:

  • Adds getProQuota() with public types, documentation, and tests.
  • Exposes quota-related API error codes.
  • Bumps the package version to 5.9.0.
File Description
src/​pro-api/​ProApiClient.ts Implements quota requests and error codes.
src/​pro-api/​ApiError.ts Adds the optional code property.
src/​JavaScriptObfuscatorFacade.ts Exposes getProQuota().
src/​interfaces/​pro-api/​IProApiClient.ts Defines quota response types.
index.ts Exports the new public API and types.
test/​functional-tests/​pro-api/​ProApiClient.spec.ts Tests quota and error-code behavior.
README.md Documents quota retrieval and handling.
CHANGELOG.md Records the new functionality.
package.json Updates the version to 5.9.0.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/pro-api/ProApiClient.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/pro-api/ProApiClient.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/pro-api/ProApiClient.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread README.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sanex3339
Update README.md
8e09cea
@sanex3339
sanex3339 merged commit 67005e2 into master Oct 4, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@sanex3339 sanex3339

Labels

enhancement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@sanex3339
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.