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

@lendi/lendi-app-bridge

Package Overview
Dependencies
Maintainers
50
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lendi/lendi-app-bridge - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

5

CHANGELOG.md
## [3.0.0] - 2019-08-22 - [HUB-422](https://creditandfinance.atlassian.net/browse/HUB-422)
## 3.1.0
- [minor] 26936e5:
- Add a logic for vendor, it should be Domain is the host contains dlf
### Changed

@@ -4,0 +9,0 @@

1

dist/index.js

@@ -68,2 +68,3 @@ "use strict";

case window.location.host.indexOf('domain') >= 0:
case window.location.host.indexOf('dlf') >= 0:
return 'Domain';

@@ -70,0 +71,0 @@ case window.location.host.indexOf('lendi') >= 0:

@@ -34,2 +34,7 @@ "use strict";

});
it('should return Domain if url host contains dlf', function () {
global.window.location = { host: 'https://team-dlf.lendi.com.au' };
var bridge = new _1.default('');
expect(bridge.vendor).toEqual('Domain');
});
it('should throw error if url host fails to match either lendi or domain', function () {

@@ -36,0 +41,0 @@ global.window.location = { host: 'https://testing.com.au' };

2

package.json
{
"name": "@lendi/lendi-app-bridge",
"version": "3.0.0",
"version": "3.1.0",
"description": "Library to share state between micro frontends and lendi-app",

@@ -5,0 +5,0 @@ "source": "src/index.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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