Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/shared

Package Overview
Dependencies
Maintainers
3
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/shared - npm Package Compare versions

Comparing version 0.10.72 to 0.10.73

src/lib/interfaces/index.d.ts

6

package.json
{
"name": "@activepieces/shared",
"version": "0.10.72",
"version": "0.10.73",
"type": "commonjs",

@@ -8,6 +8,6 @@ "dependencies": {

"nanoid": "3.3.6",
"semver": "7.5.4",
"tslib": "1.14.1"
"semver": "7.6.0",
"tslib": "2.6.1"
},
"main": "./src/index.js"
}

@@ -53,4 +53,5 @@ export * from './lib/flows/actions/action';

export * from './lib/project/project';
export { FileResponseInterface } from './lib/interfaces';
export { RetryFlowRequestBody } from './lib/flow-run/test-flow-run-request';
export * from './lib/flows/dto/flow-template-request';
export * from './lib/support-url';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RetryFlowRequestBody = exports.secureApId = exports.ApId = exports.apId = exports.SeekPage = exports.ProjectType = exports.Project = exports.FlowRetryStrategy = exports.RunTerminationReason = exports.RunEnvironment = exports.Flow = exports.FlowVersionMetadata = exports.FlowVersionState = exports.FlowVersion = exports.AUTHENTICATION_PROPERTY_NAME = exports.TriggerType = exports.WebhookTrigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.TestFlowRunRequestBody = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.StepOutputStatus = void 0;
exports.RetryFlowRequestBody = exports.FileResponseInterface = exports.secureApId = exports.ApId = exports.apId = exports.SeekPage = exports.ProjectType = exports.Project = exports.FlowRetryStrategy = exports.RunTerminationReason = exports.RunEnvironment = exports.Flow = exports.FlowVersionMetadata = exports.FlowVersionState = exports.FlowVersion = exports.AUTHENTICATION_PROPERTY_NAME = exports.TriggerType = exports.WebhookTrigger = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.TestFlowRunRequestBody = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.StepOutputStatus = void 0;
const tslib_1 = require("tslib");

@@ -79,2 +79,4 @@ tslib_1.__exportStar(require("./lib/flows/actions/action"), exports);

tslib_1.__exportStar(require("./lib/project/project"), exports);
var interfaces_1 = require("./lib/interfaces");
Object.defineProperty(exports, "FileResponseInterface", { enumerable: true, get: function () { return interfaces_1.FileResponseInterface; } });
const system_1 = require("@sinclair/typebox/system");

@@ -81,0 +83,0 @@ var test_flow_run_request_2 = require("./lib/flow-run/test-flow-run-request");

@@ -6,2 +6,3 @@ import { PiecePackage } from './piece';

export declare const extractPieceFromModule: <T>(params: ExtractPieceFromModuleParams) => T;
export declare const getPieceMajorAndMinorVersion: (pieceVersion: string) => string;
type GetPackageAliasForPieceParams = {

@@ -8,0 +9,0 @@ pieceName: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractPieceFromModule = exports.getPackageArchivePathForPiece = exports.getPackageSpecForPiece = exports.getPackageAliasForPiece = void 0;
exports.getPieceMajorAndMinorVersion = exports.extractPieceFromModule = exports.getPackageArchivePathForPiece = exports.getPackageSpecForPiece = exports.getPackageAliasForPiece = void 0;
const tslib_1 = require("tslib");
const major_1 = tslib_1.__importDefault(require("semver/functions/major"));
const minor_1 = tslib_1.__importDefault(require("semver/functions/minor"));
const min_version_1 = tslib_1.__importDefault(require("semver/ranges/min-version"));
const activepieces_error_1 = require("../common/activepieces-error");

@@ -48,2 +52,9 @@ const piece_1 = require("./piece");

exports.extractPieceFromModule = extractPieceFromModule;
const getPieceMajorAndMinorVersion = (pieceVersion) => {
const minimumSemver = (0, min_version_1.default)(pieceVersion);
return minimumSemver
? `${(0, major_1.default)(minimumSemver)}.${(0, minor_1.default)(minimumSemver)}`
: `${(0, major_1.default)(pieceVersion)}.${(0, minor_1.default)(pieceVersion)}`;
};
exports.getPieceMajorAndMinorVersion = getPieceMajorAndMinorVersion;
//# sourceMappingURL=utils.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc