Skip to content
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

feat: add browser-tool #344

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18794,6 +18794,9 @@
},
"zy-count-up": {
"version": "*"
},
"browser-tool": {

Check failure on line 18798 in package.json

View workflow job for this annotation

GitHub Actions / Node.js / Test (ubuntu-latest, 20)

Expected object keys to be in ascending order. 'browser-tool' should be before 'zy-count-up'
"version": "*"
Comment on lines +18798 to +18799
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

⚠️ Potential issue

🧩 Analysis chain

Avoid using wildcard versions.

Using * as the version specifier can lead to unexpected breaking changes and potential security vulnerabilities. Please specify a fixed version or version range.

Let's check the latest stable version of this package:


🌐 Web query:

What is the latest stable version of browser-tool on npm?

💡 Result:

The latest stable version of the browser-tool package on npm is 1.3.2, last published 2 months ago (as of February 14, 2025)[1]. This information comes directly from the package's npm registry entry which shows current version details and publication history.

To verify this programmatically:

npm view browser-tool version
# Output: 1.3.2

The package provides User-Agent parsing and browser environment detection capabilities for both frontend and Node.js applications[1].

Citations:


Action Required: Update "browser-tool" Version & Fix Dependency Sorting

  • Version Update: Replace the wildcard (*) version with the fixed version "1.3.2" (the latest stable release from npm) to avoid unexpected breaking changes and security risks.
  • Sorting Issue: Reorder the dependency entries in package.json to maintain alphabetical order as required by the pipeline checks.
🧰 Tools
🪛 GitHub Check: Node.js / Test (ubuntu-latest, 20)

[failure] 18798-18798:
Expected object keys to be in ascending order. 'browser-tool' should be before 'zy-count-up'

🪛 GitHub Actions: CI

[error] 18798-18798: Expected object keys to be in ascending order. 'browser-tool' should be before 'zy-count-up'.


⚠️ Potential issue

Fix dependency sorting to resolve pipeline failures.

The dependencies need to be sorted alphabetically. Move browser-tool before zy-count-up to fix the pipeline failures.

Apply this diff to fix the sorting:

     },
+    "browser-tool": {
+      "version": "*"
+    },
     "zy-count-up": {
       "version": "*"
-    },
-    "browser-tool": {
-      "version": "*"
     }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"browser-tool": {
"version": "*"
},
"browser-tool": {
"version": "*"
},
"zy-count-up": {
"version": "*"
}
🧰 Tools
🪛 GitHub Check: Node.js / Test (ubuntu-latest, 20)

[failure] 18798-18798:
Expected object keys to be in ascending order. 'browser-tool' should be before 'zy-count-up'

🪛 GitHub Actions: CI

[error] 18798-18798: Expected object keys to be in ascending order. 'browser-tool' should be before 'zy-count-up'.

}
}
}
Loading