Socket
Socket
Sign inDemoInstall

@aller/blink-labrador

Package Overview
Dependencies
Maintainers
11
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aller/blink-labrador - npm Package Compare versions

Comparing version 8.22.0 to 8.23.0

12

lib/utils/__tests__/get-site.test.js

@@ -59,2 +59,14 @@ "use strict";

});
it('should work as dagbladet subdomain without www', function () {
expect(get_site_1.default('lommelegen.dagbladet.no')).toBe('www.lommelegen.no');
});
it('should work as dagbladet subdomain with www', function () {
expect(get_site_1.default('www.lommelegen.dagbladet.no')).toBe('www.lommelegen.no');
});
it('should work as dagbladet subdomain with stage', function () {
expect(get_site_1.default('lommelegen.stage.dagbladet.no')).toBe('www.lommelegen.no');
});
it('should work as dagbladet subdomain with stage-beta', function () {
expect(get_site_1.default('lommelegen.stage-beta.dagbladet.no')).toBe('www.lommelegen.no');
});
});

@@ -61,0 +73,0 @@ describe('sol', function () {

2

lib/utils/get-site.js

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

{ name: 'www.borsen.no', pattern: /.*b(o|ΓΈ)rsen.*\.no$/ },
{ name: 'www.lommelegen.no', pattern: /.*lommelegen.*\.no$/ },
{ name: 'www.oppskrift.no', pattern: /.*oppskrift.*\.no$/ },

@@ -22,3 +23,2 @@ { name: 'www.bergen.dagbladet.no', pattern: /.*bergen\.((stage|stage-beta)\.)?dagbladet\.no$/ },

{ name: 'localhost', pattern: /.*ngrok\.io$/ },
{ name: 'www.lommelegen.no', pattern: /.*lommelegen\.no$/ },
{ name: 'www.sol.no', pattern: /.*sol\.no$/ },

@@ -25,0 +25,0 @@ { name: 'www.kk.no', pattern: /.*kk\.no$/ },

{
"name": "@aller/blink-labrador",
"version": "8.22.0",
"version": "8.23.0",
"description": "Library for using blink on Labrador",

@@ -75,3 +75,3 @@ "main": "lib/main.js",

"dependencies": {
"@aller/blink": "^8.22.0",
"@aller/blink": "^8.23.0",
"@soldotno/aller-in-view": "^3.0.2",

@@ -91,3 +91,3 @@ "react": "^16.11.0"

},
"gitHead": "1ce9883e79876e50a83900412332ac91e1be5e73"
"gitHead": "76a5d782e1bc8882ca94a48b8266b4a52c10d60c"
}

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