New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/pieces-framework

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/pieces-framework - npm Package Compare versions

Comparing version 0.6.15 to 0.6.16

4

package.json
{
"name": "@activepieces/pieces-framework",
"version": "0.6.15",
"version": "0.6.16",
"type": "commonjs",

@@ -12,3 +12,3 @@ "dependencies": {

"semver": "7.5.4",
"@activepieces/shared": "0.7.4",
"@activepieces/shared": "0.8.1",
"tslib": "2.6.1"

@@ -15,0 +15,0 @@ },

@@ -15,2 +15,3 @@ import { ActionContext } from '../context';

run: ActionRunner<PieceAuth, ActionProps>;
test?: ActionRunner<PieceAuth, ActionProps>;
requireAuth?: boolean;

@@ -24,4 +25,5 @@ };

readonly run: ActionRunner<PieceAuth, ActionProps>;
readonly test: ActionRunner<PieceAuth, ActionProps>;
readonly requireAuth: boolean;
constructor(name: string, displayName: string, description: string, props: ActionProps, run: ActionRunner<PieceAuth, ActionProps>, requireAuth: boolean);
constructor(name: string, displayName: string, description: string, props: ActionProps, run: ActionRunner<PieceAuth, ActionProps>, test: ActionRunner<PieceAuth, ActionProps>, requireAuth: boolean);
}

@@ -28,0 +30,0 @@ export type Action<PieceAuth extends PieceAuthProperty = any, ActionProps extends NonAuthPiecePropertyMap = any> = IAction<PieceAuth, ActionProps>;

@@ -5,3 +5,3 @@ "use strict";

class IAction {
constructor(name, displayName, description, props, run, requireAuth) {
constructor(name, displayName, description, props, run, test, requireAuth) {
this.name = name;

@@ -12,2 +12,3 @@ this.displayName = displayName;

this.run = run;
this.test = test;
this.requireAuth = requireAuth;

@@ -18,6 +19,6 @@ }

const createAction = (params) => {
var _a;
return new IAction(params.name, params.displayName, params.description, params.props, params.run, (_a = params.requireAuth) !== null && _a !== void 0 ? _a : true);
var _a, _b;
return new IAction(params.name, params.displayName, params.description, params.props, params.run, (_a = params.test) !== null && _a !== void 0 ? _a : params.run, (_b = params.requireAuth) !== null && _b !== void 0 ? _b : true);
};
exports.createAction = createAction;
//# sourceMappingURL=action.js.map

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