@webiny/handler-db
Advanced tools
Comparing version 5.21.0 to 5.22.0-beta.0
@@ -1,4 +0,4 @@ | ||
import { ContextPlugin } from "@webiny/handler/plugins/ContextPlugin"; | ||
import { ContextPlugin } from "@webiny/handler"; | ||
import { DbContext } from "./types"; | ||
declare const _default: (args: any) => ContextPlugin<DbContext>[]; | ||
export default _default; |
@@ -10,6 +10,6 @@ "use strict"; | ||
var _ContextPlugin = require("@webiny/handler/plugins/ContextPlugin"); | ||
var _handler = require("@webiny/handler"); | ||
var _default = args => { | ||
return [new _ContextPlugin.ContextPlugin(context => { | ||
return [new _handler.ContextPlugin(context => { | ||
if (context.db) { | ||
@@ -16,0 +16,0 @@ return; |
{ | ||
"name": "@webiny/handler-db", | ||
"version": "5.21.0", | ||
"version": "5.22.0-beta.0", | ||
"main": "index.js", | ||
@@ -13,12 +13,12 @@ "license": "MIT", | ||
"dependencies": { | ||
"@babel/runtime": "7.16.3", | ||
"@webiny/db": "5.21.0", | ||
"@webiny/handler": "5.21.0" | ||
"@babel/runtime": "7.16.7", | ||
"@webiny/db": "5.22.0-beta.0", | ||
"@webiny/handler": "5.22.0-beta.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.5.5", | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@webiny/cli": "^5.21.0", | ||
"@webiny/project-utils": "^5.21.0", | ||
"@babel/cli": "^7.16.0", | ||
"@babel/core": "^7.16.0", | ||
"@babel/preset-env": "^7.16.4", | ||
"@webiny/cli": "^5.22.0-beta.0", | ||
"@webiny/project-utils": "^5.22.0-beta.0", | ||
"rimraf": "^3.0.2", | ||
@@ -35,3 +35,3 @@ "typescript": "^4.1.3" | ||
}, | ||
"gitHead": "c3d4955bf74e7ffdb9628867e3b23cdfe64ea8dc" | ||
"gitHead": "487330472a07000c4845340f3b3dfa6b3ae98944" | ||
} |
import { Db } from "@webiny/db"; | ||
export declare type DbContext = { | ||
import { Context } from "@webiny/handler/types"; | ||
export interface DbContext extends Context { | ||
db: Db; | ||
}; | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3245
27
2
+ Added@babel/runtime@7.16.7(transitive)
+ Added@webiny/db@5.22.0-beta.0(transitive)
+ Added@webiny/handler@5.22.0-beta.0(transitive)
+ Added@webiny/plugins@5.22.0-beta.0(transitive)
- Removed@babel/runtime@7.16.3(transitive)
- Removed@webiny/db@5.21.0(transitive)
- Removed@webiny/handler@5.21.0(transitive)
- Removed@webiny/plugins@5.21.0(transitive)
Updated@babel/runtime@7.16.7
Updated@webiny/db@5.22.0-beta.0