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

@webiny/handler-args

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webiny/handler-args - npm Package Compare versions

Comparing version 5.30.0 to 5.31.0-beta.0

7

index.d.ts
/**
* This is the default handling of function invocation arguments.
* You can access the "event" object via "context.invocationArgs" anywhere in your code.
* Dummy file
*/
import { ContextPlugin } from "@webiny/handler";
import { ArgsContext } from "./types";
declare const _default: () => ContextPlugin<ArgsContext>;
declare const _default: (_: any) => never[];
export default _default;

@@ -8,15 +8,10 @@ "use strict";

var _handler = require("@webiny/handler");
/**
* This is the default handling of function invocation arguments.
* You can access the "event" object via "context.invocationArgs" anywhere in your code.
* Dummy file
*/
var _default = () => {
return new _handler.ContextPlugin(async context => {
const [event] = context.args;
context.invocationArgs = event;
});
// eslint-disable-next-line
var _default = _ => {
return [];
};
exports.default = _default;
{
"name": "@webiny/handler-args",
"version": "5.30.0",
"version": "5.31.0-beta.0",
"main": "index.js",

@@ -17,4 +17,3 @@ "repository": {

"dependencies": {
"@babel/runtime": "7.18.6",
"@webiny/handler": "5.30.0"
"@babel/runtime": "7.18.9"
},

@@ -26,4 +25,4 @@ "devDependencies": {

"@babel/preset-typescript": "^7.16.0",
"@webiny/cli": "^5.30.0",
"@webiny/project-utils": "^5.30.0",
"@webiny/cli": "^5.31.0-beta.0",
"@webiny/project-utils": "^5.31.0-beta.0",
"rimraf": "^3.0.2",

@@ -40,3 +39,3 @@ "typescript": "4.7.4"

},
"gitHead": "3cadc5d26e565586b28772afbc18ae554ce7b782"
"gitHead": "dea7c56325ff140ef0e2d761f3e65708d46d401e"
}

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