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

@webiny/handler

Package Overview
Dependencies
Maintainers
1
Versions
512
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webiny/handler - npm Package Compare versions

Comparing version 5.0.0-beta.4 to 5.0.0-beta.5

5

createHandler.js

@@ -17,3 +17,6 @@ "use strict";

plugins: new _plugins.PluginsContainer(plugins),
args
args,
// @ts-ignore
// this is injected using webpack.DefinePlugin at build time
WEBINY_VERSION: process.env.WEBINY_VERSION
};

@@ -20,0 +23,0 @@

16

package.json
{
"name": "@webiny/handler",
"version": "5.0.0-beta.4",
"version": "5.0.0-beta.5",
"main": "index.js",

@@ -17,4 +17,4 @@ "license": "MIT",

"dependencies": {
"@babel/runtime": "7.12.5",
"@webiny/plugins": "^5.0.0-beta.4"
"@babel/runtime": "7.13.9",
"@webiny/plugins": "5.0.0-beta.5"
},

@@ -24,3 +24,5 @@ "devDependencies": {

"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5"
"@babel/preset-env": "^7.5.5",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
},

@@ -32,7 +34,7 @@ "publishConfig": {

"scripts": {
"build": "rimraf ./dist *.tsbuildinfo && babel src -d dist --source-maps --copy-files --extensions \".ts\"",
"watch": "babel src -d dist --source-maps --copy-files --extensions \".ts\" --watch",
"build": "rimraf ./dist '*.tsbuildinfo' && babel src -d dist --source-maps --copy-files --extensions \".ts,.tsx\" && yarn postbuild",
"watch": "babel src -d dist --source-maps --copy-files --extensions \".ts,.tsx\" --watch",
"postbuild": "cp package.json LICENSE README.md dist/ && tsc -p tsconfig.build.json"
},
"gitHead": "793169ce35d4848531ed897e91d26be631b78ee6"
"gitHead": "eff726459e34a3033d158949eae44a1b36d6bb7c"
}

@@ -6,2 +6,3 @@ import { Plugin, PluginsContainer } from "@webiny/plugins/types";

args: HandlerArgs;
readonly WEBINY_VERSION: string;
}

@@ -11,3 +12,8 @@ export declare type Context<C0 = Record<string, any>, C1 = Record<string, any>, C2 = Record<string, any>, C3 = Record<string, any>, C4 = Record<string, any>, C5 = Record<string, any>, C6 = Record<string, any>, C7 = Record<string, any>, C8 = Record<string, any>, C9 = Record<string, any>> = {

args: HandlerArgs;
readonly WEBINY_VERSION: string;
} & C0 & C1 & C2 & C3 & C4 & C5 & C6 & C7 & C8 & C9;
export interface ContextPluginInterface<T extends ContextInterface = ContextInterface> extends Plugin {
type: "context";
apply: (context: T) => Promise<void>;
}
export declare type ContextPlugin<C0 = Context, C1 = Context, C2 = Context, C3 = Context, C4 = Context, C5 = Context, C6 = Context, C7 = Context, C8 = Context, C9 = Context> = Plugin & {

@@ -14,0 +20,0 @@ type: "context";

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