Conversation
- Convert integration.js to TypeScript (src/integration.ts, src/queries.ts) - Replace postman-request with polarity-integration-utils - Create TypeScript type declarations (src/types/scout-prime.ts) - Convert Ember/Handlebars component to Lit web component (web-components/details.ts) - Update config.json (runtimeVersion 2, dataTypes, webComponents) - Add v2 build tooling (tsc, vite, vitest, eslint, prettier) - Remove v1 files (components/, templates/, styles/, integration.js) - Remove v1 dependencies (postman-request, lodash, async) - Bump version to 4.0.0 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix cvss type to number | null in scout-prime.ts and details.ts - Fix _lastActivityAt to compute max lastSeen across all associations - Parallelize getAssociations/getWhois/getOwners with Promise.all - Replace placeholder tests with proper server (21) and browser (12) tests - Add resolve alias in vitest.config.ts for polarity-integration-utils Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move PolarityRequest instantiation to startup() following the v2 pattern for a module-level, reusable instance. Set request.network = context.network in doLookup so proxy and TLS settings from the platform context are applied to all outbound requests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
v2 Migration: scoutprime
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.
Merges the v2 framework migration into master for release.