@activepieces/shared
Advanced tools
Comparing version 0.3.41 to 0.3.42
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.41", | ||
"version": "0.3.42", | ||
"type": "commonjs", | ||
@@ -9,3 +9,3 @@ "dependencies": { | ||
"nanoid": "3.3.4", | ||
"tslib": "2.4.1" | ||
"tslib": "2.5.3" | ||
}, | ||
@@ -12,0 +12,0 @@ "main": "./src/index.js", |
@@ -6,4 +6,4 @@ "use strict"; | ||
exports.GetPieceRequestParams = typebox_1.Type.Object({ | ||
name: typebox_1.Type.RegEx(/^[A-Za-z0-9_\\-]+$/), | ||
name: typebox_1.Type.String() | ||
}); | ||
//# sourceMappingURL=get-piece-request-params.js.map |
import { Static } from "@sinclair/typebox"; | ||
export declare const PieceOptionRequest: import("@sinclair/typebox").TObject<{ | ||
pieceVersion: import("@sinclair/typebox").TString<string>; | ||
pieceName: import("@sinclair/typebox").TString<string>; | ||
stepName: import("@sinclair/typebox").TString<string>; | ||
@@ -5,0 +6,0 @@ propertyName: import("@sinclair/typebox").TString<string>; |
@@ -8,2 +8,3 @@ "use strict"; | ||
pieceVersion: get_piece_request_query_1.SemVerType, | ||
pieceName: typebox_1.Type.String({}), | ||
stepName: typebox_1.Type.String({}), | ||
@@ -10,0 +11,0 @@ propertyName: typebox_1.Type.String({}), |
@@ -5,5 +5,4 @@ declare type PackageInfoParams = { | ||
}; | ||
export declare const getPackageNameForPiece: (params: PackageInfoParams) => string; | ||
export declare const getPackageAliasForPiece: (params: PackageInfoParams) => string; | ||
export declare const getPackageVersionForPiece: (params: PackageInfoParams) => string; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getPackageVersionForPiece = exports.getPackageAliasForPiece = exports.getPackageNameForPiece = void 0; | ||
const getPackageNameForPiece = (params) => { | ||
const { pieceName } = params; | ||
return `@activepieces/piece-${pieceName}`; | ||
}; | ||
exports.getPackageNameForPiece = getPackageNameForPiece; | ||
exports.getPackageVersionForPiece = exports.getPackageAliasForPiece = void 0; | ||
const getPackageAliasForPiece = (params) => { | ||
const { pieceName, pieceVersion } = params; | ||
return `@activepieces/piece-${pieceName}-${pieceVersion}`; | ||
return `${pieceName}-${pieceVersion}`; | ||
}; | ||
@@ -16,5 +11,5 @@ exports.getPackageAliasForPiece = getPackageAliasForPiece; | ||
const { pieceName, pieceVersion } = params; | ||
return `npm:@activepieces/piece-${pieceName}@${pieceVersion}`; | ||
return `npm:${pieceName}@${pieceVersion}`; | ||
}; | ||
exports.getPackageVersionForPiece = getPackageVersionForPiece; | ||
//# sourceMappingURL=utils.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
272777
3859
+ Addedtslib@2.5.3(transitive)
- Removedtslib@2.4.1(transitive)
Updatedtslib@2.5.3