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

connect-openui5

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-openui5 - npm Package Compare versions

Comparing version 0.7.6 to 0.7.7

10

CHANGELOG.md

@@ -0,1 +1,11 @@

# 0.7.7 (2019-07-01)
### Fixes
- proxy middleware
- Removing 'secure' flag of cookies [#50](https://github.com/SAP/connect-openui5/pull/50)
### All changes
[`0.7.6...0.7.7`](https://github.com/SAP/connect-openui5/compare/0.7.6...0.7.7)
# 0.7.6 (2019-03-13)

@@ -2,0 +12,0 @@

5

lib/proxy.js

@@ -137,2 +137,3 @@ // Copyright 2019 SAP SE.

res.writeHead = function() {
var cookieSecurePattern = /;\s*secure\b/;
// We always filter the secure header to avoid the cookie from

@@ -145,7 +146,7 @@ // "not" beeing included in follow up requests in case of the

for (var i = 0; i < cookies.length; i++) {
cookies[i] = cookies[i].replace(';\s*secure\b', '');
cookies[i] = cookies[i].replace(cookieSecurePattern, '');
}
} else if (typeof cookies === 'string' || cookies instanceof String) {
// single cookie
cookies = cookies.replace(';\s*secure\b', '');
cookies = cookies.replace(cookieSecurePattern, '');
}

@@ -152,0 +153,0 @@

10

package.json
{
"name": "connect-openui5",
"version": "0.7.6",
"version": "0.7.7",
"description": "Connect middleware for OpenUI5",

@@ -32,3 +32,3 @@ "scripts": {

"extend": "^3.0.0",
"glob": "^7.1.2",
"glob": "^7.1.4",
"http-proxy": "^1.12.0",

@@ -38,7 +38,7 @@ "less-openui5": "^0.6.0"

"devDependencies": {
"connect": "^3.6.6",
"eslint": "^4.18.2",
"connect": "^3.7.0",
"eslint": "^4.19.1",
"mocha": "^5.0.4",
"serve-static": "^1.13.2"
"serve-static": "^1.14.1"
}
}
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