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

@sitecore-jss/sitecore-jss-proxy

Package Overview
Dependencies
Maintainers
4
Versions
1399
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitecore-jss/sitecore-jss-proxy - npm Package Compare versions

Comparing version 11.0.0 to 11.0.1

6

dist/index.js

@@ -320,2 +320,5 @@ "use strict";

}
if (config.qsParams) {
qs += "&" + config.qsParams;
}
var lang;

@@ -338,2 +341,5 @@ if (parseRouteUrl) {

lang = routeParams.lang;
if (routeParams.qsParams) {
qs += "&" + routeParams.qsParams;
}
if (config.debug) {

@@ -340,0 +346,0 @@ console.log("DEBUG: parseRouteUrl() result", routeParams);

4

package.json
{
"name": "@sitecore-jss/sitecore-jss-proxy",
"version": "11.0.0",
"version": "11.0.1",
"description": "Proxy middleware for express.js server.",

@@ -44,3 +44,3 @@ "main": "dist/index.js",

"types": "types/index.d.ts",
"gitHead": "ae2766704a7edd3a746cdc3848a4f32cd70d2c1a"
"gitHead": "1d39504e4a861a8ce9e303a3f2701fb55fbd092d"
}

@@ -12,2 +12,4 @@ /// <reference types="node" />

apiKey: string;
/** Custom Query String parameters to send to Layout Service, e.g. sc_site=my-site&tracing=false */
qsParams?: string;
/**

@@ -14,0 +16,0 @@ * Array of paths to proxy without any SSR transformation (i.e. do not treat as app routes).

export declare type RouteUrlParser = (url: string) => {
sitecoreRoute?: string;
lang?: string;
qsParams?: string;
};
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