Socket
Socket
Sign inDemoInstall

@wix/be-server

Package Overview
Dependencies
101
Maintainers
6
Versions
117
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.111 to 1.0.112

2

index.d.ts

@@ -1,3 +0,1 @@

import { start } from "repl";
export function builder(): ServerBuilder;

@@ -4,0 +2,0 @@

12

lib/proto-modules-bindings.js

@@ -5,2 +5,3 @@ const {create} = require('@wix/proto-packages');

const {resolveHttpRoutes, httpBinding} = require('@wix/be-http-binding');
const path = require('path');

@@ -10,6 +11,13 @@ module.exports = function protoModulesBindings(contextOptions, serviceBindings) {

async bindings() {
const pathToHttpBindingProto = path.resolve(path.dirname(require.resolve('@wix/be-http-binding')), 'proto');
const extra = contextOptions.extraPackages;
const extraPackages = extra ? (Array.isArray(extra) ? extra : [extra]) : [];
extraPackages.push(pathToHttpBindingProto);
const protoContext = create({
contextDir: defaultContextDir,
...contextOptions
});
...contextOptions,
extraPackages
});
const loadedContext = await protoContext.loadedContext();

@@ -16,0 +24,0 @@

{
"name": "@wix/be-server",
"version": "1.0.111",
"version": "1.0.112",
"author": "Mantas Indrašius <mantasi@wix.com>",

@@ -21,8 +21,8 @@ "publishConfig": {

"protobufjs": "^6.8.8",
"typescript": "^3.5.1",
"typescript": "^3.6.4",
"wnpm-ci": "^6.2.55"
},
"dependencies": {
"@wix/be-http-binding": "^1.0.7",
"@wix/proto-packages": "^1.0.113",
"@wix/be-http-binding": "^1.0.123",
"@wix/proto-packages": "^1.0.133",
"find-root": "^1.1.0",

@@ -29,0 +29,0 @@ "url-pattern": "^1.0.3"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc