@prismatic-io/spectral 10.18.5 → 10.18.6
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/clients/http/index.d.ts +1 -1
- package/dist/clients/http/index.js +17 -7
- package/dist/conditionalLogic/index.d.ts +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/generators/cniComponentManifest/index.d.ts +1 -1
- package/dist/generators/cniComponentManifest/index.js +17 -7
- package/dist/generators/cniComponentManifest/types.d.ts +3 -3
- package/dist/generators/componentManifest/createActions.d.ts +1 -1
- package/dist/generators/componentManifest/createConnections.d.ts +1 -1
- package/dist/generators/componentManifest/createDataSources.d.ts +1 -1
- package/dist/generators/componentManifest/createStaticFiles.d.ts +1 -1
- package/dist/generators/componentManifest/createTriggers.d.ts +1 -1
- package/dist/generators/componentManifest/docBlock.d.ts +1 -1
- package/dist/generators/componentManifest/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/serverTypes/asyncContext.d.ts +1 -1
- package/dist/serverTypes/context.d.ts +2 -2
- package/dist/serverTypes/convertComponent.d.ts +3 -3
- package/dist/serverTypes/convertIntegration.d.ts +3 -3
- package/dist/serverTypes/index.d.ts +1 -1
- package/dist/serverTypes/perform.d.ts +1 -1
- package/dist/types/TriggerResult.d.ts +2 -2
- package/dist/types/typeExportComponent.js +17 -7
- package/dist/util.d.ts +1 -1
- package/package.json +13 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
|
|
2
|
-
import { IAxiosRetryConfig } from "axios-retry";
|
|
2
|
+
import { type IAxiosRetryConfig } from "axios-retry";
|
|
3
3
|
import type { ActionInputParameters } from "../../types/ActionInputParameters";
|
|
4
4
|
import { inputs } from "./inputs";
|
|
5
5
|
export type HttpClient = AxiosInstance;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
36
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
37
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConditionalExpression } from "./types";
|
|
1
|
+
import { type ConditionalExpression } from "./types";
|
|
2
2
|
export type ValidationResult = [boolean] | [boolean, string];
|
|
3
3
|
export declare const validate: (expression: ConditionalExpression) => ValidationResult;
|
|
4
4
|
/** Convert stringified objects/values back to their native value, all other
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
2
|
-
import { FormattedAction, FormattedDataSource, FormattedTrigger } from "./types";
|
|
2
|
+
import type { FormattedAction, FormattedDataSource, FormattedTrigger } from "./types";
|
|
3
3
|
export declare const fetchComponentDataForManifest: <TInputs extends Inputs, TActionInputs extends Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TAllowsBranching extends boolean = boolean, TResult extends TriggerResult<TAllowsBranching, TPayload> = TriggerResult<TAllowsBranching, TPayload>>({ componentKey, isPrivate, }: {
|
|
4
4
|
componentKey: string;
|
|
5
5
|
isPrivate: boolean;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
36
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
37
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Action, Component, DataSource, Trigger, TriggerPayload } from "../../serverTypes";
|
|
2
|
-
import { ConfigVarResultCollection, Inputs } from "../../types";
|
|
3
|
-
import { TriggerResult } from "../../types/TriggerResult";
|
|
1
|
+
import type { Action, Component, DataSource, Trigger, TriggerPayload } from "../../serverTypes";
|
|
2
|
+
import type { ConfigVarResultCollection, Inputs } from "../../types";
|
|
3
|
+
import type { TriggerResult } from "../../types/TriggerResult";
|
|
4
4
|
export interface ComponentNode {
|
|
5
5
|
id: string;
|
|
6
6
|
label: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
1
|
+
import type { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
2
2
|
import type { ComponentForManifest } from "../cniComponentManifest/types";
|
|
3
3
|
interface CreateActionsProps<TInputs extends Inputs, TActionInputs extends Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TAllowsBranching extends boolean = boolean, TResult extends TriggerResult<TAllowsBranching, TPayload> = TriggerResult<TAllowsBranching, TPayload>> {
|
|
4
4
|
component: ComponentForManifest<TInputs, TActionInputs, TConfigVars, TPayload, TAllowsBranching, TResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
1
|
+
import type { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
2
2
|
import type { ComponentForManifest } from "../cniComponentManifest/types";
|
|
3
3
|
interface CreateConnectionsProps<TInputs extends Inputs, TActionInputs extends Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TAllowsBranching extends boolean = boolean, TResult extends TriggerResult<TAllowsBranching, TPayload> = TriggerResult<TAllowsBranching, TPayload>> {
|
|
4
4
|
component: ComponentForManifest<TInputs, TActionInputs, TConfigVars, TPayload, TAllowsBranching, TResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
1
|
+
import type { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
2
2
|
import type { ComponentForManifest } from "../cniComponentManifest/types";
|
|
3
3
|
interface CreateDataSourcesProps<TInputs extends Inputs, TActionInputs extends Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TAllowsBranching extends boolean = boolean, TResult extends TriggerResult<TAllowsBranching, TPayload> = TriggerResult<TAllowsBranching, TPayload>> {
|
|
4
4
|
component: ComponentForManifest<TInputs, TActionInputs, TConfigVars, TPayload, TAllowsBranching, TResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component } from "../../serverTypes";
|
|
2
|
-
import { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
2
|
+
import type { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
3
3
|
export interface PackageDependencies {
|
|
4
4
|
spectral: string;
|
|
5
5
|
dependencies: Record<string, string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
1
|
+
import type { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
2
2
|
import type { ComponentForManifest } from "../cniComponentManifest/types";
|
|
3
3
|
interface CreateTriggersProps<TInputs extends Inputs, TActionInputs extends Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TAllowsBranching extends boolean = boolean, TResult extends TriggerResult<TAllowsBranching, TPayload> = TriggerResult<TAllowsBranching, TPayload>> {
|
|
4
4
|
component: ComponentForManifest<TInputs, TActionInputs, TConfigVars, TPayload, TAllowsBranching, TResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Component } from "../../serverTypes";
|
|
2
|
-
import { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
2
|
+
import type { ConfigVarResultCollection, Inputs, TriggerPayload, TriggerResult } from "../../types";
|
|
3
3
|
import { type PackageDependencies } from "./createStaticFiles";
|
|
4
4
|
interface CreateComponentManifestProps<TInputs extends Inputs, TActionInputs extends Inputs, TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TPayload extends TriggerPayload = TriggerPayload, TAllowsBranching extends boolean = boolean, TResult extends TriggerResult<TAllowsBranching, TPayload> = TriggerResult<TAllowsBranching, TPayload>> {
|
|
5
5
|
component: Component<TInputs, TActionInputs, TConfigVars, TPayload, TAllowsBranching, TResult>;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { convertComponent } from "./serverTypes/convertComponent";
|
|
7
7
|
import { convertIntegration } from "./serverTypes/convertIntegration";
|
|
8
|
-
import { ActionDefinition, ActionPerformReturn, ComponentDefinition, ComponentManifest, ConfigPage, ConfigVarResultCollection, ConnectionConfigVar, CustomerActivatedConnectionConfigVar, DataSourceConfigVar, DataSourceDefinition, DataSourceType, DefaultConnectionDefinition, Flow, InputFieldDefinition, Inputs, IntegrationDefinition, OAuth2ConnectionDefinition, OnPremConnectionDefinition, OrganizationActivatedConnectionConfigVar, StandardConfigVar, TriggerDefinition, TriggerPayload, TriggerResult } from "./types";
|
|
8
|
+
import type { ActionDefinition, ActionPerformReturn, ComponentDefinition, ComponentManifest, ConfigPage, ConfigVarResultCollection, ConnectionConfigVar, CustomerActivatedConnectionConfigVar, DataSourceConfigVar, DataSourceDefinition, DataSourceType, DefaultConnectionDefinition, Flow, InputFieldDefinition, Inputs, IntegrationDefinition, OAuth2ConnectionDefinition, OnPremConnectionDefinition, OrganizationActivatedConnectionConfigVar, StandardConfigVar, TriggerDefinition, TriggerPayload, TriggerResult } from "./types";
|
|
9
9
|
import type { PollingTriggerDefinition } from "./types/PollingTriggerDefinition";
|
|
10
10
|
/**
|
|
11
11
|
* This function creates a code-native integration object that can be
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentRegistry, Inputs, IntegrationDefinition, TriggerPayload, TriggerResult } from "../types";
|
|
1
|
+
import type { ComponentRegistry, Inputs, IntegrationDefinition, TriggerPayload, TriggerResult } from "../types";
|
|
2
2
|
import type { ActionContext } from "../types/ActionPerformFunction";
|
|
3
3
|
export declare function runWithContext<T>(context: ActionContext, fn: () => T | Promise<T>): T | Promise<T>;
|
|
4
4
|
export declare function requireContext(): ActionContext;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ActionContext, ComponentManifest, ComponentRegistry, ConfigVarResultCollection, DebugContext, FlowInvoker } from "../types";
|
|
2
|
-
import { ActionContext as ServerActionContext } from ".";
|
|
1
|
+
import type { ActionContext, ComponentManifest, ComponentRegistry, ConfigVarResultCollection, DebugContext, FlowInvoker } from "../types";
|
|
2
|
+
import type { ActionContext as ServerActionContext } from ".";
|
|
3
3
|
export declare function createCNIContext<TConfigVars extends ConfigVarResultCollection = ConfigVarResultCollection, TComponentActions extends Record<string, ComponentManifest["actions"]> = Record<string, ComponentManifest["actions"]>, TFlows extends string[] = string[]>(context: ActionContext<TConfigVars, TComponentActions, TFlows>, componentRegistry: ComponentRegistry): ActionContext<TConfigVars, TComponentActions, TFlows>;
|
|
4
4
|
export declare function createDebugContext(context: ServerActionContext): DebugContext;
|
|
5
5
|
export declare function logDebugResults(context: ActionContext): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentDefinition, ComponentHooks, ConfigVarResultCollection, ConnectionDefinition, ConnectionInput, ConnectionTemplateInputField, InputFieldDefinition, Inputs, OnPremConnectionInput, TriggerDefinition, TriggerPayload, TriggerResult } from "../types";
|
|
2
|
-
import { PollingTriggerDefinition } from "../types/PollingTriggerDefinition";
|
|
3
|
-
import { Component as ServerComponent, Connection as ServerConnection, Input as ServerInput, Trigger as ServerTrigger } from ".";
|
|
1
|
+
import { type ComponentDefinition, type ComponentHooks, type ConfigVarResultCollection, type ConnectionDefinition, type ConnectionInput, type ConnectionTemplateInputField, type InputFieldDefinition, type Inputs, type OnPremConnectionInput, type TriggerDefinition, type TriggerPayload, type TriggerResult } from "../types";
|
|
2
|
+
import { type PollingTriggerDefinition } from "../types/PollingTriggerDefinition";
|
|
3
|
+
import type { Component as ServerComponent, Connection as ServerConnection, Input as ServerInput, Trigger as ServerTrigger } from ".";
|
|
4
4
|
export declare const convertInput: (key: string, { default: defaultValue, type, label, collection, ...rest }: InputFieldDefinition | OnPremConnectionInput | ConnectionInput) => ServerInput;
|
|
5
5
|
export declare const _isValidTemplateValue: (template: string, inputs: {
|
|
6
6
|
[key: string]: ConnectionInput | ConnectionTemplateInputField;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CollectionType, ComponentRegistry, ConfigPages, ConfigVar, ConfigVarResultCollection, Flow, Inputs, IntegrationDefinition, QueueConfig, StandardQueueConfig, TriggerResult as TriggerPerformResult, TriggerReference } from "../types";
|
|
2
|
-
import { ActionContext, Component as ServerComponent, TriggerPayload, TriggerResult } from ".";
|
|
3
|
-
import { ComponentReference as ServerComponentReference, ConfigPage as ServerConfigPage, RequiredConfigVariable as ServerRequiredConfigVariable } from "./integration";
|
|
1
|
+
import { type CollectionType, type ComponentRegistry, type ConfigPages, type ConfigVar, type ConfigVarResultCollection, type Flow, type Inputs, type IntegrationDefinition, type QueueConfig, type StandardQueueConfig, type TriggerResult as TriggerPerformResult, type TriggerReference } from "../types";
|
|
2
|
+
import type { ActionContext, Component as ServerComponent, TriggerPayload, TriggerResult } from ".";
|
|
3
|
+
import { type ComponentReference as ServerComponentReference, type ConfigPage as ServerConfigPage, type RequiredConfigVariable as ServerRequiredConfigVariable } from "./integration";
|
|
4
4
|
export declare const CONCURRENCY_LIMIT_MAX = 15;
|
|
5
5
|
export declare const CONCURRENCY_LIMIT_MIN = 2;
|
|
6
6
|
export declare const convertIntegration: <TInputs extends Inputs, TActionInputs extends Inputs, TPayload extends TriggerPayload = TriggerPayload, TAllowsBranching extends boolean = boolean, TResult extends TriggerPerformResult<TAllowsBranching, TPayload> = TriggerPerformResult<TAllowsBranching, TPayload>>(definition: IntegrationDefinition<TInputs, TActionInputs, TPayload, TAllowsBranching, TResult>) => ServerComponent<TInputs, TActionInputs, ConfigVarResultCollection, TPayload, TAllowsBranching, TResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentManifest, ConfigVarResultCollection, CustomerAttributes, DataSourceResultType, DataSourceType, DebugContext, ExecutionFrame, FlowAttributes, FlowInvoker, FlowSchemas, Inputs, InstanceAttributes, IntegrationAttributes, PollingTriggerPerformFunction, TriggerEventFunctionReturn, TriggerPerformFunction, TriggerResult as TriggerPerformResult, UserAttributes } from "../types";
|
|
1
|
+
import type { ComponentManifest, ConfigVarResultCollection, CustomerAttributes, DataSourceResultType, DataSourceType, DebugContext, ExecutionFrame, FlowAttributes, FlowInvoker, FlowSchemas, Inputs, InstanceAttributes, IntegrationAttributes, PollingTriggerPerformFunction, TriggerEventFunctionReturn, TriggerPerformFunction, TriggerResult as TriggerPerformResult, UserAttributes } from "../types";
|
|
2
2
|
import type { CNIPollingPerformFunction, ComponentRefTriggerPerformFunction } from "./triggerTypes";
|
|
3
3
|
interface DisplayDefinition {
|
|
4
4
|
label: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ActionContext, ComponentRegistry, ConfigVarResultCollection, ErrorHandler, Inputs, PollingContext, PollingTriggerDefinition, PollingTriggerPerformFunction, TriggerPayload, TriggerPerformFunction, TriggerReference, TriggerResult } from "../types";
|
|
2
|
-
import { ComponentReference as ServerComponentReference } from "./integration";
|
|
2
|
+
import type { ComponentReference as ServerComponentReference } from "./integration";
|
|
3
3
|
import type { CNIPollingPerformFunction, ComponentRefTriggerPerformFunction } from "./triggerTypes";
|
|
4
4
|
export type PerformFn = (...args: any[]) => Promise<any>;
|
|
5
5
|
interface CreatePollingContext {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpResponse } from "./HttpResponse";
|
|
2
|
-
import { TriggerPayload } from "./TriggerPayload";
|
|
1
|
+
import type { HttpResponse } from "./HttpResponse";
|
|
2
|
+
import type { TriggerPayload } from "./TriggerPayload";
|
|
3
3
|
/** Represents the result of a Trigger action. */
|
|
4
4
|
export interface TriggerBaseResult<TPayload extends TriggerPayload> {
|
|
5
5
|
/** The payload in the request that invoked the Integration, which is returned as a result for later use. */
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
37
|
};
|
package/dist/util.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Many functions in the `util` module are used to coerce data into a particular type, and can be accessed through `util.types`.
|
|
4
4
|
* For example, `util.types.toInt("5.5")` will return an integer, `5`.
|
|
5
5
|
*/
|
|
6
|
-
import { ConnectionDefinition, DataPayload, Element, JSONForm, KeyValuePair, ObjectFieldMap, ObjectSelection } from "./types";
|
|
6
|
+
import type { ConnectionDefinition, DataPayload, Element, JSONForm, KeyValuePair, ObjectFieldMap, ObjectSelection } from "./types";
|
|
7
7
|
export declare const isObjectWithOneTruthyKey: (value: unknown, keys: string[]) => boolean;
|
|
8
8
|
export declare const isObjectWithTruthyKeys: (value: unknown, keys: string[]) => boolean;
|
|
9
9
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prismatic-io/spectral",
|
|
3
|
-
"version": "10.18.
|
|
3
|
+
"version": "10.18.6",
|
|
4
4
|
"description": "Utility library for building Prismatic connectors and code-native integrations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"prismatic"
|
|
@@ -42,34 +42,34 @@
|
|
|
42
42
|
"dist/"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"axios": "^1.
|
|
45
|
+
"axios": "^1.16.1",
|
|
46
46
|
"axios-retry": "^4.5.0",
|
|
47
47
|
"date-fns": "^4.1.0",
|
|
48
|
-
"ejs": "^
|
|
48
|
+
"ejs": "^5.0.2",
|
|
49
49
|
"form-data": "^4.0.5",
|
|
50
|
-
"fs-extra": "^11.
|
|
51
|
-
"jest-mock": "^30.
|
|
50
|
+
"fs-extra": "^11.3.5",
|
|
51
|
+
"jest-mock": "^30.4.1",
|
|
52
52
|
"lodash": "^4.18.1",
|
|
53
53
|
"object-sizeof": "^2.6.4",
|
|
54
54
|
"prettier": "^3.8.3",
|
|
55
55
|
"safe-stable-stringify": "^2.5.0",
|
|
56
56
|
"valid-url": "1.0.9",
|
|
57
|
-
"yaml": "^2.
|
|
57
|
+
"yaml": "^2.9.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@biomejs/biome": "^2.4.
|
|
61
|
-
"@fast-check/vitest": "^0.4.
|
|
60
|
+
"@biomejs/biome": "^2.4.15",
|
|
61
|
+
"@fast-check/vitest": "^0.4.1",
|
|
62
62
|
"@types/ejs": "3.1.5",
|
|
63
63
|
"@types/fs-extra": "11.0.4",
|
|
64
64
|
"@types/lodash": "^4.17.24",
|
|
65
|
-
"@types/node": "^
|
|
65
|
+
"@types/node": "^25.7.0",
|
|
66
66
|
"@types/prettier": "^3.0.0",
|
|
67
67
|
"@types/sax": "^1.2.7",
|
|
68
68
|
"@types/valid-url": "^1.0.7",
|
|
69
|
-
"@vitest/ui": "^4.1.
|
|
69
|
+
"@vitest/ui": "^4.1.6",
|
|
70
70
|
"copyfiles": "2.4.1",
|
|
71
|
-
"fast-check": "^4.
|
|
72
|
-
"typescript": "
|
|
73
|
-
"vitest": "^4.1.
|
|
71
|
+
"fast-check": "^4.8.0",
|
|
72
|
+
"typescript": "6.0.3",
|
|
73
|
+
"vitest": "^4.1.6"
|
|
74
74
|
}
|
|
75
75
|
}
|