@wrongstack/techstack 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/discovery/index.d.ts +1 -1
- package/dist/discovery/workspace.d.ts +1 -1
- package/dist/index.d.ts +35 -35
- package/dist/index.js +3845 -3871
- package/dist/policy/rulebook.d.ts +2 -0
- package/dist/registry/http-fetch.d.ts +1 -0
- package/dist/research/index.d.ts +3 -3
- package/dist/service.d.ts +1 -1
- package/dist/store/sqlite.d.ts +1 -0
- package/package.json +4 -4
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @see docs/specs/techstack-sdd.md §3.2, §4.1
|
|
10
10
|
*/
|
|
11
|
-
import type {
|
|
11
|
+
import type { Coverage, EcosystemId } from '../types.js';
|
|
12
12
|
/**
|
|
13
13
|
* Raw workspace shape returned by detectLanguageWorkspaces().
|
|
14
14
|
* This mirrors the existing interface in packages/tools/src/languages/detect.ts
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
*
|
|
19
19
|
* @see docs/specs/techstack-sdd.md §3.2, §6
|
|
20
20
|
*/
|
|
21
|
-
import type {
|
|
21
|
+
import type { DetectedWorkspace, DetectLanguageOptions } from '@wrongstack/tools/languages';
|
|
22
22
|
import type { Coverage, EcosystemId, Workspace } from '../types.js';
|
|
23
23
|
/**
|
|
24
24
|
* Map a single `DetectedWorkspace` to a TechStack `Workspace`.
|
package/dist/index.d.ts
CHANGED
|
@@ -9,47 +9,47 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @see docs/specs/techstack-sdd.md
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
13
|
-
export type { AdvisoryEvidence, EcosystemAdapter, AuditOptions, InventoryOptions, RegistryEvidence, } from './adapters/interface.js';
|
|
14
|
-
export { buildPurl, constructPurl, ecosystemForPurlType, parsePurl, parsePurlEcosystem, purlTypeForEcosystem, type ParsedEcosystemPurl, type PurlParts, } from './registry/purl.js';
|
|
15
|
-
export { coverageForEcosystem, discoverWorkspaces, mapDetectedWorkspace, } from './discovery/workspace.js';
|
|
16
|
-
export { NpmAdapter, npmAdapter } from './adapters/npm.js';
|
|
17
|
-
export { PythonAdapter, pythonAdapter } from './adapters/python.js';
|
|
18
|
-
export { RustAdapter, rustAdapter } from './adapters/rust.js';
|
|
19
|
-
export { GoAdapter, goAdapter } from './adapters/go.js';
|
|
20
|
-
export { DotNetAdapter, dotNetAdapter } from './adapters/dotnet.js';
|
|
21
|
-
export { PhpAdapter, phpAdapter } from './adapters/php.js';
|
|
12
|
+
export { CppAdapter, cppAdapter } from './adapters/cpp.js';
|
|
22
13
|
export { DartAdapter, dartAdapter } from './adapters/dart.js';
|
|
23
|
-
export {
|
|
14
|
+
export { DotNetAdapter, dotNetAdapter } from './adapters/dotnet.js';
|
|
15
|
+
export { ElixirAdapter, elixirAdapter } from './adapters/elixir.js';
|
|
16
|
+
export { GoAdapter, goAdapter } from './adapters/go.js';
|
|
24
17
|
export { GradleAdapter, gradleAdapter } from './adapters/gradle.js';
|
|
18
|
+
export type { AdvisoryEvidence, AuditOptions, EcosystemAdapter, InventoryOptions, RegistryEvidence, } from './adapters/interface.js';
|
|
19
|
+
export { MavenAdapter, mavenAdapter } from './adapters/maven.js';
|
|
20
|
+
export { NpmAdapter, npmAdapter } from './adapters/npm.js';
|
|
21
|
+
export { PhpAdapter, phpAdapter } from './adapters/php.js';
|
|
22
|
+
export { PythonAdapter, pythonAdapter } from './adapters/python.js';
|
|
25
23
|
export { RubyAdapter, rubyAdapter } from './adapters/ruby.js';
|
|
24
|
+
export { RustAdapter, rustAdapter } from './adapters/rust.js';
|
|
26
25
|
export { SwiftAdapter, swiftAdapter } from './adapters/swift.js';
|
|
27
|
-
export { ElixirAdapter, elixirAdapter } from './adapters/elixir.js';
|
|
28
|
-
export { CppAdapter, cppAdapter } from './adapters/cpp.js';
|
|
29
|
-
export { diffSnapshots } from './snapshot-diff.js';
|
|
30
|
-
export type { SnapshotDiff } from './snapshot-diff.js';
|
|
31
|
-
export { renderTrendMarkdown, TrendStore } from './trend.js';
|
|
32
|
-
export type { DependencyTrend, SnapshotSource, TrendReport } from './trend.js';
|
|
33
|
-
export { toSpdx, toCycloneDX } from './sbom.js';
|
|
34
|
-
export type { CycloneDXBom, SpdxDocument } from './sbom.js';
|
|
35
|
-
export { applyPlan, generateUpgradePlan, renderPlanMarkdown, toLanguagePackageInput, } from './remediation.js';
|
|
36
|
-
export type { ApplyPlanOptions, ApplyPlanResult, PackageOperation, PackageOperationExecutor, UpgradePlan, UpgradePlanItem, } from './remediation.js';
|
|
37
|
-
export { clearRegistryCache, invalidateRegistryCache, lookupRegistry, lookupRegistryBatch, RegistryAuthError, RegistryNetworkError, RegistryNotFoundError, RegistryRateLimitError, supportedRegistryEcosystems, } from './registry/client.js';
|
|
38
|
-
export type { RegistryEntry, RegistryLookupOptions } from './registry/client.js';
|
|
39
|
-
export { queryOsvBatch, queryOsvSingle } from './advisory/osv.js';
|
|
40
|
-
export type { OsvAdvisory, OsvBatchResult } from './advisory/osv.js';
|
|
41
|
-
export { createAuditRunner, isNativeAuditAvailable, runNativeAudit, runNpmAudit, } from './advisory/native-audit.js';
|
|
42
26
|
export type { AuditCommandResult, AuditCommandRunner, ConfiguredAuditRunner, NativeAdvisory, NativeAuditResult, } from './advisory/native-audit.js';
|
|
43
|
-
export {
|
|
44
|
-
export type {
|
|
45
|
-
export {
|
|
27
|
+
export { createAuditRunner, isNativeAuditAvailable, runNativeAudit, runNpmAudit, } from './advisory/native-audit.js';
|
|
28
|
+
export type { OsvAdvisory, OsvBatchResult } from './advisory/osv.js';
|
|
29
|
+
export { queryOsvBatch, queryOsvSingle } from './advisory/osv.js';
|
|
30
|
+
export type { DeliveryCoordinatorOptions, DeliveryResult } from './delivery/coordinator.js';
|
|
31
|
+
export { attemptDelivery, drainPendingDeliveries } from './delivery/coordinator.js';
|
|
32
|
+
export { coverageForEcosystem, discoverWorkspaces, mapDetectedWorkspace, } from './discovery/workspace.js';
|
|
33
|
+
export { assessLicense, createLicenseFinding, type LicenseCategory, type LicenseRiskAssessment, normalizeLicenseId, } from './policy/license.js';
|
|
46
34
|
export { detectWorkspaceMisalignments, type VersionMisalignment, } from './policy/misalignment.js';
|
|
47
|
-
export {
|
|
48
|
-
export
|
|
49
|
-
export {
|
|
35
|
+
export type { AdvisoryStatusData, RegistryStatusData } from './policy/status.js';
|
|
36
|
+
export { classifyStatus, compareVersions, failedLookupStatus, privateOrUnresolvedStatus, } from './policy/status.js';
|
|
37
|
+
export type { RegistryEntry, RegistryLookupOptions } from './registry/client.js';
|
|
38
|
+
export { clearRegistryCache, invalidateRegistryCache, lookupRegistry, lookupRegistryBatch, RegistryAuthError, RegistryNetworkError, RegistryNotFoundError, RegistryRateLimitError, supportedRegistryEcosystems, } from './registry/client.js';
|
|
39
|
+
export { buildPurl, constructPurl, ecosystemForPurlType, type ParsedEcosystemPurl, type PurlParts, parsePurl, parsePurlEcosystem, purlTypeForEcosystem, } from './registry/purl.js';
|
|
40
|
+
export type { ApplyPlanOptions, ApplyPlanResult, PackageOperation, PackageOperationExecutor, UpgradePlan, UpgradePlanItem, } from './remediation.js';
|
|
41
|
+
export { applyPlan, generateUpgradePlan, renderPlanMarkdown, toLanguagePackageInput, } from './remediation.js';
|
|
50
42
|
export type { CreateResearcherOptions, LlmAccessor, ResearchCluster, ResearchLlm, ResearchLlmRequest, ResearchOptions, ResearchSearch, ResearchSearchResult, SearchToolOptions, TechStackResearcher, TriageCandidate, TriageOptions, } from './research/index.js';
|
|
51
|
-
export {
|
|
43
|
+
export { clusterCandidates, createProviderLlm, createResearcher, createToolSearch, DEFAULT_TRIAGE_LIMIT, parseResearchJson, triageCandidates, } from './research/index.js';
|
|
44
|
+
export type { CycloneDXBom, SpdxDocument } from './sbom.js';
|
|
45
|
+
export { toCycloneDX, toSpdx } from './sbom.js';
|
|
46
|
+
export type { AnalyzeOptions, EnrichOptions, ReportFormat } from './service.js';
|
|
47
|
+
export { TechStackEngine } from './service.js';
|
|
48
|
+
export type { SnapshotDiff } from './snapshot-diff.js';
|
|
49
|
+
export { diffSnapshots } from './snapshot-diff.js';
|
|
52
50
|
export { applySchema, DDL } from './store/schema.js';
|
|
53
|
-
export {
|
|
54
|
-
export type {
|
|
51
|
+
export { TechStackStore } from './store/sqlite.js';
|
|
52
|
+
export type { DependencyTrend, SnapshotSource, TrendReport } from './trend.js';
|
|
53
|
+
export { renderTrendMarkdown, TrendStore } from './trend.js';
|
|
54
|
+
export type { Coverage, DeliveryOutbox, DeliveryStatus, DependencyObservation, DependencyScope, DependencyStatus, EcosystemId, Evidence, Finding, Snapshot, SourceType, TechStackJob, TechStackJobKind, TechStackJobProgress, TechStackJobStatus, Workspace, } from './types.js';
|
|
55
55
|
//# sourceMappingURL=index.d.ts.map
|