[Snyk] Upgrade @devrev/ts-adaas from 1.9.0 to 1.13.2#42
Closed
advikagupta30 wants to merge 1 commit intomainfrom
Closed
[Snyk] Upgrade @devrev/ts-adaas from 1.9.0 to 1.13.2#42advikagupta30 wants to merge 1 commit intomainfrom
advikagupta30 wants to merge 1 commit intomainfrom
Conversation
Snyk has created this PR to upgrade @devrev/ts-adaas from 1.9.0 to 1.13.2. See this package in npm: @devrev/ts-adaas See this project in Snyk: https://app.snyk.io/org/advikagupta30/project/37e4b1f7-8217-4041-8f24-01e02606b256?utm_source=github&utm_medium=referral&page=upgrade-pr
Author
|
Closing auto-generated Snyk upgrade PRs |
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.
Snyk has created this PR to upgrade @devrev/ts-adaas from 1.9.0 to 1.13.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 73 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: @devrev/ts-adaas
-
1.13.2 - 2025-12-18
- Add mock-server explanation and usage examples by @ radovanjorgic in #116
- Fix event type translation logging and improve how workers are spawned based on event type by @ radovanjorgic in #115
- Fix coverage is not getting pushed to coveralls by @ radovanjorgic in #117
- Revert options.isLocalDevelopment check change and deprecate
- Add default worker paths for loading phases, switch which loading event types are deprecated by @ radovanjorgic in #120
// Helper function that had to be maintained
// No helper function needed!
Event Type
Worker Path
Worker File
-
1.13.2-beta.5 - 2025-12-18
-
1.13.2-beta.4 - 2025-12-18
-
1.13.2-beta.3 - 2025-12-18
-
1.13.2-beta.2 - 2025-12-18
-
1.13.2-beta.1 - 2025-12-18
-
1.13.2-beta.0 - 2025-12-17
-
1.13.1 - 2025-12-17
-
1.13.1-beta.3 - 2025-12-16
-
1.13.1-beta.2 - 2025-12-16
-
1.13.1-beta.1 - 2025-12-16
-
1.13.1-beta.0 - 2025-12-15
-
1.13.0 - 2025-12-03
-
1.12.3-beta.8 - 2025-12-03
-
1.12.3-beta.7 - 2025-12-03
-
1.12.3-beta.6 - 2025-12-02
-
1.12.3-beta.5 - 2025-12-01
-
1.12.3-beta.4 - 2025-12-01
-
1.12.3-beta.3 - 2025-12-01
-
1.12.3-beta.2 - 2025-11-27
-
1.12.3-beta.1 - 2025-11-27
-
1.12.3-beta.0 - 2025-11-26
-
1.12.3-0 - 2025-11-25
-
1.12.2 - 2025-11-24
-
1.12.2-beta.0 - 2025-11-19
-
1.12.1 - 2025-11-17
-
1.12.1-beta.0 - 2025-11-17
-
1.12.0 - 2025-11-11
-
1.11.1-beta.29 - 2025-11-11
-
1.11.1-beta.28 - 2025-11-11
-
1.11.1-beta.27 - 2025-11-10
-
1.11.1-beta.26 - 2025-11-10
-
1.11.1-beta.25 - 2025-11-10
-
1.11.1-beta.24 - 2025-11-10
-
1.11.1-beta.23 - 2025-11-10
-
1.11.1-beta.22 - 2025-11-10
-
1.11.1-beta.21 - 2025-11-10
-
1.11.1-beta.20 - 2025-11-10
-
1.11.1-beta.19 - 2025-11-10
-
1.11.1-beta.18 - 2025-11-10
-
1.11.1-beta.17 - 2025-11-06
-
1.11.1-beta.16 - 2025-11-06
-
1.11.1-beta.15 - 2025-11-06
-
1.11.1-beta.14 - 2025-11-06
-
1.11.1-beta.13 - 2025-11-05
-
1.11.1-beta.12 - 2025-11-05
-
1.11.1-beta.11 - 2025-11-05
-
1.11.1-beta.10 - 2025-11-04
-
1.11.1-beta.9 - 2025-11-04
-
1.11.1-beta.8 - 2025-11-04
-
1.11.1-beta.7 - 2025-11-04
-
1.11.1-beta.6 - 2025-11-04
-
1.11.1-beta.5 - 2025-10-30
-
1.11.1-beta.4 - 2025-10-29
-
1.11.1-beta.3 - 2025-10-28
-
1.11.1-beta.2 - 2025-10-22
-
1.11.1-beta.1 - 2025-10-21
-
1.11.1-beta.0 - 2025-10-20
-
1.11.0 - 2025-10-03
-
1.10.1-beta.8 - 2025-10-02
-
1.10.1-beta.7 - 2025-10-02
-
1.10.1-beta.6 - 2025-10-01
-
1.10.1-beta.5 - 2025-10-01
-
1.10.1-beta.4 - 2025-09-30
-
1.10.1-beta.3 - 2025-09-30
-
1.10.1-beta.2 - 2025-09-30
-
1.10.1-beta.0 - 2025-09-29
-
1.10.0 - 2025-09-29
-
1.10.0-beta.4 - 2025-09-26
-
1.10.0-beta.3 - 2025-09-25
-
1.10.0-beta.2 - 2025-09-25
-
1.10.0-beta.1 - 2025-09-25
-
1.10.0-beta.0 - 2025-09-23
-
1.9.0 - 2025-09-15
from @devrev/ts-adaas GitHub release notesWhat's Changed
workerPathby @ radovanjorgic in #119Full Changelog: v1.13.1...v1.13.2
Migration guide from the previous versions (pre-1.13.0)
The manual
getWorkerPathfunction with switch-case logic has been replaced with automatic path resolution in thespawnfunction. Worker paths are now resolved implicitly based on event types using abaseWorkerPathparameter.Code Comparison
Before (Manual Path Resolution)
function getWorkerPath({
event,
workerBasePath,
}: GetWorkerPathInterface): string | null {
let path = null;
switch (event.payload.event_type) {
case EventType.StartExtractingExternalSyncUnits:
path = '/workers/external-sync-units-extraction';
break;
case EventType.StartExtractingMetadata:
path = '/workers/metadata-extraction';
break;
case EventType.StartExtractingData:
case EventType.ContinueExtractingData:
path = '/workers/data-extraction';
break;
case EventType.StartExtractingAttachments:
case EventType.ContinueExtractingAttachments:
path = '/workers/attachments-extraction';
break;
case EventType.StartLoadingData:
case EventType.ContinueLoadingData:
path = '/workers/load-data';
break;
case EventType.StartLoadingAttachments:
case EventType.ContinueLoadingAttachments:
path = '/workers/load-attachments';
break;
}
return path ? workerBasePath + path : null;
}
// Usage in your function
const run = async (events: AirdropEvent[]) => {
for (const event of events) {
const workerPath = getWorkerPath({ event, workerBasePath: __dirname });
await spawn({
event,
workerPath,
initialState: initialExtractorState,
initialDomainMapping,
});
}
};
After (Automatic Path Resolution)
// Usage in your function
const run = async (events: AirdropEvent[]) => {
for (const event of events) {
await spawn({
event,
initialState: initialExtractorState,
initialDomainMapping,
baseWorkerPath: __dirname, // Paths resolved automatically
});
}
};
Event Type to Worker Path Mapping
The following table shows how event types are automatically mapped to worker file paths:
EventType.StartExtractingExternalSyncUnits{baseWorkerPath}/workers/external-sync-units-extractionexternal-sync-units-extraction.tsEventType.StartExtractingMetadata{baseWorkerPath}/workers/metadata-extractionmetadata-extraction.tsEventType.StartExtractingData{baseWorkerPath}/workers/data-extractiondata-extraction.tsEventType.ContinueExtractingData{baseWorkerPath}/workers/data-extractiondata-extraction.tsEventType.StartExtractingAttachments{baseWorkerPath}/workers/attachments-extractionattachments-extraction.tsEventType.ContinueExtractingAttachments{baseWorkerPath}/workers/attachments-extractionattachments-extraction.tsEventType.StartLoadingData{baseWorkerPath}/workers/load-dataload-data.tsEventType.ContinueLoadingData{baseWorkerPath}/workers/load-dataload-data.tsEventType.StartLoadingAttachments{baseWorkerPath}/workers/load-attachmentsload-attachments.tsEventType.ContinueLoadingAttachments{baseWorkerPath}/workers/load-attachmentsload-attachments.tsNote:
{baseWorkerPath}is typically set to__dirnamein your function's entry point (e.g.,functions/extraction/index.ts).chore: release v1.13.2-beta.5
chore: release v1.13.2-beta.4
chore: release v1.13.2-beta.3
chore: release v1.13.2-beta.2
chore: release v1.13.2-beta.1
chore: release v1.13.2-beta.0
chore: release v1.13.1-beta.3
chore: release v1.13.1-beta.2
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: