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

solr-proxy

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solr-proxy - npm Package Compare versions

Comparing version 9.1.0 to 10.0.0

4

index.d.ts
/// <reference types="node" resolution-mode="require"/>
import type { FastifyInstance } from 'fastify';
import { Server, IncomingMessage, ServerResponse } from 'node:http';
import { IncomingMessage, ServerResponse } from 'node:http';
declare const SolrProxy: {
start: (port?: any, userOptions?: any) => Promise<FastifyInstance<Server, IncomingMessage, ServerResponse, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>;
start: (port?: any, userOptions?: any) => Promise<FastifyInstance<import("fastify").RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>;
};
export default SolrProxy;
//# sourceMappingURL=index.d.ts.map

@@ -24,3 +24,3 @@ import { fastify } from 'fastify';

await deny(req, res);
return false;
return undefined;
}

@@ -45,5 +45,3 @@ if (queryParams.some(function (p) {

await deny(req, res);
return false;
}
return true;
};

@@ -66,5 +64,5 @@ const createServer = async function (options) {

upstream: options.upstream,
httpMethods: options.validHttpMethods,
preHandler: validateRequest.bind(null, options)
httpMethods: options.validHttpMethods
});
server.addHook('preHandler', validateRequest.bind(null, options));
return server;

@@ -71,0 +69,0 @@ };

@@ -10,3 +10,3 @@ {

],
"version": "9.1.0",
"version": "10.0.0",
"author": "Rich Trott <rtrott@gmail.com>",

@@ -35,3 +35,3 @@ "bugs": {

"dependencies": {
"@fastify/http-proxy": "^8.0.1",
"@fastify/http-proxy": "^9.0.0",
"fastify": "^4.0.0",

@@ -43,10 +43,10 @@ "minimist": "^1.2.0"

"@semantic-release/git": "^10.0.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.1",
"@types/mocha": "^10.0.0",
"@types/node": "^20.0.0",
"@types/ws": "^8.5.3",
"c8": "^7.11.0",
"c8": "^8.0.0",
"mocha": "^10.0.0",
"semantic-release": "^19.0.1",
"ts-standard": "^11.0.0",
"typescript": "^4.7.0-dev.20220417"
"semantic-release": "^21.0.0",
"ts-standard": "^12.0.0",
"typescript": "^5.0.2"
},

@@ -53,0 +53,0 @@ "ts-standard": {

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