@entur-partner/bff
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -1,2 +0,2 @@ | ||
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("express-http-proxy")),t=function(e,r){var t=Array.isArray(e)?e:[e];return{filter:function(e){return t.includes(e.method)&&function(e){return/(^undefined$)|(^Bearer .+$)/gim.test(e.headers.authorization||"")}(e)},proxyReqPathResolver:r,proxyReqBodyDecorator:function(e,r){return e},limit:(process.env.UPLOAD_LIMIT_MB||200)+"mb"}},n=function(e){return e.endsWith("/")?e.substring(0,e.length-1):e};exports.forwardingProxy=function(e){return function(o,u){return r.default(e,t(o,(function(){return n(new URL(e).pathname)+u.apply(void 0,arguments)})))}},exports.proxyConfig=t; | ||
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("express-http-proxy")),t=function(e,r){var t=Array.isArray(e)?e:[e];return{filter:function(e){return t.includes(e.method)&&function(e){return/(^undefined$)|(^Bearer .+$)/gim.test(e.headers.authorization||"")}(e)},proxyReqPathResolver:r,proxyReqBodyDecorator:function(e,r){return e},limit:(process.env.UPLOAD_LIMIT_MB||200)+"mb"}};exports.forwardingProxy=function(e){return function(n,o){return r.default(e,t(n,(function(){return((r=new URL(e).pathname).endsWith("/")?r.substring(0,r.length-1):r)+o.apply(void 0,arguments);var r})))}},exports.proxyConfig=t; | ||
//# sourceMappingURL=bff.cjs.production.min.js.map |
{ | ||
"name": "@entur-partner/bff", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"license": "EUPL-1.2", | ||
@@ -13,3 +13,3 @@ "main": "dist/index.js", | ||
"type": "git", | ||
"url": "https://bitbucket.org/enturas/entur-partner-packages.git", | ||
"url": "https://github.com/entur/entur-partner-packages.git", | ||
"directory": "packages/bff" | ||
@@ -42,3 +42,3 @@ }, | ||
}, | ||
"gitHead": "c691310480d1a3416eb5d2d2a3a7ceaba47ffda1" | ||
"gitHead": "d80524acda1e959d9f3d4002c664f9f8ce5ff74d" | ||
} |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
13593