@webiny/handler
Advanced tools
Comparing version 5.0.0-beta.4 to 5.0.0-beta.5
@@ -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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13771
130
5
1
+ Added@babel/runtime@7.13.9(transitive)
+ Added@webiny/plugins@5.0.0-beta.5(transitive)
+ Addeduniqid@5.3.0(transitive)
- Removed@babel/runtime@7.12.57.24.1(transitive)
- Removed@webiny/plugins@5.41.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removeduniqid@5.4.0(transitive)
Updated@babel/runtime@7.13.9
Updated@webiny/plugins@5.0.0-beta.5