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

@webiny/handler-db

Package Overview
Dependencies
Maintainers
1
Versions
465
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webiny/handler-db - npm Package Compare versions

Comparing version 5.21.0 to 5.22.0-beta.0

2

index.d.ts

@@ -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;
};
}
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